Apr 26, 2011 at 2:40 AM

I am new to SmartPart and I am creating my first project.

I was able to create a simple user control and post on my SharePoint site using SmartPart. In my initial user control, I read records from a sql table and display them to the user.

Now, I need the ability to allow users to insert a new record by entering in two fields and clicking on a button to save to the database.

It seems that whenever I click on the button, I get a web server error. I do not have this problem in my development environment.

Please help!!!