What's wrong in this SELECT statement

后端 未结 1 1416
执念已碎
执念已碎 2021-01-29 15:16
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim SQLData As New System.Data.SqlClient.SqlConnection(\"Data Source=.\\         


        
1条回答
  •  醉梦人生
    2021-01-29 15:43

    try changing your code to

    TextBox1.Text = String.Join(", ", table.AsEnumerable().Select(Function(r) r.Field(Of Integer)("seat_select")).ToArray()
    

    hope this helps

    0 讨论(0)
提交回复
热议问题