need immediate help

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)"
 
R

Rgarcia

What version of asp.net are you using? 1.1? 2.0?

Also, are you just not receiving any results or are you getting an
error?
 
W

webonomic

If the code hasn't been touched, it doesn't just suddenly stop working.
Something must have happened to the server or your own machine. Did
you upgrade from Asp.net 1.1 to 2.0? Did the button use javascript at
all and the client browser has javascript turned off? Did you install
a popup blocker and the button uses a popup?

Maybe try deleting your internet cache and Visual Studio cache and see
if you still get the problem.

You simply have to think of what has changed on your computer since you
last knew the code was working?

Either that, or somewhere and somehow the code did change. Maybe you
are accidentally using an old version of the code.

If you are using Asp.Net 2.0, it could be a DLL issue. Try using the
Web Deployment project
(http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/)
instead for compiling your projects.

This way you won't get mismatched DLL's.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top