Sign In
Posted By: Kirwin | Mar 20th, 2008 @ 9:46 PM
page 1 of 1
Comments: 5 | Views: 233
Kirwin
Kirwin
I0I0I
I have created a database on sql server 2005, and i would like to create a web interface that would allow a user to input data into it and be able to query it by maybe clicking a hyperlink that would run the query that i would create(since the users know nothing about SQL). where do i start? any tutorials on this? i tried to google, live, and yahoo but just got lost and confused. thanks in advanced.
To be perfectly honest, SQL Server 2005 is probably overkill.  However --

It's trivial to do with with Visual Studio and ASP.  Drag and drop form controls will set up data connectors.  Here's one page with an easy example in VB.Net:
http://www.campus.ncl.ac.uk/databases/dotnet/sqldotnet.html

An MSDN example:
http://support.microsoft.com/kb/306574

In reality, you don't ever want to do this.  Stored procedures are much safer than letting your users hit the database directly (rarely advisable).

I'm not an ASP developer, but I assume there's some way to separate the database connection logic from the view they can see.  Still, this should get you started.


[Since you did not mention anything about your experience or complexity of your DB, we will start with basics ]

This is where you start:

http://asp.net/get-started


Watch this video:

----------------------------------------
Watch ASP.NET Development in Action


Watch how easy it is to build a “to do” task list application from scratch using ASP.NET 2.0, ASP.NET AJAX, SQL Server Express, and Visual Web Developer.

Microsoft’s Joe Stagner starts by creating a fresh database and the code to access its data. We then see how to define a ToDo List page that displays and updates content in the database. Finally we learn how to add AJAX functionality to the page to improve the user experience. Duration: 20 minutes, 23 seconds.

Watch the video  |  Download the video  |  Get VB code  or  C# code


----------------------------------------

and

----------------------------------------


How Do I:
Create Data-Driven Web Sites? (13:41)

Watch the video  |  Download the video
Get VB code  or  C# code

Video downloads: WMV | Zune | iPod | PSP | MPEG-4 | 3GP

----------------------------------------

If this is too much to do...

then you should look into hosted SharePoint account, upload your Access file and create data lists from it...those can be edited online. $20+/month for most SharePoint hosting.


page 1 of 1
Comments: 5 | Views: 233