problem about datagrid

A

angus

Hello all,

I have a problem in using the DataGrid.

In my web form, i've put a <asp:button/> button, if it is clicked, a
function will be called to connect to the database, get the data and return
as a dataset. Finally, a DataGrid will be "binded" by the DataSet.

that is....something like
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtSubmit.Click

myDataGrid.DataSource = db.getDataSet()

myDataGrid.DataBind()

End Sub

i find that it works prefectly for the first time, however, after the first
time, the button doesn't have any response even i click it again and again

Regards,
Angus
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top