Updating datagrid in asp net

Rated 4.72/5 based on 979 customer reviews

@bnkdev - Grid View inside a Grid View sounds like a total [email protected] - I suppose you're doing this for a certain scenario and you'll need to reuse it at some point, as unprobable as it may seem now.Since then I have received a number of emails from attendees asking me why I don't use Data Sets.Rather than responding to each questioner individually, I decided to write this article explaining my rationale.For demonstration I have created a database (named Database.mdf) in which we have a table named tbl_Employee.

Attach the to click event of the button and set your grid to edit/selected mode.Here is the screenshot of user interface: My question is, when user clicks loan button the loan may or may not be succesful.In both cases, i print a message indicating whether loan is succesful or not, and i also want the updated gridview to be displayed.Follow bellow steps to know how to work with Grid View in ASP. Now you can ask questions directly to me on my new site ASPForums.

Leave a Reply