473,382 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 1955
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 itself is actually a flow simulator with more or...
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 strMsg = "Do you wish to save your changes?" If...
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 another page that lets users modify the shared xml...
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. I am trying to take the contents of a textarea box...
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 automatically filled other text field. But when i try to...
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) Exit ( Close form) I am using Macros for each of...
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 clicked before closing. Can someone show me how i...
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. I deleted the form and recreated it. I could save...
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 accomplished with a simple lblFileLoaded =...
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 the form, the data is silently discarded. This...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.