Answer the question
In order to leave comments, you need to log in
How to specify password for DataSet C#?
Good afternoon!
There is such a line
this.cardsTableAdapter.Fill(this.print2DataSet.cards, id_card_for_print);
Answer the question
In order to leave comments, you need to log in
When you create MySqlConnection - the connection string is passed there as an argument - the password is passed in it.
If the connection string is taken from some source and it crumples the password - glue it before connecting!
If there are examples here zetcode.com/db/mysqlcsharptutorial (including with a password)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question