תרגום מ DATASET ל- DATAREADER

amera

New member
תרגום מ DATASET ל- DATAREADER

תרגום מ DATASET ל- DATAREADER יש לי את השורות הבאות
Loop through the rows of the DataTable For i = 0 To ds.Tables(0).Rows.Count - 1 curCat = ds.Tables(0).Rows(i).Item("CategoryName") If curCat <> prevCat Then prevCat = curCat 'Create a new row Dim shRow As DataRow = ds.Tables(0).NewRow shRow("ProductName") = ds.Tables(0).Rows(i).Item("CategoryName") shRow("UnitPrice") = "SubHead" ds.Tables(0).Rows.InsertAt(shRow, i) End If Next i​
איך אני הופך אותם לאותו הדבר עם DATAREADER
 

אלדד28

New member
הפורום הזה עקרונית לא מכסה את VB,

ל-VB יש פורום שמיועד לה ספציפית.
 
למעלה