Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex problem with binding, UserControl & null
Message
 
 
To
11/08/2008 17:29:12
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01336725
Message ID:
01338196
Views:
10
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform