I am suppose to take the new values on row Updating command and fire it to database. I wrote an another page with little functionality, and it is working fine. Manager Protected Sub Page_Load(By Val sender As Object, By Val e As System. I am anable to understand what is wrong with my code. Partial Public Class Refernce Page Inherits System.
Grid View Command Event Args) Handles dgv_Ref Tables. Hence using Row Data Bound event, we can dynamically change the code value to some meaningful and easy to understand words.For example, consider a scenario of Meeting attendance. Find Control("chk Is Active"), Check Box) obj BORefered Table = BO. Added By = CType(Session("User Profile"), BOUser Profile). Find Control("txt Name"), Text Box) Dim chk Active As Check Box = CType(row. Selected Value) End If Catch ex As Exception Common. To String) End Try Bind Data() End Sub Protected Sub dgv_Ref Tables_Row Editing(By Val sender As Object, By Val e As System. Add To Refered Table(obj BORefered Table, ddl_Table Name. Selected Index Changed Bind Data() Direct Cast(Master. To Upper " Table" End Sub Private Sub dgv_Ref Tables_Row Canceling Edit(By Val sender As Object, By Val e As System. To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.