T
tushardave
i am working on asp.net some time ago i devlope grid with
(edit,update,cancle) button column
it is working fine but after some time when i am click on "edit" it not
working
how can i solve these problem ?
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
code : (aspx.vb)
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not IsPostBack Then
showgrid()
End If
End Sub
Public Sub showgrid()
Dim qry As String
Dim ds As New DataSet
qry = "select * from (table name)"
Dim adp As New OleDb.OleDbDataAdapter(qry, con)
adp.Fill(ds)
DataGrid1.DataSource = ds
DataGrid1.DataBind()
End Sub
Private Sub DataGrid1_EditCommand(ByVal source As System.Object,
ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs)
DataGrid1.EditItemIndex = e.Item.ItemIndex
showgrid()
End Sub
End Class
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
some time before it is working fine without any problem
" No change in code"
these is work fine but now these not give me any output
if any solution give me reply
"(e-mail address removed)" and "(e-mail address removed)"
(edit,update,cancle) button column
it is working fine but after some time when i am click on "edit" it not
working
how can i solve these problem ?
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
code : (aspx.vb)
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not IsPostBack Then
showgrid()
End If
End Sub
Public Sub showgrid()
Dim qry As String
Dim ds As New DataSet
qry = "select * from (table name)"
Dim adp As New OleDb.OleDbDataAdapter(qry, con)
adp.Fill(ds)
DataGrid1.DataSource = ds
DataGrid1.DataBind()
End Sub
Private Sub DataGrid1_EditCommand(ByVal source As System.Object,
ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs)
DataGrid1.EditItemIndex = e.Item.ItemIndex
showgrid()
End Sub
End Class
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
some time before it is working fine without any problem
" No change in code"
these is work fine but now these not give me any output
if any solution give me reply
"(e-mail address removed)" and "(e-mail address removed)"