Thursday, March 18, 2010

Updated Email Customer's Receipt example

I updated the "Email Customer's Receipt" example considerably. It retrieves business, receipt header, and receipt detail information from a SQL Server database.

I made most of the changes to the ASP code, and added T-SQL code to create tables and insert data into the example db_dermistest database. I included some code which should prevent SQL injection, as well.

If you're interested in a fairly complete example of using Dermis to email an invoice with information pulled from SQL Server, there you go. I hope it proves useful to you!

Thursday, March 4, 2010

Updated Docs Again

I corrected the Fetch method bug, and re-ran all of the simple, advanced, and email examples to make sure they work.

Also, I added documentation on how to create a test database, database user, and database login. I used SQL Server 2005 Express. You can use your own database and authentication, of course, but if you're creating a development server or VM, having the steps right there should shorten the time it takes to get right to developing. I included a lot of screenshots, too.

I also re-structured the documentation directories.

Perhaps I should add some more screenshots on Sourceforge ... :)