VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,889 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hi
I have a select row with two filters. He is not replying
need Output row 5 with MyDataTable.Select() ..
Always be healthy .thank
Dim MyDataTable As New DataTable
MyDataTable.Columns.Add("Group", GetType(Integer))
MyDataTable.Columns.Add("Level", GetType(Integer))
MyDataTable.Rows.Add(1, 100) '1
MyDataTable.Rows.Add(2, 70) '2
MyDataTable.Rows.Add(1, 60) '3
MyDataTable.Rows.Add(2, 50) '4
MyDataTable.Rows.Add(1, 40) '5
Dim DataRow() As DataRow = MyDataTable.Select("[Group]=1 And [Level]=Min([Level])") 'is Error
Hi
I can not get any error. Screenshot shows the result I get from exactly your code.