How to pass values to database from lectora?

Hello all ! I am new into lectora and development. I have created a title and now, i want to integrate it with my database that is sql server 2008. For example, when clicking to submit button, the data should go to my database and related table. I just want to know how to do it. Please instruct me.

Thank you. :)

Discussion (3)

@rvj 56969 wrote:

Hello all ! I am new into lectora and development. I have created a title and now, i want to integrate it with my database that is sql server 2008. For example, when clicking to submit button, the data should go to my database and related table. I just want to know how to do it. Please instruct me.

Thank you. :)



1. Set Lectora to submit data to a CGI script (click F1, read Help, it's very detailed there)

2. Create a CGI script on your server that catches the data and stores it into the database.

Hello. Thanks for ur answer. But I already knew it. What I need it, some sample codes for it. There are some in lectora's help menu but they are old and outdated. I need it in C#.NET language. Can anyone help?

@rvj 57005 wrote:

Hello. Thanks for ur answer. But I already knew it. What I need it, some sample codes for it. There are some in lectora's help menu but they are old and outdated. I need it in C#.NET language. Can anyone help?


Google "C# guestbook", you'll get plenty examples of scripts that get submitted data and store it into a database. If you know anything about programming for web (not even C# specifically), it'll be enough.

Discussions have been disabled for this post