public void load_order_masters() { dbc.BindClientName(ddl_ClientName); dbc.BindOrderType(ddl_ordertype); dbc.BindState(ddl_State); dbc.BindProduction_Unit_Type(ddl_Production_Unit); dbc.Bind_Employee_Order_source(ddl_Inhouse_Order_Source); dbc.Bind_Invoice_Ordered_For(ddl_Inhouse_Ordered_For); client_Id = int.Parse(ddl_ClientName.SelectedValue.ToString()); ddl_ordertask.Visible = true; ddl_ordertask.Items.Insert(0, "Search"); ddl_ordertask.Items.Insert(1, "Typing"); ddl_ordertask.Items.Insert(2, "Upload"); ddl_ordertask.Items.Insert(3, "Upload Completed"); ddl_ordertask.Items.Insert(4, "Abstractor"); // ddl_Search_Type.Visible = true; // ddl_Search_Type.Items.Insert(0, "SELECT"); //ddl_Search_Type.Items.Insert(0, "TIER 1"); //ddl_Search_Type.Items.Insert(1, "TIER 2"); //ddl_Search_Type.Items.Insert(2, "TIER 2-In house"); // ddl_Order_Source.Items.Insert(0, "SELECT"); ddl_Order_Source.Items.Insert(0, "Online"); ddl_Order_Source.Items.Insert(1, "Subscription"); ddl_Order_Source.Items.Insert(2, "Plant"); ddl_Order_Source.Items.Insert(3, "Abstractor"); ddl_Order_Source.Items.Insert(4, "Online/Abstractor"); //Order_Controls_Load(); // SetMyCustomFormat(); if (ddl_ClientName.SelectedIndex != 0) { dbc.BindSubProcessName(ddl_SubProcess, client_Id); // ddl_SubProcess.SelectedValue =Convert.ToString(SubprocessId); ddl_SubProcess.Focus(); } }