Author: eladc | Posted on: 9/1/2010 5:40:08 PM | Views : 253

hey im attaching a link to my database image 
http://img521.imageshack.us/img521/3299/60742123.png
hello, i was wondering what am i doing wrong
im using the code below to iterate through each row in my database
and print out a certin code for each existing row in my db but for some reason
it only prints out the last row.. any ideas?
DataTable Info = Cameras.GetCamerasPageInfo(); foreach (DataRow Images in Info.Rows) { string ImgName = Images.ItemArray[4].ToString().Trim(); string Title = Images.ItemArray[5].ToString().Trim(); string Desc = Images.ItemArray[6].ToString().Trim(); Literal2.Text = @"<li><a href=" + "\"Img/" + ImgName + "" + "\">"; Literal2.Text = Litera ...

Go to the complete details ...