By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,667 Members | 1,283 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,667 IT Pros & Developers. It's quick & easy.

Bind web forms datagrid to Dataset??

P: n/a
Can I bind a web form datagrid to a dataset? How would I do it at runtime?
Thanks,
VM
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


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

HTH,

Eliyahu

<VM> wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl...
Can I bind a web form datagrid to a dataset? How would I do it at runtime?
Thanks,
VM

Nov 13 '05 #2

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

VM
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:OD**************@TK2MSFTNGP10.phx.gbl...
Sure you can. Just assign datagrid properties DataSource and DataMember, add columns for the fields and call DataBind();

HTH,

Eliyahu

<VM> wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl...
Can I bind a web form datagrid to a dataset? How would I do it at runtime? Thanks,
VM


Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.