Rank: Member Groups: Member
 
 
Joined: 5/15/2012 Posts: 18 
	 | 
		   
	     
		    Hi
  I want to display an image (picture of a product) in a grid. Can this be done and if so could you give me a sample. The grid looks like this
  QTY | Image | Item Code | Description | ......
		 
	 | 
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  Yes. You can do that. You can use a StaticColumn and set the column's DataFormat to be something like this:
  <img src="{0}" />
  At runtime, the Grid will replace "{0}" with the "Value" of that field. So if the value of the cell is an image Url, you will see an image in the cell.
  Thanks!
		 
	 | 
	
		Rank: Member Groups: Member
 
 
Joined: 5/15/2012 Posts: 18 
	 | 
		   
	     
		    Thanks a mill for the quick reply and excellent support
		 
	 |