Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. insert record into mysql table

insert record into mysql table

Scheduled Pinned Locked Moved Database
csharpquestiondatabasemysqlvisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kd8341
    wrote on last edited by
    #1

    I am a new comer in MySQL area, and I want to build an database application with Visual Studio .net 2003. My questions are: 1. How can I insert records into MySQL table in .net2003? 2. Can MySQL support image data in the record (like JPG/BMP file)? I searched these topics in CP but didn't find answer. Can anybody suggests some articles or sample code about this? Thanks a lot! Kevin

    D 1 Reply Last reply
    0
    • K kd8341

      I am a new comer in MySQL area, and I want to build an database application with Visual Studio .net 2003. My questions are: 1. How can I insert records into MySQL table in .net2003? 2. Can MySQL support image data in the record (like JPG/BMP file)? I searched these topics in CP but didn't find answer. Can anybody suggests some articles or sample code about this? Thanks a lot! Kevin

      D Offline
      D Offline
      David Salter
      wrote on last edited by
      #2

      The following shows how to do it in Access. This should work the same in MySQL if you just change the OleDb connection string. http://databasefaq.thefreeserver.com/#q13[^] You'll probably need to download the MySQL drivers if you haven't got them. http://www.mysql.com/products/connector/net/[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups