Dim st As StringFor Each dr As DataRow In DataTables("预览").Select("")If dr("代码").StartsWith(1) ''假如代码行的数值是以1开头的行.....End IfNext