DataGridView问题
Dim rs_login As New ADODB.Recordsetrs_login = New ADODB.Recordset
Dim qq As DataTable = New DataTable
rs_login.Open("select s_username from s_user ", cn, ADODB.LockTypeEnum.adLockOptimistic)
DataGridView1.DataSource = rs_login
DataGridView1.Columns.Add("aa", "dd")
DataGridView1.Columns("aa").DataPropertyName = "s_username"
运行后,为何不能显示S_USERNAME的数据出来,请帮忙,谢谢!