Rowupdating findcontrol


06-May-2020 22:21

when I update the record It performs updation on the above row instead of desired row.Greetings; I have read several of the previous help questions on when the grid View Row Updating event doesn't fire. I subsequently changed the code behind to explicitly bind to the product table during Row Cancel and Row Edit events.In my VB Gridview, I had bind several column from datatable into one single column of the gridview. The following is the VB code: Protected Sub Grid View1_Row Editing(By Val sender As Object, By Val e As Grid View Edit Event Args) 'Set the edit index. Bind Data() End Sub Protected Sub Grid View1_Row Canceling Edit(By Val sender As Object, By Val e As Grid View Cancel Edit Event Args) 'Reset the edit index. Edit Index = -1 'Bind data to the Grid View control. But I have no idea how to get those value when doing Row Editing & Row Updating. Bind Data() End Sub Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) 'Retrieve the table from the session object. New Edit Index 'Bind data to the Grid View control. Bind Data() End Sub Private Sub Create Data Table() Dim cmd As New System.

Add(New Data Column("Col1_VL", Get Type(String))) dt. Add(New Data Column("Col1_ML", Get Type(String))) dt. Add(New Data Column("Col1_PH", Get Type(String))) dt. Add(New Data Column("Col1_APH", Get Type(String))) dt.

Add(New Data Column("Col1_TOIL", Get Type(String))) dt.

David I suggested that the Row Updating function was being blocked by the . Data Bind() in the Row Command event so that only the Edit command will activate it (take it out of Row Editing). Twice for Row Command (1 for Row Editing and 1 for Row Canceling) and once for Row Editing. I am going to try and create this not as a web application but rather as a website and see if I notice any differences.



He has achieved everything in his wonderful occupation and his amazing function has made him a million supporters.… continue reading »


Read more

Use a nickname of your choice and start chatting now.… continue reading »


Read more

A free profile is enough to at least see who’s out there. Goth Dating offers it’s members a full dating site experience created just for goth singles.… continue reading »


Read more

You can intimately sex chat, get naked on cam, and much more with these lustful strangers.… continue reading »


Read more