images fetch from the folder...

Sep 24 2010 7:36 AM
I create a folder in project, named as  images,and in code-behind while fetching data from datatable ...there i am trying to fetch image also.....sending code below ...
-------------------------------------------------
if (official_veh.Text != null)
                    {
                        official_veh.Text = dtviewdata.Rows[0].ItemArray[2].ToString();
                        Image image = new Image();
                        image.ImageUrl = "~/images/Check1.gif";
                    }
the above code not giving any error but not fetching check1.gif image from the images folder......




please someone help me......to solve that.


thanks a lot...

Answers (1)