Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object reference not set to an instance of an object
Message
From
23/02/2010 08:27:27
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
23/02/2010 08:14:32
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01450438
Message ID:
01450454
Views:
39
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform