hys Posted May 25, 2003 Posted May 25, 2003 Ok this is what i want to do retrieve the dataitem picture and see if it contains anything if it doesnt respond with nothing for that field. This is done inside <ItemTemplate> of a DataGrid <% If %><%# DataBinder.Eval(Container, "DataItem.Picture") %><% = Nothing then response.write("NOTHING") %> Quote
JIMcFadyen Posted May 30, 2003 Posted May 30, 2003 I would use the OnItemDataBind method to affect the template. Then you can write your code within a function. John Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.