Web Analytics Made Easy -
StatCounter sub routien - CodingForum

Announcement

Collapse
No announcement yet.

sub routien

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • sub routien

    i need to add item in data base ,the sql statment have to be writine in function, and iwill call it via button how??????????

  • #2
    I'm not totally sure what you mean...

    Can you explain in more detail where you're having problems?
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

    Comment


    • #3
      In ADO, you can use either Addnew or issue an Sql Insert statement to add a new record to a db.

      Maybe this article can help. It's almost about what you said: add a record to a db, using a button, except that the code to execute the insert is not used in a function or sub routine, but rather as an inline code block. At least you can pick up from there . . . better than none ...

      Letting Users Update Information
      aspxtreme

      Comment

      Working...
      X