con.open(); oledb da=new oledbdataapter("select model Name from main where type='gates' and min<='"+textbox1.text+"' and max>='"+textbox2.text+"'",con); con.close();
try using this: select [model Name] from main where type='gates' and min<='"+textbox1.text+"' and max>='"+textbox2.text+"'"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)