Creating a web form to insert records into an SQL Server 2000 database

  • Thread starter Thread starter asp.net Newbie
  • Start date Start date
A

asp.net Newbie

Hi all, I am completely new to ASP.Net and have a question regarding
ASP.Net 2.0. I want to create a custom web page that's only function
is to insert new records into a database. I want to have serveral
textboxes for user input and then a button. On button click I want the

data from the text boxes to be loaded into the databases and the user
given a message that update is complete if there is no error. I have
played with using a gridview, dataview, and formview; but the problem
is that I don't want the user to see any of the other entries. I
attempted to create a data access layer using a DataAccess class and
associated methods, but have no idea how to call the insert method and
have it use the text boxes as paramaters to pass. Any help could be
greatly appreciated, this is the last piece of my little project and I
am stumped.
--Total Noob
 
Hi all, I am completely new to ASP.Net and have a question regarding
ASP.Net 2.0. I want to create a custom web page that's only function
is to insert new records into a database. I want to have serveral
textboxes for user input and then a button. On button click I want the

data from the text boxes to be loaded into the databases and the user
given a message that update is complete if there is no error. I have
played with using a gridview, dataview, and formview; but the problem
is that I don't want the user to see any of the other entries. I
attempted to create a data access layer using a DataAccess class and
associated methods, but have no idea how to call the insert method and
have it use the text boxes as paramaters to pass. Any help could be
greatly appreciated, this is the last piece of my little project and I
am stumped.
--Total Noob

Since you are new to ASP.NET I will direct you to the ASP.NET News Group:

microsoft.public.dotnet.framework.aspnet

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
 
Back
Top