コード例 #1
0
        private void BindPendingSpRequests()
        {
            Dictionary <string, object> inputParam = new Dictionary <string, object>();

            inputParam.Add("pbranch_id", string.Empty);
            inputParam.Add("prequest_id", string.Empty);
            inputParam.Add("prequest_status_id", 99);
            inputParam.Add("pregistration_no", string.Empty);
            //inputParam.Add("psanchay_patra_no", string.Empty);
            inputParam.Add("pcustomer_name", string.Empty);
            inputParam.Add("pcustomer_mobile_no", string.Empty);
            DataTable dtab = spManager.GetRspMasterData(inputParam);

            pendingRequestGridView.DataSource = dtab;
            pendingRequestGridView.DataBind();
        }
コード例 #2
0
        private void BindGrid()
        {
            string status = statusRadioButtonList.SelectedValue;
            Dictionary <string, object> inputParam = new Dictionary <string, object>();

            inputParam.Add("pbranch_id", branchDropDownListChosen.SelectedValue.ToString());
            inputParam.Add("prequest_id", requestIdField.Text.Trim().ToString());
            inputParam.Add("prequest_status_id", status);
            inputParam.Add("pregistration_no", regNoField.Text.Trim().ToString());
            //inputParam.Add("psanchay_patra_no", spNoField.Text.ToString());
            inputParam.Add("pcustomer_name", custNameField.Text.Trim().ToString());
            inputParam.Add("pcustomer_mobile_no", mobileField.Text.Trim().ToString());
            DataTable dtab = spManager.GetRspMasterData(inputParam);

            pendingRequestGridView.DataSource = dtab;
            pendingRequestGridView.DataBind();
        }
コード例 #3
0
        public static string GetSpDetails(string prequest_id)
        {
            SpManager spManager = new SpManager();

            Dictionary <string, object> inputParam = new Dictionary <string, object>();

            inputParam.Add("pbranch_id", string.Empty);
            inputParam.Add("prequest_id", prequest_id);
            inputParam.Add("prequest_status_id", string.Empty);
            inputParam.Add("pregistration_no", string.Empty);
            //inputParam.Add("psanchay_patra_no", string.Empty);
            inputParam.Add("pcustomer_name", string.Empty);
            inputParam.Add("pcustomer_mobile_no", string.Empty);
            DataTable dt = spManager.GetRspMasterData(inputParam);

            return(DatatableToJson(dt));
        }