Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / January 2005

Tip: Looking for answers? Try searching our database.

Save web form.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kbarsi - 19 Jan 2005 22:37 GMT
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?
JohnFol - 20 Jan 2005 11:37 GMT
Could yo provide the code you already have and indicate which bit fails?

>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?
kbarsi - 20 Jan 2005 14:25 GMT
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.

> Could yo provide the code you already have and indicate which bit fails?
>
[quoted text clipped - 4 lines]
> > newly created record in my sql database.  I am having problems with this.
> > Can anyone help please?
JohnFol - 20 Jan 2005 14:59 GMT
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/quickstart/winforms/doc/dataaccessplaceholder.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.

> 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.
[quoted text clipped - 16 lines]
>> > this.
>> > Can anyone help please?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.