I am a new ASP.NET developer and now I need to develop a data entry system with 15 fields that allow the admin of the system to enter some data under each one of these 15 properties. From what I learned in ASP.NET tutorial, I think the best control is the ListView control in order to give the admin of the system to enter a new field if he wants in the future. My problem now is the following: How to divide these 15 fields into two columns? Because all what I see about using ListView is putting all of the properties at the first row and the entries will be underneath of them. What I want is to create a list with two columns of properties and two columns for the entries
I'm not sure that a ListView
makes sense from your description. Are your administrators updating the same properties on different objects? Like most of the ASP.NET controls in its class -- the Repeater
and GridView
are other similar examples -- the ListView
is meant to create several rows of identical information based on an HTML template you provide.
If your administrators are creating or updating:
ListView
, Repeater
, or GridView
would be fine.TextBox
, HtmlSelect
or DropDownList
, CheckBox
, etc.)