Dataset and richtextbox question...[RESOLVED]
G'day,
I have a customer table with Name, Address, Phone, etc as columns. I've brought the data into my dataset via the selection criteria. How can I display that information about the customer in a richtextbox like this...
Name
Address
Phone
Postal Code
I'm just not sure how to display it in a richtext box. I'll keep searching on this site but haven't found anything yet.
Thanks a bunch
Kidd
Re: Dataset and richtextbox question...
Something like this:
VB Code:
RichTextBox1.Text = ds.Tables(0).Rows(0)("CustomerName")
RichTextBox1.Text &= Environment.NewLine
RichTextBox1.Text &= ds.Tables(0).Rows(0)("Address")
Re: Dataset and richtextbox question...
Thanks Lil Ms Squirrel....works great.
TheKidd