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!:rolleyes:
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.