I have a c# application calling a SQLCMD for a long .sql file of 80 MB. When I start the application, SQLCMD creates the database and insert first few thousands of records but then it...
I have two major problems about running OSQL from my c# code, first is running .sql commands using -i parameter with long and blank containing file locations and the second is passing the...
I already found that on my previous searches. But it is a load of codes which is just complicated. There must be a shorter way to do it. But thanks for your insults. it really helped..
thanks for your effort for the help. but couldn't understand anything :) I wrote the code from the examples on the internet. I changed the MSSQL commands to MySQL and trying to make it work. Is it...
what do you mean by saying "save data" in my combobox change event it loads the database records to datagridview. And on Save Changes button click, it checks if there's a change on the records and...
I would like to check if some records exist in MySQL database and if they are missing I want to add some alternative information. I tried to use the following code but made a mistake. I am a...
Thanks for your advice of reading a book. I already have a tutorial consists of 800 pages. I am clever enough to read and understand if I have time. This is a quick code needs to be finished before...
I am writing a simple program which connect MySQL reads each line of a table content and writing to an Excel file line by line. I want the procedure start onClick of a start button....
it seems to have no errors given. If I put the connection code on the form load section. Is it global? And how do I close connection at the end of the program? (asking too much :))
I changed it to mysql-connector-net I don't have the previous error but a new one when I copy and paste the first code you gave, I get the following errors:
I have no other choice. Because I could not make the other way work and everybody on the internet sends half information with missing details. I just opened c# 2 days ago and that's the reason why I...
I had many problems with mysql-connector-net. So I made an ODBC connection. But still I don't know the codes which will read from the database and write to Excel.
I would like to learn how I can read a MySQL table and move the records to an Excel file. While replying, please consider that I am at the very beginning of c# and write everything "Idiot...
jggtz you code is working perfect with the labels. I need more than one links in same label and I need it to be taken from the database. Is it possible to make it with a loop or sth? Can you give me...