Results 1 to 3 of 3

Thread: what does it mean ...MessageBox.Show("opened connection to {0} ", mySqlConnection.Con

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    what does it mean ...MessageBox.Show("opened connection to {0} ", mySqlConnection.Con

    It displays the connection string as the title of the message box..I didn't understand what it means by {0}.

    thanks

  2. #2
    Addicted Member
    Join Date
    Nov 2003
    Location
    India
    Posts
    227
    The Second Argument for the MEssageBox Function is the Titlebar String.

    Regular Expressions are not applicable in messagebox. Regular Expressions are applicable only in formatting the strings not here. Try to change the code like this.

    MessageBox.Show("opened connection to : " & mySqlConnection.Con )

    - Jai
    See you,
    -Jai
    [Friends Never Say Good Bye]

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    thanks again..never had to use regular expression...

    don't know what they are ...

    thank you..it works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width