Author: mettam | Posted on: 2/2/2010 2:27:02 PM | Views : 284

I have created a web based questionnaire which contains 7 sections. I have used asp.net 3.5 and Mysql database.  At the end of each section, the data (questions and answers) is added to the session and on the last form (final.aspx) the data should be added to the database table called CBARQ_final. There are some null value columns (descans2, descans4, descans5, descans7, email) in CBARQ_final.
This website is usually running normally but sometimes I get an error message "Error-->Object reference is not set to an instance of an object". This is not always happening. I was trying to search in google about this message but I could not locate a good answer for my problem.
I am pasting my code here. I shall be happy if someone can guide me to resolve the issue. Please let me know if I am not clear or I need to provide you with more details.
thanks
 
protected void btnFinish_Click(object sender, EventArgs e)
  ...

Go to the complete details ...