ButtonColumn postback problem

G

Guest

I have a button column in a datagrid. When a button is clicked on I want it to use it's value as a variable a new SQL query that will repopulate the datagrid

The problem is that the DataGrid.ItemCommand method only seems to fire if the datagrid is rebound in the page_load method. Apart from being inefficient it also causes duplicate columns in my datagrid

Can anyone tell me where I'm going wrong here

Thanks in advance, John.
 

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

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top