var result = (from c in products select c).OrderBy(x => x.ProductName).ToList();
var rec1 = (from ob in db.tbl_admission_master where (ob.class_div_id == x) orderby ob.roll_no select new { ob.roll_no, ob.tbl_registration_master.stud_name });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)