All options are open... How do I read from the bound datasource?
"Armin Zingler" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Eric Broers" <(E-Mail Removed)> schrieb
> >
> > Assume I have a datagrid, which is filled by an SQL statement (Select
> > * from Customer). The Customers table contains 4 columns and 10
> > rows.
> >
> > Now, I want to fill 10 strings with the datagrid rows. So, sting1
> > should become the first database row, string2 the 2nd, etc, etc
> >
> > So, I tried this:
> >
> > For i = 0 To MyDataGrid.Items.Count - 1
> > string1 = ????????????????????????
> > Next
> >
> > How do I read the datagrid and put it into a string? I hope someone
> > can help me out with this one.
>
> Why not read from the bound datasource?
>
>
> --
> Armin
>
> http://www.plig.net/nnq/nquote.html
> http://www.netmeister.org/news/learn2quote.html
>