dim a as new sqlcommand a.commandtext="select a,b from table1 where a=xxx" 'a=int b=varchar a.connction=me.sqlconnction1 me.sqlconnction1.open dim id as integer '用于接受a的值 dim user as string '用于接受b的值 <请问应该怎么进行,如何将a,b值给id和user> me.sqlconnction1.close
dim a as new sqlcommand a.commandtext="select a,b from table1 where a=xxx" 'a=int b=varchar a.connction=me.sqlconnction1 me.sqlconnction1.open dim id as integer '用于接受a的值 dim user as string '用于接受b的值 <请问应该怎么进行,如何将a,b值给id和user> me.sqlconnction1.close