Public Sub DrawHeader(ByVal g As Graphics)
Dim ForeBrush As New SolidBrush(TheDataGrid.HeaderForeColor)
Dim BackBrush As New SolidBrush(TheDataGrid.HeaderBackColor)
Dim TheLinePen As New Pen(TheDataGrid.GridLineColor, 1)
......
datagrid does not have any property "HeaderForeColor"...it is Headerstyle.forecolor...there are atleast a few dozen such errors in the entire article...is there anyone here successfully using the piece of code by Mike Gold...
thanks in advance,
dinakarprinting a datagrid
i am trying to get the code posted by Mike Gold @ C-shaprcorner - Printing a Datagrid woking but am having some problems....to start with i dont know C#...am a vb guy...so i used a C# -> Vb.net converter and got the code in vb....
the article seems to be using a lot of properties of the datagrid that dont exist...for xample :
ssalterPosted Aug 4, 2004, 2:18 PM
ssalterPosted Aug 4, 2004, 2:15 PM
dinakarPosted Apr 19, 2004, 11:25 AM