CGI C# DB Application


This is a small CGI Aplication built with Visual C# .Net Beta 2, to test this application you must haveat least SQL Server 7 (running Northwind database) and IIS 5.0 installed.

Steps to test the application:

1- Create an account for the Internet Users in SQL 7 (normally IUSR_YourComputerName).
- Open SQL 7 "Enterprise Manager".
- Go to "Security" right click in "Logins" (a context menu will appear).
- Click "New Login". Then SQL Server Login Properties will appear.
- In the "Name" text box type "IUSR_YourComputerName" (replace the "YourComputerName" by the real name of your computer).
- In "Authentication" option select "Windows NT Authentication".
- Select the "Domain" name (normally your computer name if you aren't on a network).
- Select "Grant access".
- In the Database combo box select "Northwind". Now click "Ok" to finish.

Note: This is a basic step to allow login to Internet Users. If you are on a network you may have to change the configurations.

2 – Create a "Virtual Directory" in IIS and place the the "test" folder under this one.

3 – Open "Internet Explorer" and type the address to the "Virutal Directory" we just created
("localhost\MyVirtualRoot\test" for example). The page will be displayed.

4 – Type a keyword (can be two, three…) and click "Search". A result set based on your keyword(s) will then appear.

Download SearchC#.zip

Most Commented Articles :

Twitter Digg Delicious Stumbleupon Technorati Facebook Email

No comments yet... Be the first to leave a reply!