What Control?

  • Thread starter Thread starter Paul Smith
  • Start date Start date
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?
 
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

Similar Threads

Form to edit XML records 5
DataRow 1
Dataset to Generic.List(Of MyClass) 4
Conditional Formatting 1
Gridview, DataList or Repeater 3
Query design 0
When to use of DataList and Repeater ? 2
Group By Question 1

Back
Top