Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference not set to an instance of an object
Message
De
23/02/2010 08:27:27
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
23/02/2010 08:14:32
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01450438
Message ID:
01450454
Vues:
40
>>>Hi,
>>>
>>>I've reached Step 13 in Jump Start: Web Forms Application - C# where I am binding the text boxes to the data. I set the BindingSource property of all the text boxes to "Order" and when I try to set the BindingSourceMember of the OrderID textbox I get this error:
>>>
>>>Object reference not set to an instance of an object.
>>>
>>>at OakLeaf.MM.Main.Builders.mmBindingSourceWebMemberEditForm.GetDatabases()....
>>>
>>>Any ideas what could be wrong?
>>
>>Hi Frank,
>>
>>The issue is going to be most likely in the previous step where you have code in the Page_Load. Double check all the lines of code there and there order. If you don't find something let me know and I can do a debugging session with you on GTM to find what object.
>>Tim
>
>Tim,
>
>I just copied the code straight from the help file. The only difference is that the code generated by VS was this:
>
>
protected void Page_Load(object sender, EventArgs e)
>
>as opposed to it being this in the help:
>
>
private void Page_Load(object sender, System.EventArgs e)
>
>Note the use of Protected versus Private. Would that cause the problem?

No, that won't cause it. Should I send you a meeting ID?
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform