var token = UrlData[1];
var phone_no = UrlData[0]; var db = Database.Open("school"); var rquery = "select st.acno, st.name, sd.cclass, sd.section, cl.nclass from student st join stud sd " + "on st.acno = sd.acno join clist cl on cl.ccode = sd.cclass" + " where st.otele like '%" + phone_no.ToString() + "%' ";
if (1 > 0) { var data = db.Query(rquery); } db.Close();