I want tos so insert usring geridview
Textbox and button in gridview
what is the evant I can use for this
I try to do this : Id button image :add
when click on button image show evane add and write this code :
Protected Sub add(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
Dim control As Control = Nothing
If (Not (Gvpay.FooterRow) Is Nothing) Then
control = Gvpay.FooterRow
Else
control = Gvpay.Controls(0).Controls(0)
End If
Dim lbl As Label
Dim txt As TextBox
Dim value As Integer
Dim id As Integer
Dim datet As String
Dim per As Integer
lbl = CType(control.FindControl("lblid"), Label)
id = lbl.Text.Trim
txt = CType(control.FindControl("Txtdate"), TextBox)
...
Go to the complete details ...