Jump to content
Sunilr25

How to get data of DataGridView

Recommended Posts

Sunilr25

I am trying to automate the windows application which contains the grid view controls in it, is there any way I can access the data from the grid view and click on the row item of the grid view?

Please let me know if we have any approach for this?

Share this post


Link to post
Share on other sites
KickStarter15

Hi,

Have you tried searching in forums? this was discussed repeatedly and most probably you can get some information here and this.

Hoping someone in this forum can assist you more.^_^

 

KS15


Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.

Share this post


Link to post
Share on other sites
xian_lhm

Hi,

I have the same trouble with GridView. I want to get the text in GridView that created by other program. I had  searched in forum but didn't find any helpful information. It seems autoit script can not get handle of GridView.Thanks for  any suggestion. 

 

Share this post


Link to post
Share on other sites
LarsJ

A GridView is not a standard control and cannot directly be automated with standard functions. But it can be automated with UI Automation code.

If you google this way

uiautomation grid site:autoitscript.com

you'll get 50 results. Try this in first place and take a look at some of the results.

In relation to UI Automation code the control handle is not that important.

Share this post


Link to post
Share on other sites
xian_lhm

Appreciated for your information. I need times to study those  articles. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×