/// <summary>
        /// 绑定支付方式
        /// </summary>
        public void BindZFFS()
        {
            DataSet dt = fmzffs.GetAllList();

            foreach (DataRow dr in dt.Tables[0].Rows)
            {
                hid_zfName.Value += dr["meth_pay_id"].ToString() + "," + dr["meth_pay_name"].ToString() + ";";
            }
            DDlZffs.DataSource = fmzffs.GetModelList("meth_is_jie=1");

            DDlZffs.DataBind();
            DropDownList1.DataSource = fmzffs.GetAllList();
            DropDownList1.DataBind();
        }
Example #2
0
 public void BindZFFS()
 {
     DDlZffs.DataSource = fmzffs.GetModelList(" meth_is_ya=1 ");
     DDlZffs.DataBind();
     DDlZffs.Items.Insert(0, "入账");
 }