Wednesday, December 11, 2013

การดึงข้อมูลจาก DataTable โดยระบุ Cell ที่ต้องการ

    
Dim sample as String = dt.Rows(0)(1).ToString()

หรือ
    Dim sample as String = dt.Rows(0)("ColumnName").ToString()

No comments:

Post a Comment