Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
53942 Points
8147 Posts
Dec 12, 2010 06:42 PM|LINK
You can get DataKey as
GridView1.DataKeys(your row Index).Value.ToString()
You may get the row index as row.RowIndex in your code.
sansan
All-Star
53942 Points
8147 Posts
Re: How do I get the datakey for a DataControlRowType.DataRow when a TemplateField is created in ...
Dec 12, 2010 06:42 PM|LINK
You can get DataKey as
You may get the row index as row.RowIndex in your code.