Binding Image Control In a Data List to an SQL Image data type

Binding Image Control In a Data List to an SQL Image data type

Post by Greg Sco » Mon, 25 Nov 2002 08:07:02



Help,

I am trying to bind an Image control which I have placed in the Item
Template of a DataList control. Using VB I would like to bind this
control to an Image  field ("Products_ImageLge")in SQL 2000.

Can anyone help ?

Thanks

Greg

 
 
 

Binding Image Control In a Data List to an SQL Image data type

Post by Greg Scot » Tue, 26 Nov 2002 07:56:40


Phil,
Thank you for the reply.

ASP.NET did not like the "dg_ItemBound" procedure.
Should this be "ItemDataBound" procedure instead or is it a user defined
Sub.? Also, it did not like the line "Dim img As Image" . Does Image
belong to System.Drawing or a System.WebControl class ?

Thanks

Greg

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!