Example #1
0
        private void fillDetails()
        {
            try
            {
                DataSet ds = DBLibrary.GetStageCustomerProcess();


                ddlStage.DataSource     = ds.Tables[0];
                ddlStage.DataTextField  = "StageName";
                ddlStage.DataValueField = "StageID";
                ddlStage.DataBind();
                ddlStage.Items.Insert(0, new ListItem("ALL", "0"));
                ddlProcess.DataSource     = ds.Tables[1];
                ddlProcess.DataTextField  = "ProcessName";
                ddlProcess.DataValueField = "ProcessID";
                ddlProcess.DataBind();
                ddlProcess.Items.Insert(0, new ListItem("ALL", "0"));
            }
            catch (Exception ex)
            {
                bool rethrow = false;
                rethrow = UserInterfaceExceptionHandler.HandleExcetion(ref ex);

                ShowMessage(ex.Message);
            }
        }