Click here to Skip to main content
15,897,518 members

Comments by george@84 (Top 17 by date)

george@84 24-Feb-23 6:16am View    
This helped me to implement successfully
george@84 27-Jul-17 2:57am View    
But I am using shared datasource connection which is used in all ssrs reports
george@84 1-Mar-16 1:18am View    
How to do this? If I pass , (comma) as decimal separator and . (dot) as thousand separator as parameters, It should display the number with those decimal separator and thousand separator.
george@84 9-Oct-14 0:41am View    
It is working in IE but not in firefox.
george@84 1-Jul-14 7:25am View    
the following is the code
DataSet DS = new DataSet();

DataSet DSUSERLEVEl = new DataSet();
DataSet DSUSERLEVElOUTLET = new DataSet();

DSUSERLEVEl = objLogin.getPSFLogin(txtUserName.Text.Trim(), txtPassword.Text.Trim());


if (DSUSERLEVEl.Tables.Count > 0)
{


Session["PSFusrCode"] = DSUSERLEVEl.Tables[0].Rows[0]["usrCode"].ToString();



Session.Add("Module", Convert.ToString(Session["Module"]));


Session["PSFUserType"] = DSUSERLEVEl.Tables[0].Rows[0]["ulName"].ToString();
Session["PSFUName"] = DSUSERLEVEl.Tables[0].Rows[0]["usrName"].ToString();

Session["PSFOutlet"] = DSUSERLEVEl.Tables[0].Rows[0]["usrOutlet"].ToString();



Response.Redirect("PSFDashBoard.aspx");
}
public DataSet getPSFLogin(string username, string password)
{
return objUserlevel.getPSFLogin(username, password);
}
public DataSet getPSFLogin(string usr, string pwd)
{
List param = new List();

param.Add(new SqlParameter("@USERNAME", usr));
param.Add(new SqlParameter("@PASSWORD", pwd));
return DBFUNCTIONS.FILL_DATASET_FROM_SP("USP_INS_GET_PSF_LOGIN", param);
}