VB.NET Sample?

2002-10-30
2004-02-06
  • Joe Harrison

    Joe Harrison - 2002-10-30

    Hello. Does anyone have a VB .NET sample using this that I could look at? Thanks!

     
    • Manuel Lucas Viñas Livschitz

      I didn't find if useful but I'll try to put one.

       
    • Joe Harrison

      Joe Harrison - 2002-11-16

      That would be awesome if you could

       
    • kelly murphy

      kelly murphy - 2002-12-13

      Has anyone gotten this to work?  I'm having a problem inserting records using mysqlinsertcommand. 

      Dim insert As MySQLInsertCommand = New MySQLInsertCommand(mysqlconnect, New String() {{"songtitle", Title}, {"songdata", songdata}, {"artistid", artistid}, {"type", type}}, "songs")

      VB complains on the New String () part. 

      Any help would be appreciated.  If someone knows where I could get find source for a php like addslashes function for vb that would be helpfull as well.  Thanks...

       
      • Manuel Lucas Viñas Livschitz

        Well I didn't use New String(){....} on VB.NET
        I think that it isn't possible. Try to create a new var for each parameter surely works.

         
        • kelly murphy

          kelly murphy - 2003-01-31

          Could you post a sample, I'd appreciate it(hopfully this one in threaded correctly in the message base)

           
    • kelly murphy

      kelly murphy - 2003-01-31

      Can you post a sample? That would be greatly appreciated.

       
    • Anonymous - 2004-02-06

      Try Use "New String(,){...}"

      Dim insert As MySQLInsertCommand = New MySQLInsertCommand(mysqlconnect, New String(,) {{"songtitle", Title}, {"songdata", songdata}, {"artistid", artistid}, {"type", type}}, "songs")

       

Log in to post a comment.