My gridview doesn't refresh!

Joined
Aug 2, 2007
Messages
3
Reaction score
0
It's me again! I have a big problem.

My gridview is bound to a xmldatasource.
I have a button "search" : when I click on it, the xmldatasource is constructed with textboxes and dropdrownlist contents, and this xmldatasource is bound to my gridview :
myGridView.DataSource = myXmlDataSource;
myGridView.DataBind();

the problem is that, when I click for the first time on my button search it's ok, but the other ones my gridview doesnt refresh.
Any idea?
thanks
 

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,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top