public ActionResult GetSourceList(int iType) { //CRM.Models.clsSubmitModel oSubmit = new CRM.Models.clsSubmitModel(); List <studdet> lstFollow = oSubmit.GetSourceList("Select studType, studCode ,dbo.ProperCase(studName)studName ,studadd1 from studdet where studtype = " + iType); return(Json(lstFollow, JsonRequestBehavior.AllowGet)); }