469,364 Members | 2,398 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,364 developers. It's quick & easy.

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 1768
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Andras Gilicz | last post: by
reply views Thread by amrhi | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.