Dim ncategoryID As Integer = CType(e.Item.FindControl("Label2"), Label).Text
Dim prodchknew As Boolean = CType(e.Item.FindControl("CheckBox1"), CheckBox).Checked
Dim ID As Integer
ID =
CType(e.Item.FindControl("label2"), Label).Text
If e.CommandName = "Update" Then
myconnection =
New SqlConnection("*********************************")
Dim strsql As String
strsql = "Update Mes set gorusmeOK='" & prodchknew & "'" & _
"where kayID=" & ID
mycmd =
New SqlCommand(strsql, myconnection)
myconnection.Open()
mycmd.ExecuteNonQuery()
myconnection.Close()
DataGrid1.EditItemIndex = -1
bind()
End If
srkadaşlar burda update ediyoru sorun yok ama sayfayı neden -1 dedigim halde kapatmıyor ve kodu yeniden derleyip çalıştırıyorum başka bir kayıt seçip checkbox doldurmak istedigimde bana bir önceki düzelttigim alannı açıyor ilk defa böle sorunla karşılaştım