The Grid View 'Grid View1' fired event Sorting which wasn't handled.The Grid View 'Grid View1' fired event Row Deleting which wasn't handled. When I say manually databinding I mean not using a data source control specified as a Data Source ID, but rather setting the Grid View’s Data Source equal to the appropriate data object and calling Data Bind. NET 2.0 are familiar with how to deal with this, but since ASP.After you've created a layout with a data control of your choice and eventually bound them to some datasource, you almost always want to get that data back out of them(and why wouldn't you, its your data).One thing you'll learn about developing webpages is that its like petting a porcupine (yikes).Grid View不可能一輩子只使用精靈（Sql Data Source）來搭配 一旦遇見要自己DIY、動手寫的情況，其實需要一些技巧。 第一，轉成樣版（Template），透過 . Controls處理 第三，透過 Row Updating事件裡面的參數e 第四，傳統的Request也能抓到。 昨天上課時，學生問起，我就把我目前使用的四種方法列出來，與大家分享 View "編輯"模式下，Text Box修改後的數值 對應書本「上集」第十章（ASP. Free counters Added on January 19,2012 Follow Me @vmsdurano A bit About Me Disclaimer The opinions expressed herein are my own personal opinions and does not represent the opinions of my employers.
Most of the data controls have events ending in ing and ed e.g. In most of the event handlers of the ing events it is easy to get the values from the event args.That's what Dev Express out-of-the box does without specifying the Edit Item Template.Protected Sub grid_Row Inserting(By Val sender As Object, By Val e As Dev Express.Nor does it represent the opinion of my dog, because I don’t have one.I know how to update with HTML, But I want in C# How To Update protected void Price Ep_Row Updating(object sender, Grid View Update Event Args e) How to Update with The Help Of Csharp. Regards atul singh in gridview property go to Events there doublic click of Row Updating Event which will automaticall redirect into code behind... But when i used it again this code it returns the old value... In the gridview i set the column for example City column into a template and set the name to txt City. EDIT: I made a little mistake in the previous post: the event handler is Row Updating; Row Updated won't trigger for the life of me. in the above code in "Text Box txtcity = (textbox)row.findcontrol("txtcity");" i'm getting the default value which is not updated, but not updated value. Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.