编程语言

img iwebsms

创建表,创建行,创建列(VB.NET)

发表于2004/10/31 21:12:00  1546人阅读

        Dim dt As New DataTable

        dt.Columns.Add(New DataColumn("UserID"))

        dt.Columns.Add(New DataColumn("IPP"))

        Dim dr As DataRow = dt.NewRow

        dr.Item("UserID") = "324"

        dr.Item("IPP") = "210.74.232.26:3824"

        dt.Rows.Add(dr)

        MsgBox(dt.Rows(0).Item("IPP"))
阅读全文
0 0

相关文章推荐

img
取 消
img