C
cr113
I'm trying to convert a windows app to ASP.NET using VS2005. I have
some web experience, but not much. 99% of the time if I need to
display data in a table in my windows apps I use a ListView object and
populate it manually using code like this:
ListView1.Items.Add("Jones")
ListView1.Items(ListView1.Items.Count - 1).SubItems.Add("123")
The result of this code would be a row added to the ListView like
this:
Jones 123
I have had terrible luck with data bound objects. I hate not having
manual control. There always seems to be a case where a simple SQL
statement is not enough to populate my ListView object (crazy users
maybe?). Am I the only one who likes populating list objects manually?
Anyway here's my question. I'm wondering if there is an ASP.NET
control in VS2005 that works similar to the ListView object (found in
VS2005 Windows Application) and will allow me to manually populate the
list without data binding. Maybe the GridView or the DataList?
some web experience, but not much. 99% of the time if I need to
display data in a table in my windows apps I use a ListView object and
populate it manually using code like this:
ListView1.Items.Add("Jones")
ListView1.Items(ListView1.Items.Count - 1).SubItems.Add("123")
The result of this code would be a row added to the ListView like
this:
Jones 123
I have had terrible luck with data bound objects. I hate not having
manual control. There always seems to be a case where a simple SQL
statement is not enough to populate my ListView object (crazy users
maybe?). Am I the only one who likes populating list objects manually?
Anyway here's my question. I'm wondering if there is an ASP.NET
control in VS2005 that works similar to the ListView object (found in
VS2005 Windows Application) and will allow me to manually populate the
list without data binding. Maybe the GridView or the DataList?