Groups | Blog | Home
all groups > asp.net datagrid control > december 2004 >

asp.net datagrid control : Problem with DataGrid


Pham Duc Toan via .NET 247
12/22/2004 4:04:50 PM
(Type your message here)
I 've got a datagrid, set alternating item style and not set boder style. When I bound data into this, with some cell contain value = " " , its boder become lost and that view is bad. I want all cells have its boder with any conditions od value data.
I 've tried to set all boder style but it not work. I don't want to change my SQL to get data. Pls show me one way! Thanks!
--------------------------------
From: Pham Duc Toan

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

R. Thomas, aka Xtreme.Net
12/23/2004 11:23:02 PM
What you can do is to set all the Null values to a '-' or to a ' '(sapce)
instead of leaving them empty, that will solve your problem..
Hth..
AddThis Social Bookmark Button