Author: rootuid | Posted on: 10/6/2010 6:53:52 PM | Views : 320

Hi,
I have an imagemap that works: 


Protected Sub ImageMap1_Click(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ImageMapEventArgs) Handles ImageMap1.Click Select Case (e.PostBackValue) Case ("Dublin") Label1.Text = "You selected " & e.PostBackValue Case ("Cork") Label1.Text = "You selected " & e.PostBackValue Case ("Southern") Label1.Text = "You selected " & e.PostBackValue Case Else Label1.Text = "You did not click a valid hot spot region." End Select
All the postback values are correct. Instead of sending the postback value to a label I want to use this in a select statement with a database. How do I achieve this? The output should be sent to a gridview.


Many thanks.


...

Go to the complete details ...