Once you get the other fields updating, the dropdown list should update with no problems, since you are using Bind().I would check the List Data Source Update function and make sure it is working properly. I thought perhaps because it was in a Web User Control, that is why I couldn't debug. Row Index; so i contain rowindex now u can update appropriate row according to u r Stored Procedure 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 Thank you very much Sri Lakshmi Infact i had posted a query regarding the same a few backs ago.What I have is a Grid View inside a Web User Control.
I tried to populate a text box to see if it was firing.In my Grid View I have created an Edit Item Template that has a Drop Down List.The Drop Downlist is populated via an Object Data Source. When the user edits a row, they can select from a drop down list from the look up values and populate the Grid View Row which is bound to a different data source.' Assumes that connection is a valid Sql Connection object. Dim cust Adapter As Sql Data Adapter = New Sql Data Adapter( _ "SELECT Customer ID, Company Name FROM Customers", connection) ' Add handlers. Row Updating, New Sql Row Updating Event Handler( _ Address Of On Row Updating) Add Handler cust Adapter. Row Updating, _ New Sql Row Updating Event Handler(Address Of On Row Updating) Remove Handler cust Adapter. I took the code out of the user control and put it into the page and it all worked, and you were right. to modify update behavior before it happens, to provide additional handling when an update will occur, to retain a reference to an updated row, to cancel the current update and schedule it for a batch process to be processed later, and so on. I changed the autopostback so the value is now false I removed the On Selected Index Changed event handler The weird thing now is that I can't catch the breakpoint set in my Gridview On Row Updating event handler I able to catch the event before.I will attach the code in case there is something I have missed My mistake, the Row Updaing is firing.I did this because I could not put a breakpoint on the below event hander "The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years.I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.