请问怎样在ables插入一行
Dim mydataset As New DataSet
Dim da As New SqlClient.SqlDataAdapter
Dim rs As String = "select aa,bb from s_matpart"
da.SelectCommand = New SqlClient.SqlCommand(rs, conn)
da.Fill(mydataset)
mydataset.Tables(0).Rows.Add()
我想在mydataset.Tables(0)增加一行,并赋值进去,请问怎样操作
DataGridView1.DataSource = mydataset.Tables(0)
但是我不想增加一行,我想在规定行号插入一行
mydataset.Tables(0).Rows.Add()这条语句怎么改呢