Groups | Blog | Home
all groups > asp.net > december 2005 >

asp.net : What Control?


Paul Smith
12/10/2005 11:36:41 PM
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?

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

[quoted text, click to view]

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.

--
AddThis Social Bookmark Button