Hi,
I have created a datacolumn as below.
dim arr()={A,B}
dtcol =
New DataColumn(" ")dt1.Columns.Add(dtcol)
For k = 0 To UBound(arr)dt1.Columns.Add(New DataColumn("Single Entry" ))
dt1.Columns.Add(
New DataColumn("Double Entry"))
Nextdtcol = New DataColumn("Single Entry")
dt1.Columns.Add(dtcol)
dtcol = New DataColumn("Double Entry")
dt1.Columns.Add(dtcol)
by using the above code i am trying to get the following output.but the problem is "when the loop executes it returns error code as 'The Single Entry datacolumn already exists' ".
So can anyone help me to solve this problem.