Southlis
»
Forum
»
Asp.net
»
DataTable
»
Thêm cột vào datatable
Rank: Administration
Groups: Administrators
Joined: 12/24/2017(UTC) Posts: 2,573
|
DataTable workTable = new DataTable("Customers"); DataColumn workCol = workTable.Columns.Add("CustID", typeof(Int32)); workCol.AllowDBNull = false; workCol.Unique = true; workTable.Columns.Add("CustLName", typeof(String)); workTable.Columns.Add("CustFName", typeof(String)); workTable.Columns.Add("Purchases", typeof(Double));
|
|
|
|
Southlis
»
Forum
»
Asp.net
»
DataTable
»
Thêm cột vào datatable
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.