Bind web forms datagrid to Dataset??

G

Guest

Can I bind a web form datagrid to a dataset? How would I do it at runtime?
Thanks,
VM
 
E

Eliyahu Goldin

Sure you can. Just assign datagrid properties DataSource and DataMember, add
columns for the fields and call DataBind();

HTH,

Eliyahu
 
G

Guest

Thanks. And is it possible to change the size of the columns and the column
headers when the grid is loading(at runtime)?

VM
 

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

Top