|
-
Jun 29th, 2004, 04:48 AM
#1
Thread Starter
Lively Member
what is the .text property of a column in a datagrid?
hi! i'm wondering if anybody knows the .text property of a column in a datagrid?
i've searched the internet as well as the forum but unfortunately i didn't found any answer...
i'm trying to retrieve the content of a cell in my datagrid and i don't know how to do it.
please advise me on this soon! thanks and i'm counting on you guys!
-
Jun 29th, 2004, 04:59 AM
#2
VB Code:
DataGrid1.Item(rownum, colnum).ToString()
-
Jun 29th, 2004, 05:17 AM
#3
Junior Member
Indexer is wht you are looking for
The rows and columns are as collection in the new grid.
DataGrid1.Item(rownum, colnum).ToString()
The above code uses the indexer of the grid. The indexer is that helps you get in the text in a particular cell. The grid architecture works this way now not rows and columns just the indexer.
Give me a place to stand and I will move the Earth 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|