ok so my problem is that my program will run however if you do not type in any values for my first page then try to load my second page I get the following error:'Object reference not set to an instance of an object error message' How do I fix this?

TIM,

this error means that you are trying to use an object that has not been setted, or has been setted as null.

You should see in which line the error occurs and then analyse it to see what may be happening to let that object as null.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.