472,353 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Save web form.

I have created a new web form .aspx in VS.net with a couple of fields. I
would like to add a button that when clicked will save the information from
the fields into a
newly created record in my sql database. I am having problems with this.
Can anyone help please?
Jul 21 '05 #1
3 1891
Could yo provide the code you already have and indicate which bit fails?
"kbarsi" <kb****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
I have created a new web form .aspx in VS.net with a couple of fields. I
would like to add a button that when clicked will save the information
from
the fields into a
newly created record in my sql database. I am having problems with this.
Can anyone help please?

Jul 21 '05 #2
It's not a mater of the code I have not working. I am a Lotus Notes
developer who is trying to learn some of the basics of VB web programming.
In Notes I would create a button and could program it with Notes formlua
'@Command([FileSave])' or Lotus Script 'Call doc.Save(True, False)' or even
Javascript. I am having trouble grasping the 'save' concept in Visual
Studio.net with VB on a web form.aspx. so that I can save information into a
SQL db.

"JohnFol" wrote:
Could yo provide the code you already have and indicate which bit fails?
"kbarsi" <kb****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
I have created a new web form .aspx in VS.net with a couple of fields. I
would like to add a button that when clicked will save the information
from
the fields into a
newly created record in my sql database. I am having problems with this.
Can anyone help please?


Jul 21 '05 #3
There are many ways to do it, but a good place to start is
http://samples.gotdotnet.com/quickstart/aspplus/
or
http://samples.gotdotnet.com/quickst...aceholder.aspx
It covers controls that are bound "linked" to the underlying SQL database,
as well as how to connect to SQL, retrieve data and save data.

"kbarsi" <kb****@discussions.microsoft.com> wrote in message
news:F1**********************************@microsof t.com...
It's not a mater of the code I have not working. I am a Lotus Notes
developer who is trying to learn some of the basics of VB web programming.
In Notes I would create a button and could program it with Notes formlua
'@Command([FileSave])' or Lotus Script 'Call doc.Save(True, False)' or
even
Javascript. I am having trouble grasping the 'save' concept in Visual
Studio.net with VB on a web form.aspx. so that I can save information into
a
SQL db.

"JohnFol" wrote:
Could yo provide the code you already have and indicate which bit fails?
"kbarsi" <kb****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
>I have created a new web form .aspx in VS.net with a couple of fields.
>I
> would like to add a button that when clicked will save the information
> from
> the fields into a
> newly created record in my sql database. I am having problems with
> this.
> Can anyone help please?
>
>


Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andras Gilicz | last post by:
Hi VB fans I'm working on a relatively large project in VB6 with about a dozen forms, including graphs, labels, text boxes, etc. The software...
2
by: icedgar | last post by:
am using the following script in the BeforeUpdate area of a main form. Private Sub Form_BeforeUpdate(Cancel As Integer) Dim strMsg As String...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve....
0
by: amrhi | last post by:
Hy Guys , Can anybody help me ? I try to make small web database in my unit. Some of fields have on change behaviour to get other data that...
2
by: Matuag | last post by:
Hi All, I want to create following command buttons on a Form which users can edit. Save ( Save Changes made) Cancel ( Undo data changes)...
2
by: Eric | last post by:
Hi, I have a form that requires a save button to be clicked before closing the form. I would like a msgbox to pop up when the button is not...
2
by: Karl | last post by:
Using A2000 When I click the save icon in form design, Access closes immediately. No warning messges, nothing. This happens on only one form....
2
by: KC-Mass | last post by:
I have a form that is used to ID and then load Excel files into Access. I use labels on the form to record which file was last loaded. That was...
2
by: Cron | last post by:
Hi I'm trying to make a form that makes it optional for the user to save the inputted data. If the user does not tap the save button before leaving...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.