The forecolor of datagridview’s first row can not be changed although i have set the datagridview’s

hello,every body!my question as follows first,i have set the datagridview’s DefaultCellStyle.ForeColor = SystemColors.InactiveBorder but,as i see in my program interface,The forecolor of datagridview’s first row is black. With grdCustomerInformation .DefaultCellStyle.ForeColor = SystemColors.InactiveBorder End With Dim row_1 As String() = New String() {“Name”} Me.grdCustomerInformation.Rows.Add(row_1) Dim row_2 As String() = New String() {“Address Line 1”} Me.grdCustomerInformation.Rows.Add(row_2) Dim row_3 …

Continue reading →

VB.Net 2003 – Window Application – Transfer Data into Microsoft WORD 2003 Document with Pre-Defined

Hi There, Need your help regarding transfer data from SQL DATAREADER into Microsoft WORD DOCUMENT Template with  pre-defined Table of 4 columns and 15 rows.   This is the error message that generated :- Object Reference not set to an instance of an object This scrpt caused the error:    .Cell(iRow, 1).Range.Text = sqlDR(“OrderId”)    .Cell(iRow, 2).Range.Text …

Continue reading →