setting imageurl

Oct 22 2004 4:06 PM
I used a data reader to bring up the info that goes into textbox1 and 2. i'm trying to bring the image up that aassociates with the info in textbox1. the picture name is the same as the string in the textbox1. Does the way i called the imageurl work? how do i set a variable in the image url. Thanks in advance. dr.Close(); con.Close(); TextBox1.Text = content; TextBox2.Text = content2; Image1.ImageUrl = (@"u:\images\"+TextBox1.Text+".jpg");