Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含 2 个详细信息行的数据表。在某些情况下,我想显示第一个详细信息行,在某些情况下,我想显示第二个。就像是:
if (row["field"] == "N") { hideRow1(); } else { hideRow2(); }
fx
row["field"] == 'N'
row["field"] != 'N'