DataGrid dynamic columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

If I have a datagird with a number of columns, say 3, and then I add another
one dynamically, obviously it will have no data, what's the best way to get
the data, do I have to rebind?

Thanks all,

Jon
 
Jon said:
Hello all,

If I have a datagird with a number of columns, say 3, and then I add
another one dynamically, obviously it will have no data, what's the
best way to get the data, do I have to rebind?
Yes.
 
Jon said:
Hello all,

If I have a datagird with a number of columns, say 3, and then I add
another one dynamically, obviously it will have no data, what's the
best way to get the data, do I have to rebind?
Of course, you could loop through the roes and populate the cells yourself
....
 

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

Back
Top