Different DataGrid

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.
 
W

wmain

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.
 
W

wmain

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.
 
R

rn5a

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top