Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex problem with binding, UserControl & null
Message
 
 
To
11/08/2008 10:25:42
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:
01338031
Views:
12
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.

>I'm not sure which line it's crashing on, but all you need to do is have a check to see if it's == DBNull.Value and do something else with it when it is.
>
>~~Bonnie
>
>
>
>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform