Data Grid Display Issues

J

J. Babe

In my ASP.NET project I am creating an invoice. I add the items in my
invoice to a datagrid (I'll call it dg). However, I am having some
display issues. The following line should write "Total" in the footer,
but nothing appears, I'm wondering why

dg.Columns(2).FooterText = "Total"

I also can't make a border appear in the header of the table

dg.HeaderStyle.BorderColor = Drawing.Color.Black
dg.HeaderStyle.BorderStyle = BorderStyle.Ridge
dg.HeaderStyle.BorderWidth = Unit.Pixel(20)

And i can't make the first row in the grid blank, if I add a blank row
to the DataTable that is the Datagrid's source, the first row in the
datatable still contains information.
 

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,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top