Hi, i have this datatable dt3 which looks like:
ADminNo PaperNo
111411H 3
111411H 18
172828z 3
172828z 18
111380Y 93
111938S 10
How to i get something like:
ConflictingPaper Numberofstudents AdminNo
3 : 8 2 111411H
172828z
so on and so forth.
to populate in a datagridview.
i tried something like:
Dim curadminno As String = String.Empty
curadminno = dr3("AdminNo").ToString
Dim z, k As Integer
For z = 0 To dt3.Rows.Count
If dt3.Rows(z).Item(0) = curadminno Then
DataGridView3.Rows.Add(String.Format("{1}:{1}", _
dr3("PaperNo").ToString()))
its wrong though.
appreciate if anyone could help me out with this!
Thanks!