GridView And SqlDataSouce

R

rony_16

Hi,
I am trying to build GridView that will use the option of sorting and
paging by allowing CallBack property in the GridView.
The problem that i found that if i want to add columns in code
behind, the callback option is disabled.
the callback does work if i add the columns in the GridView wizard.
does any one know how to add the columns in code behind and enable the
callback property?

and one more question,
why can't i create the sqldatasource in code behind and not dragging it
from the tool bar?

Thanks, Rony
 

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,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top