cls_second.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:3k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <%'Copyright (c) 2006 Foosun Inc. Code by Einstein.liu
  2. Class cls_Second
  3. Private s_SID,s_Class,s_UserNumber,s_Label,s_UseFor,s_FloorType,s_BelongType,s_HouseStyle,s_Structure,s_Area,s_BuildDate,s_Price,s_CityArea,s_Address,s_Floor,s_Position,s_Decoration,s_LinkMan,s_Contact,s_equip,s_Remark,s_PubDate,s_Audited,s_PicNumber
  4. Public Function getSecondInfo(id)
  5. Dim sqlstatement,secondRS
  6. sqlstatement="select SID,Class,UserNumber,Label,UseFor,FloorType,BelongType,HouseStyle,Structure,Area,BuildDate,Price,CityArea,Address,Floor,Position,Decoration,LinkMan,Contact,equip,Remark,PubDate,Audited,PicNumber from FS_HS_Second where sid="&id
  7. Set secondRs=server.CreateObject(G_FS_RS)
  8. secondRs.open sqlstatement,Conn,1,1
  9. if not secondRs.eof then
  10. s_SID=secondRs("SID")
  11. s_Class=secondRs("Class")
  12. s_UserNumber=secondRs("UserNumber")
  13. s_Label=secondRs("Label")
  14. s_UseFor=secondRs("UseFor")
  15. s_FloorType=secondRs("FloorType")
  16. s_BelongType=secondRs("BelongType")
  17. s_HouseStyle=secondRs("HouseStyle")
  18. s_Structure=secondRs("Structure")
  19. s_Area=secondRs("Area")
  20. s_BuildDate=secondRs("BuildDate")
  21. s_Price=secondRs("Price")
  22. s_CityArea=secondRs("CityArea")
  23. s_Address=secondRs("Address")
  24. s_Floor=secondRs("Floor")
  25. s_Position=secondRs("Position")
  26. s_Decoration=secondRs("Decoration")
  27. s_LinkMan=secondRs("LinkMan")
  28. s_Contact=secondRs("Contact")
  29. s_equip=secondRs("equip")
  30. s_Remark=secondRs("Remark")
  31. s_PubDate=secondRs("PubDate")
  32. s_Audited=secondRs("Audited")
  33. s_PicNumber=secondRs("PicNumber")
  34. End if
  35. End function 
  36. public property get sid()
  37. sid=S_Sid
  38. End property
  39. public property get sClass()
  40. sClass=S_Class
  41. End property
  42. public property get UserNumber()
  43. UserNumber=S_UserNumber
  44. End property
  45. public property get Label()
  46. Label=S_Label
  47. End property
  48. public property get UseFor()
  49. UseFor=S_UseFor
  50. End property
  51. public property get FloorType()
  52. FloorType=S_FloorType
  53. End property
  54. public property get BelongType()
  55. BelongType=S_BelongType
  56. End property
  57. public property get HouseStyle()
  58. HouseStyle=s_HouseStyle
  59. End property
  60. public property get Structure()
  61. Structure=S_Structure
  62. End property
  63. public property get Area()
  64. Area=S_Area
  65. End property
  66. public property get BuildDate()
  67. BuildDate=s_BuildDate
  68. End property
  69. public property get Price()
  70. Price=s_Price
  71. End property
  72. public property get CityArea()
  73. CityArea=s_CityArea
  74. End property
  75. public property get Address()
  76. Address=s_Address
  77. End property
  78. public property get Floor()
  79. Floor=s_Floor
  80. End property
  81. public property get Position()
  82. Position=s_Position
  83. End property
  84. public property get Decoration()
  85. Decoration=s_Decoration
  86. End property
  87. public property get LinkMan()
  88. LinkMan=s_LinkMan
  89. End property
  90. public property get Contact()
  91. Contact=s_Contact
  92. End property
  93. public property get equip()
  94. equip=s_equip
  95. End property
  96. public property get Remark()
  97. Remark=s_Remark
  98. End property
  99. public property get PubDate()
  100. PubDate=s_PubDate
  101. End property
  102. public property get Audited()
  103. Audited=s_Audited
  104. End property
  105. public property get PicNumber()
  106. PicNumber=s_PicNumber
  107. End property
  108. End Class
  109. %>