>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?
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?