Home All Groups Group Topic Archive Search About
Author
10 Dec 2005 11:36 PM
Paul Smith
I have fathomed out how to create a DataSet that contains a record with
various fields.  Okay maybe I should be using a DataView but I have not got
that far yet.

I now wish to display the various fields of this record at different places
on my page.  I do not want to show them as a DataGrid, and I cannot see how
a DataList will help as I only have one record.  IF anyone is unsure what I
am looking to do image a windows form with text boxes displaying the various
fields of the record, and transfer this to a web page.

I have tried setting the text property of a label, is this really the best
way to go to have control over the font, size, colour etc. of my output?

Author
11 Dec 2005 1:12 AM
Spam Catcher
"Paul Smith" <p**@twelve.me.uk> wrote in
news:439b668f$0$18528$ed2619ec@ptn-nntp-reader02.plus.net:

> I now wish to display the various fields of this record at different
> places on my page.  I do not want to show them as a DataGrid, and I
> cannot see how a DataList will help as I only have one record.  IF
> anyone is unsure what I am looking to do image a windows form with
> text boxes displaying the various fields of the record, and transfer
> this to a web page.

You'll have to create a webform, and place several labels and format the
output yourself.

Also, since you're just starting with .NET, don't do SELECT * FROM TABLE
with dataset - this gobbles memory if you have a lot of records.

--
Stan Kee (spamhoneypot@rogers.com)

AddThis Social Bookmark Button