StuckInTheMiddle
Programmer
I have a simple aspx page with a datagrid which I create via VB.NET code. So far so good
The grid gets bound to my dataset and added to the page and looks looks great in IE when viewed (no border), but print it and it has a black border.
Is there a way of setting "border=0" on the datagrid? I've tried to use
mygrid.BorderStyle = BorderStyle.None
mygrid.BorderColor = System.Drawing.Color.White
with no luck (mygrid.Borderwidth didnt work either). I also tried some
CSS stylesheet properties with little success.
Has anyone come across this before?
(The more ASP.NET I do, the more Javascript I find myself using)
The grid gets bound to my dataset and added to the page and looks looks great in IE when viewed (no border), but print it and it has a black border.
Is there a way of setting "border=0" on the datagrid? I've tried to use
mygrid.BorderStyle = BorderStyle.None
mygrid.BorderColor = System.Drawing.Color.White
with no luck (mygrid.Borderwidth didnt work either). I also tried some
CSS stylesheet properties with little success.
Has anyone come across this before?
(The more ASP.NET I do, the more Javascript I find myself using)