3 Replies - 16924 Views - Last Post: 27 August 2010 - 04:24 AM Rate Topic: -----

#1 pwtc222  Icon User is offline

  • D.I.C Head

Reputation: -3
  • View blog
  • Posts: 72
  • Joined: 02-July 10

Insert data into sql database

Posted 26 August 2010 - 07:44 PM

Hi..
I have two textboxes with submit button.
I want to insert the values entered in these textboxes into ms sql database.

I tried googling around,but i cant find any appropriate one.
Any tutorial suggestions guys?
Is This A Good Question/Topic? 0
  • +

Replies To: Insert data into sql database

#2 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1526
  • View blog
  • Posts: 5,961
  • Joined: 21-March 08

Re: Insert data into sql database

Posted 26 August 2010 - 07:54 PM

I find it very, very hard to believe that you searched Google and found nothing.

http://lmgtfy.com/?q...data+into+mssql

first result...

http://forums.asp.net/t/1201222.aspx

second result is from this site...

http://www.dreaminco...rom-text-boxes/

or maybe even this tutorial on this site...

http://www.dreaminco...basics-in-c%23/
Was This Post Helpful? 0
  • +
  • -

#3 pwtc222  Icon User is offline

  • D.I.C Head

Reputation: -3
  • View blog
  • Posts: 72
  • Joined: 02-July 10

Re: Insert data into sql database

Posted 27 August 2010 - 12:50 AM

Simple step by step easy to understand tutorial :
http://www.fissionit...ead.php?p=10325
Was This Post Helpful? 0
  • +
  • -

#4 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1526
  • View blog
  • Posts: 5,961
  • Joined: 21-March 08

Re: Insert data into sql database

Posted 27 August 2010 - 04:24 AM

View Postpwtc222, on 27 August 2010 - 03:50 AM, said:

Simple step by step easy to understand tutorial :
http://www.fissionit...ead.php?p=10325


I would suggest to you to not use that tutorial. It will open you up to SQL Injection.

In both of the links I gave you, they use parameterize queries which don't allow SQL Injection.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1