How to get the datakeynames value in the rowupdating event

The Grid View control is the successor to the Data Grid and extends it in a number of ways.With this Grid View control, you could display an entire collection of data, easily add sorting and paging, and perform inline editing.For the ease of understanding, I have created BAL, DAL into the App_Code folder. pre 2) Can you post other similar article with Ajax? Because in practice we expect the delete to be performed with confirmation and also in details screen. Add new / Edit in 2 different tab panels - to have better usability. Regards, Sreedhar Thanks Vansree for your suggestions. Regarding pre class, I will let the webmaster know about it. As far as article on Ajax is concerned, I will try my best to post few articles on Ajax in coming days. Regards This is simpler example for 3-Tier Architecture.In real scenario, you should create separate projects for BAL, DAL (as Class Library) and UI (as Web project) and reference your BAL into UI. I wonder if you can come up with the same but using Ajax Tabs. Like having add button in Grid View will switch you to Tab Panel (Add new) and then perform the add ... But would like to see if you can come up with Tabs and your example above. I have one question about passing the data between layers.

From the following chapters you can see some important operations in ASP.

For this demo application, I have taken a very simple example. 1) Fix for the code block For the css 'pre', add new property 'min-width: 730px;' and add width nn percentage.

I am assuming that I have to play with record of persons (First Name, Last Name, Age) and I will refer only these data through out this article. just to give you flexibility to not show scroll bar for long screens.

So what you need to do is store the data source (maybe in Session) and only bind rebind the data when you absolutely need to (Like during the Is Not Post Back) Do you understand?

Please post the code for your Page_Load method and the that handles your Update (your C# code) so we can have a better look at what's going on. Please give some references and/or details of how to. This wipes out the data provided by the user during editing (editing happens after the page load).

409

Leave a Reply