> I'm binding to a column in a TemplateField. In some cases the join I have
> returns a null for an int field. I would like to specify a default value
[quoted text clipped - 9 lines]
> Thanks,
> Joe
Hi Joe,
Just some suggestions for databinding:
in the <%# %> expression, you can use helper function, for example:
Property='<%# MyFunction(Eval("propertyname")) %>'
this function can be defined in aspx inline or in code behind. Such
function can let you do some complex formating or customization on the raw
databound value.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Joe" <jbassking@noemail.noemail>
>References: <#4gnZxROIHA.4880@TK2MSFTNGP03.phx.gbl>
[quoted text clipped - 16 lines]
>> Thanks,
>> Joe