Question : Datagrid columns are jumbled up when there are no rows (ASP.NET C#)

Hi,

I have a datagrid whose column headings appear together without any space when there are no rows in the datagrid.

Column heading appears fine when there are rows.

How to ensure proper spacing in column heading when there are NO rows?

Please check attached PPT for details.

Thanks!

Answer : Datagrid columns are jumbled up when there are no rows (ASP.NET C#)

What I have changed is  .. changed the width of Header in follwoing columns

 
                                                            Font-Italic="False" Font-Overline="False" Font-Size="10pt"
                                Font-Strikeout="False" Font-Underline="False" />
                                                            Font-Overline="False" Font-Size="10pt" Font-Strikeout="False"
                                Font-Underline="False" />
                       



 
                                                            Font-Italic="False" Font-Overline="False" Font-Size="10pt"
                                Font-Strikeout="False" Font-Underline="False" />
                                                            Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                Font-Strikeout="False" Font-Underline="False" ForeColor="DimGray"
                                Font-Size="10pt" />
                       
Random Solutions  
 
programming4us programming4us