private void BindGrid()
        {
            DataTable dt_GetOpportunity = obj_clsOpportunity.GetEBUOpportunity("1");

            GVOpportunity.DataSource = dt_GetOpportunity;
            GVOpportunity.DataBind();
        }
Beispiel #2
0
        private void BindGrid()
        {
            if (!(cmbcity.SelectedValue.Equals("0")))
            {
                query = query + " and  City= " + cmbcity.SelectedValue.ToString();
            }

            if (!(cmbCustomer.SelectedValue.Equals("0")))
            {
                query = query + " and  CustCode= " + cmbCustomer.SelectedValue.ToString();
            }

            DataTable dt_GetOpportunity = objBSS.SearchOpportunity(query, 1);

            GVOpportunity.DataSource = dt_GetOpportunity;
            GVOpportunity.DataBind();
            //DataTable dt_GetOpportunity = obj_clsNRFWithOpportunity.GetOpportunityForNRF();
            //GVOpportunity.DataSource = dt_GetOpportunity;
            //GVOpportunity.DataBind();
        }