What Control?

P

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?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top