Try this,
Protected Sub grdvUser_RowDeleting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewDeleteEventArgs) Handles grdvUser.RowDeleting
strUserId = e.Keys.Item("UserID")
'Deleting References or batch
DeleteUser()
'Deleting User
SqlDtSrc.DeleteCommand = "DELETE FROM...
Try this,
Protected Sub grdvUser_RowDeleting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewDeleteEventArgs) Handles grdvUser.RowDeleting
strUserId = e.Keys.Item("UserID")
'Deleting User
SqlDtSrc.DeleteCommand = "DELETE FROM ct_users Where UserID='" &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.