>
>It was crashing right here in ASPX file
>>
>>DefaultPicture = '< %# Bind("DefaultPicture") % >' so the only solution I could have think of and implemented was to convert my data in SQL Server to avoid getting NULLs. Since here we're not using Data Access classes (huge mistake), that seems to be the only solution.>
>But what line in the code behind does that refer to?
>
>~~Bonnie
It doesn't refer to any line in the code behind, that's the problem. It is probably some auto-generated code when the #bind line is executed. In other words, the error comes before it goes to my UserControl code-behind.
If it's not broken, fix it until it is.
My Blog