public static String getColumnAndValue(ZDMemberSchema member) { DataTable dt = new QueryBuilder( "select * from ZDMemberField where SiteID = ? order by AddTime asc", member.getSiteID()) .executeDataTable(); String Columns = ""; for (int i = 0; i < dt.getRowCount(); i++) { Columns = Columns + getColumn(dt.getDataRow(i), member, dt.getString(i, "RealField")); } return Columns; }
public static com.xdarkness.member.Member setPropValues( com.xdarkness.member.Member member, Mapx Request) { ZDMemberSchema m = new ZDMemberSchema(); String siteID = ""; m.setUserName(member.getUserName()); if (m.fill()) siteID = m.getSiteID() + ""; else { siteID = Request.getString("SiteID"); } m = setPropValues(m, Request, siteID); member.setValue(m.toMapx()); return member; }