|
-
Mar 31st, 2005, 03:29 PM
#1
Thread Starter
Lively Member
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
Last edited by TheKidd554; Apr 1st, 2005 at 08:15 AM.
-
Apr 1st, 2005, 03:14 AM
#2
Hyperactive Member
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")
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
Dr. Seuss 
-
Apr 1st, 2005, 08:15 AM
#3
Thread Starter
Lively Member
Re: Dataset and richtextbox question...
Thanks Lil Ms Squirrel....works great.
TheKidd
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|