Dim xms() As string = {"梁平中学","红旗中学","第一中学"} for Each xm as string in xms Dim drs As List(Of DataRow) drs = DataTables("中招报名数据").Select("[实验班志愿] = '" & xm & "',[总分]>= ? ") For Each dr As Datarow In drs dr("录取学校") = xm next next 我想[总分]<= ?的“?”号是个变量,一是实验班志愿等梁平中学的前第480名的总分,二是实验班志愿等红旗中学的前第280名的总分,三是实验班志愿等第一中学的前第180名的总分。 求各位帮助解决