GridView 里面 怎么做审核功能?
内有一个LinkButton ,数据库字段 IsPass
当字段 IsPass == True 时,LinkButton显示“已审核”
当字段 IsPass == False 时,LinkButton显示“未审核”
??谢谢先~
------解决方案-------------------- <asp:LinkButton ID= "LinkButton1 " runat= "server "> <%# Eval( "contract ").ToString() == "True " ? "已审核 " : "未审核 " %> </asp:LinkButton>
------解决方案-------------------- <asp:LinkButton ID= "LinkButton1 " runat= "server "> <%# Eval( "IsPass ").ToString() == "True " ? "已审核 " : "未审核 " %> </asp:LinkButton>