Newbie Webform Datalist Question

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I am just beginning C# after being in Powerbuilder for many years. I

have a web application that displays information on a datagrid. After

a user clicks on the datagrid, a new webform to displays with more

detailed information about that record. There are 25 fields that need

to be displayed. I have tried to use the datalist but seems

cumbersome. It's not easy dragging and aligning textboxes and labels.



Should I be using the datalist or just drag textboxes and labels and

bind them to my dataset?



There's more than one way to display the information but looking for

suggestions. I don't want to use another datagrid due to the fact it

displays info horizontally.



Thanks

Mike
 
I don't quite understand, the detailed information, is this one row of data,
or multiple rows of data? If it's one row, then just textboxes is fine. If
it's multiple rows of data, there is no way to know how many textboxes, etc,
to display, since you can't know how many rows ahead of time. In that case
if a datalist is too much trouble, you can use another datagrid.

Also, as far as aligning things, I would suggest you put just a regular
<table> inside the datalist template, and then put all labels/textboxes into
rows and columns, which will do all the alining for you.
 
Back
Top