R
RB
Hi there,
I'm pretty new to ASP.NET, and have a "best practice" sort-of question.
I'm programming for .NET 2.0, using VB.Net in Visual Studio 2002.
Basically, I've got a web-page which is designed to show data about
Tenants. It consists of a form showing 6 "boxes" of data, each relating
to an aspect of the tenancy (Client, Rent, Landlord, etc). Each box
contains 'n' pieces of information.
This information is currently displayed using a DataGrid, even though
the SQL data-source is returning only 1 row (as we are only looking at 1
tenancy at a time).
To my eyes, the code is too verbose and ugly (not helped by a HTML Table
-based implementation, but that's another story ;-)), and I was
wondering if there was a better way to write a page that would show 1
row of data, or if a DataGrid was actually the way to go about it.
Many thanks,
RB.
I'm pretty new to ASP.NET, and have a "best practice" sort-of question.
I'm programming for .NET 2.0, using VB.Net in Visual Studio 2002.
Basically, I've got a web-page which is designed to show data about
Tenants. It consists of a form showing 6 "boxes" of data, each relating
to an aspect of the tenancy (Client, Rent, Landlord, etc). Each box
contains 'n' pieces of information.
This information is currently displayed using a DataGrid, even though
the SQL data-source is returning only 1 row (as we are only looking at 1
tenancy at a time).
To my eyes, the code is too verbose and ugly (not helped by a HTML Table
-based implementation, but that's another story ;-)), and I was
wondering if there was a better way to write a page that would show 1
row of data, or if a DataGrid was actually the way to go about it.
Many thanks,
RB.