勿忘国耻 抵制日货&up

解决方案 »

  1.   

    datagrid增加模板列:(FormatIsInclude为自定义函数,IsInclude为数据库字段)
    <asp:TemplateColumn HeaderText="包括下级">
    <ItemTemplate>
    <%# FormatIsInclude(((DataRowView)Container.DataItem)["IsInclude"].ToString()) %>
    </ItemTemplate>
    </asp:TemplateColumn>
    自定义函数;
    public string FormatIsInclude(string strIn)
    {
    if (strIn == "True")
    return "是";
    else
    return "否";
    }
      

  2.   

    与“News_System.admin_NewsManage.TitleUrl(string)”最匹配的重载方法具有一些无效参数