As I promised before, I plan to release the online ordering system that I spent six hours writing. Now I have released it.
I think this order system is a good teaching material for beginners!
Summary of the documents directory:
Initsql. SQL is a database script that contains initialization data.
Linq.docx or linq6.
Takeaway.docx or takeaway.pdf is a data table structure.
Installation:
1. Create a database by yourself. The default name is takeaway;
2. Run the initsql. SQL script, create a data table, create a dependency/constraint relationship, and initialize the table;
3. Create a virtual directory and copy all the files under the takeaway directory to the created virtual directory;
4. To change the database connection information under Web. config, see the following information,
<! -- Change the following database connection to your own database connection:
Data Source = oceanhonggang; ==> your server name;
Initial catalog = takeaway; ==> your database name;
Persist Security info = true; ==> do not modify this item;
User ID = sa ;==> database username;
Password = sa ==> password for the database user name.
-->
<Add name = "takeawayconnectionstring" connectionstring = "Data Source = oceanhonggang; initial catalog = takeaway; persist Security info = true; user id = sa; Password = sa" providername = "system. data. sqlclient "/>
5. Run
6. If you encounter any problems, please send an email to inform ocean, email: suodaosoft@gmail.com
7. ClickHereDownloadSource code!
8. If you think the download is good, you must leave a message for me! Hey, I want to know how many people are interested! Because I plan to open source HR sourcesCode! But it is only a plan now! It may be 5-8 months later!
Download the source code here:
Http://files.cnblogs.com/OceanChen/TakeawayWithSource.rar