Jump to content

How to get data of DataGridView


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 year later...

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. 

 

Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...