I have a datalist with an image button in each item, with a few labels underneath it with data from the table.
On image button click, i want to add the values in the labels in the datalist to labels on the page..
However, i want to add the right values.. how do i make ure the labels on the page are going to equal the values from the datalist item from which the image button was clicked?
Below is my code, but labels 1 and 2 are in a datalist item, but i want their values to only be used from the datalist item in which the user clicks the image button... can you help?
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
Label34.Text = Label1.Text;
Label35.Text = Label2.Text;
View Complete Post