TipGiver
Programmer
- Sep 1, 2005
- 1,863
Hi,
I am working on this since yesterday, and i cannot seem to get it working.
I have a sqlDatasource and a GridView bound to it. I also have a button appended at the end. In the RowCommand event handler i may know what was the rowIndex of the button that i clicked on (e.CommandArgument).
How can i get a single cell ? I am trying something like:
me.gridview1.rows(e.commandargument).columns("id")
The red do no exist.
The ID is the name a a hidden column in the gridview, and it is the primary key.
I have also added the ID to the gridview's datakeynames collection.
Any ideas?
Thanks
I am working on this since yesterday, and i cannot seem to get it working.
I have a sqlDatasource and a GridView bound to it. I also have a button appended at the end. In the RowCommand event handler i may know what was the rowIndex of the button that i clicked on (e.CommandArgument).
How can i get a single cell ? I am trying something like:
me.gridview1.rows(e.commandargument).columns("id")
The red do no exist.
The ID is the name a a hidden column in the gridview, and it is the primary key.
I have also added the ID to the gridview's datakeynames collection.
Any ideas?
Thanks