Ejemplo n.º 1
0
    public static void SaveProdData(String prodname, String proddesc, String prodhsn, String prodprice)
    {
        // HttpContext is used here to access non static variable Session inside static method.
        decimal client_alias = Convert.ToDecimal(HttpContext.Current.Session["UserID"].ToString().Trim().Substring(0, 4));

        VPCRMSBAL.SaveProdData(client_alias, prodname, proddesc, prodhsn, prodprice);
    }