Posted on: 8/2/2014 9:00:48 PM | Views : 367

Hi 
i have a form view on the top of my page which i am used it as a banner show i have put an imagebtn inside and i coding it behind but i have two problems first the image it not appear the 2nd how i can allow user since he click on to move him to the Advertiser website depending a column in MS Sql has the URL of this image.
Please Note: that the website available for many countries so i have use session "location" then the image will be shown depending on a column in sql called country. please check the below youtube url to get more information of what i am looking for
https://www.youtube.com/watch?v=AWLqu_rYFf8&feature=youtu.be

if (!IsPostBack) { if (Session["location"] != null) { using (SqlConnection TopBanCon = new SqlConnection(sc)) { TopBanCon.Open(); ...

Go to the complete details ...