For Each r as Datarow in DT.Asenumerable r(“S_No”)=DT.Rows.index(r)+1 Next r
Use This Query in Invoke Code