Different DataGrid

  • Thread starter Thread starter rn5a
  • Start date Start date
R

rn5a

Please have a look at this URL (it won't take even 5 seconds to
download):

http://rn5a.brinkster.net/Page1.html

I want a DataGrid to render itself like the HTML table shown in the
above URL. How do I do it?

Note that the text under the second column are actually retrieved from
a MS-Access database table.
 
Please have a look at this URL (it won't take even 5 seconds to
download):

http://rn5a.brinkster.net/Page1.html

I want a DataGrid to render itself like the HTML table shown in the
above URL. How do I do it?

Note that the text under the second column are actually retrieved from
a MS-Access database table.

I believe that this is a detailsview, not a gridview.
 
Do you mean to say it can be done only with a DetailsView & not with a
DataGrid or GridView?

Yes, the layout of the gridview is column based while the detailsview
is row based.
 
Yes, the layout of the gridview is column based while the detailsview
is row based.- Hide quoted text -

- Show quoted text -

Thanks a lot for the suggestion wmain. It does serve my purpose but
there's a petty issue which is driving me crazy since last couple of
days. The problem is with the bordercolor & the borderwidth of the
rows under the 2nd column in the DetailsView. I could successfully
change the bordercolor & borderwidth of the 1st column using
FieldHeaderStyle-BorderColor & FieldHeaderStyle-BorderWidth
respectively but irrespective of what I use (like RowStyle,
AlternatingRowStyle, CommandRowStyle, EditRowStyle, FooterStyle,
HeaderStyle, PagerStyle etc.), the bordercolor & the borderwidth of
the rows under the 2nd column in the DetailsView simply refuse to
change. I even tried using the CssClass property of the DetailsView
but in vain.

Any idea how do I overcome this irritating problem?
 
Back
Top