Search Forum
(53671 Postings)
Search Site/Articles

Archived Articles
712 Articles

C# Books
C# Consultants
What Is C#?
Download Compiler
Code Archive
Archived Articles
Advertise
Contribute
C# Jobs
Beginners Tutorial
C# Contractors
C# Consulting
Links
C# Manual
Contact Us
Legal

GoDiagram for .NET from Northwoods Software www.nwoods.com


 
Printable Version

CGI C# DB Application
By Gildeoni Santos

This is a small CGI Aplication built with Visual C# .Net Beta 2, to test this application you must have at 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