Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
レコードしかない構造でリピーターをバインドする必要があります。データテーブルはすでに入力されています。datarowまたはdatarowviewでバインドしようとしましたが、バインドできません。何か提案がありますか?
そのためにLinqクエリを使用できますか?もしそうなら、データテーブルの最初の行を選択するためのクエリを教えていただけますか?
これを試して
Dim drList As New List(Of DataRow) drList.Add(myDataTable.Rows(0)) 'add the first row in the datatable myRepeater.DataSource = drList