How can styling attributes be removed from a gridview

W

whoogveld

I want to remove the styling attributes from a table which is generated
out of gridview.

If I run a page run a gridview I always seem to get the following
attributes which I don't want because the styling will be done with
css.

<table cellspacing="0" rules="all" border="1" id="GridView2"
style="border-collapse:collapse;">

Does somebody know how I can remove the border, rules and style
attribute from the table which is generated by a gridview.
I'm using asp.net 2.0.

Regards,
Willem
 

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

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top