Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
AnswerRe: Convert monochrome bitmap to ascii string to send to QLS-printer? Pin
Luc Pattyn2-Oct-10 5:45
sitebuilderLuc Pattyn2-Oct-10 5:45 
GeneralRe: Convert monochrome bitmap to ascii string to send to QLS-printer? Pin
Mats Eurén2-Oct-10 6:09
Mats Eurén2-Oct-10 6:09 
GeneralRe: Convert monochrome bitmap to ascii string to send to QLS-printer? Pin
Luc Pattyn2-Oct-10 6:16
sitebuilderLuc Pattyn2-Oct-10 6:16 
GeneralRe: Convert monochrome bitmap to ascii string to send to QLS-printer? Pin
Dave Kreskowiak2-Oct-10 6:17
mveDave Kreskowiak2-Oct-10 6:17 
GeneralRe: Convert monochrome bitmap to ascii string to send to QLS-printer? Pin
Mats Eurén2-Oct-10 7:08
Mats Eurén2-Oct-10 7:08 
GeneralRe: Convert monochrome bitmap to ascii string to send to QLS-printer? Pin
Dave Kreskowiak2-Oct-10 7:34
mveDave Kreskowiak2-Oct-10 7:34 
GeneralRe: Convert monochrome bitmap to ascii string to send to QLS-printer? Pin
Mats Eurén2-Oct-10 7:40
Mats Eurén2-Oct-10 7:40 
QuestionDataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 5:03
memorexr2-Oct-10 5:03 
I want to insert a table from a MySQL database with a DataGridView, but I have the common problem with IndexOutOfRange, if someone can help me with my code, to correct the errors. Sometime is working ok, sometime not.
private void bWorkGridView_DoWork(object sender, DoWorkEventArgs e)
         {
            

             initGridView();
             MySqlCommand command = conexiuneSQL.CreateCommand();
             command.CommandText = "select * from preluari";
             mySqlDataAdapter1 = new MySqlDataAdapter(command);
             DataSet ds = new DataSet();
             mySqlDataAdapter1.Fill(mySqlDataTable1);
             binding.DataSource = mySqlDataTable1;
             if (GridView.InvokeRequired)
             {
                 GridView.Invoke(new MethodInvoker(delegate { Thread.Sleep(200); GridView.DataSource = binding;}));
             }
             
             
         }

I'm working with BackgroundWorker to update the DataGridView and for connections I'm using dotconnect
AnswerRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 5:25
sitebuilderLuc Pattyn2-Oct-10 5:25 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 6:43
memorexr2-Oct-10 6:43 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 6:50
sitebuilderLuc Pattyn2-Oct-10 6:50 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 7:18
memorexr2-Oct-10 7:18 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 7:27
sitebuilderLuc Pattyn2-Oct-10 7:27 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 7:54
memorexr2-Oct-10 7:54 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 7:55
sitebuilderLuc Pattyn2-Oct-10 7:55 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 8:19
memorexr2-Oct-10 8:19 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 8:36
sitebuilderLuc Pattyn2-Oct-10 8:36 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr4-Oct-10 9:43
memorexr4-Oct-10 9:43 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn4-Oct-10 10:07
sitebuilderLuc Pattyn4-Oct-10 10:07 
AnswerRe: DataGridView with MySQL IndexOutOfRange error Pin
Abhinav S2-Oct-10 5:29
Abhinav S2-Oct-10 5:29 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 5:33
sitebuilderLuc Pattyn2-Oct-10 5:33 
QuestionRunning a method on a seperate thread Pin
teknolog1232-Oct-10 3:26
teknolog1232-Oct-10 3:26 
AnswerRe: Running a method on a seperate thread Pin
Henry Minute2-Oct-10 3:32
Henry Minute2-Oct-10 3:32 
GeneralRe: Running a method on a seperate thread Pin
teknolog1232-Oct-10 3:44
teknolog1232-Oct-10 3:44 
AnswerRe: Running a method on a seperate thread [modified] Pin
Luc Pattyn2-Oct-10 3:51
sitebuilderLuc Pattyn2-Oct-10 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.