public void FillOrderId() { //here we fill order id from transaction details Object OrderIdSelect = new Object(); DataTable dt = BSLAYER.SelectOrderId(OrderIdSelect); DdlOrderId.DataSource = dt; DdlOrderId.DataTextField = "Order_Id"; DdlOrderId.DataValueField = "Order_Id"; DdlOrderId.DataBind(); DdlOrderId.Items.Insert(0, "Select OrderId"); }