private bool checkAppKey(string userid, string appID) { clsLogin objda = new clsLogin(); DataSet ds = new DataSet(); objda.loginid = userid; objda.password = appID; objda.action = "checkAppKey"; ds = objda.Mob_Login(); if (ds.Tables[0].Rows.Count > 0) { return(true); } else { return (false); } }
public void GetLogin(string loginid, string password, string companyID, string deviceID) { clsLogin objda = new clsLogin(); DataSet ds = new DataSet(); objda.loginid = loginid; objda.password = password; objda.action = "checklogin"; objda.deviceID = deviceID; objda.company = companyID; ds = objda.Mob_Login(); if (ds.Tables[0].Rows.Count > 0) { ResponseData(objGen.serilizeinJson(ds.Tables[0])); } else { ResponseData("[]"); } }