<asp:gridview >
    <columns>
        <asp:templatefield headertext="所属系统">
            <itemtemplate>
                <asp:label ).ToString()) %>'></asp:label>
            </itemtemplate>
        </asp:templatefield>
        <asp:templatefield headertext="问题">
            <itemtemplate>
                <asp:hyperlink ) %>'></asp:hyperlink>
            </itemtemplate>
        </asp:templatefield> 
    </columns>
</asp:gridview>

protected string MyChange(string strPID)
{
    string strTemp = strPID.Substring(0, 1);
    if (strTemp == "1")
    {
        return "一级建造师";
    }
    else
    {
        return "二级建造师";
    }
}

相关文章: