Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex problem with binding, UserControl & null
Message
 
 
À
11/08/2008 17:29:12
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01336725
Message ID:
01338196
Vues:
11
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform