Exemplo n.º 1
0
        protected void GetVendorRatecard()
        {
            iCompanySetupClient vendor = new iCompanySetupClient();

            try
            {
                CustomProfile profile = CustomProfile.GetProfile();
                string        Type    = "Vendor";
                grdratecard.DataSource = vendor.GetVendorRateByVendorID(Convert.ToInt64(HdnAccountId.Value), Type, profile.DBConnection._constr);
                grdratecard.DataBind();
            }
            catch (System.Exception ex)
            {
                Login.Profile.ErrorHandling(ex, this, "Vendor Master", "GetVendorRatecard");
            }
            finally
            {
                vendor.Close();
            }
        }