Home All Groups Group Topic Archive Search About
Author
22 Mar 2005 4:11 PM
anonymous
How do store text from text boxes in dataset?

Author
22 Mar 2005 4:22 PM
Eliyahu Goldin
Both are controls exposing some useful members for accessing their data.
Read the textboxes text, create datatable rows, set cells to the text
obtained from the textboxes, add the rows to the tables and you are done.

Eliyahu

Show quoteHide quote
"anonymous" <anonym***@discussions.microsoft.com> wrote in message
news:289101c52ef9$c8ce39e0$a401280a@phx.gbl...
> How do store text from text boxes in dataset?
Author
22 Mar 2005 4:47 PM
anonymous
I took your advise and that is what I come with. I think I
can dot this with less code? if so can you help me
dr = dt.NewRow()
            dt.Rows.Add(dr)
            dr(0) = insCompany
            dr = dt.NewRow()
            dt.Rows.Add(dr)
            dr(0) = Type
            dr = dt.NewRow()
            dt.Rows.Add(dr)
            dr(0) = Company
            dr = dt.NewRow()