Rowupdating get id
@eclipsed4utoo: Then you have not truly delved into Grid Views, grasshopper.Many a times in our applications we use primary keys to get control of the particular record in the gridview.
I had a assignment I need to show only description and not ID. By using Datakeynames property you will get the selected row primary key. Whois FROM tb_entity INNER JOIN tb_comments ON tb_= tb_comments.I think you're referring to Item template you have an alternative solution to this one then i'm all would be alot easier for me if i'll be using smart tag.For this situation, many developers use invisible columns (Hidden columns) in the gridview to identify that row.
Is Bound Using Data Source ID; Grid View Update Event Handler handler1 = (Grid View Update Event Handler) base.
But for this demo, I’ll show you the simple version, that also doesn’t work 🙂Let’s bind the data to our Grid View and have it autogenerate our columns, as well as an edit button.