Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if request("property")<> "" then
- int_pro_id = request("property")
- int_pro_id = clng(int_pro_id)
- 'str_sql = "select * from tbl_property_image where int_property_id="&int_pro_id&" and bit_disp = 1 and bit_active = 1"
- str_sql = "select * from tbl_property_image where int_property_id="&int_pro_id&" and bit_disp = 1 "
- OpenADORecordSet strConnectionString,str_sql,rs_pro
- if rs_pro.recordcount > 0 then
- no_img = 0
- img_name = rs_pro("str_image_name")
- img_wid = rs_pro("int_image_width")
- img_hgt = rs_pro("int_image_height")
- img_desc = rs_pro("str_image_desc")
- else
- no_img = 1
- end if
- CloseADORecordSet(rs_pro)
Add Comment
Please, Sign In to add comment