 |
| <%
SQLTxt = "SELECT * FROM orc_webdata_cy WHERE nodeId='contact us' AND WEB='" + WEB + "' ORDER BY SortDate DESC";
array = Data.Query(SQLTxt,1,1);
if (array != null)
{
Iterator iterator = array.iterator();
Wdata wdata = null;
try
{
while (iterator.hasNext())
{
wdata = (Wdata)iterator.next();
if (wdata != null)
{
String dID = wdata.WEB_ID;
String dSubject = wdata.WEB_Subject;
String dPutDate = wdata.WEB_Putdate;
String dContent = wdata.WEB_Content ;
String dimg = wdata.WEB_img;
int dVisMan = wdata.WEB_VisMan;
String dOrigin = wdata.WEB_Origin;
String dAuthor = wdata.WEB_Author;
/>
<%=dContent />
<%
} // if (wdata != null)
} //while
}catch(Exception e) {
//..
}
array.clear();
}
/> |
|
|