private void InitType()
 {
     System.Collections.Generic.List<Mxm.Model.art_type> lst = new Mxm.DAL.art_type().GetListArray("");
     ddlType.DataSource = lst;
     ddlType.DataTextField = "type_name";
     ddlType.DataValueField = "type_id";
     ddlType.DataBind();
 }
 private void SetTitleNav()
 {
     Mxm.Model.art_type mo = new Mxm.DAL.art_type().GetModel(_type_id);
     if (mo != null)
     {
         this.Title = mo.type_name + ConfigurationManager.AppSettings["title"];
         lbl_nav.Text = " - " + mo.type_name;
     }
 }
    private void InitType()
    {
        IList<Mxm.Model.art_type> lst= new Mxm.DAL.art_type().GetListArray("");
        ddlType.DataSource = lst;
        ddlType.DataTextField = "type_name";
        ddlType.DataValueField = "type_id";
        ddlType.DataBind();
        ddlType.Items.Insert(0,new ListItem("全部", "0"));

        if (Request.Form["ddlType"] != null)
        {
            ddlType.Items.FindByValue(Request.Form["ddlType"]).Selected = true;
        }
    }