blah blah blah is here! blah blah » Close

1
votes
1 answers

Counting rows

Guys, I want to count the rows on my datagrid but counting -1. for example if i had 1 row in my datagrid i want label1 to display 0 I'm using the code below, it counts correct but i cant adapt it to count -1? am I missing something si ...

1
votes
1 answers

Count double values in Datagridview rows

Guys, on form load i count my datagridview rows that only contain the status "UPREPD USED" and display the total on a label, it works fine. My problem is i now want to count the rows that contain the status "UPREPD USED&qu ...

2
votes
12 answers

Loading millions of rows of data from MySQL database into C# application

I have to load in millions of rows of data from MySQL database into a C# application. It takes more than 5 minutes for the complete set of data to be loaded. Does it make sense to do multi-threading for my case? If yes, how should I do it? ...

1
votes
3 answers

Count datagrid rows that contain a value

Guys this may be a simple answer, but i can't get it to work how i want. Example: the following code counts the rows in my datagrid and it counts them fine: [code]label6.Text = (usedDataGridView.Rows.Count - 1).ToString();[/code] Now ...

0
votes
1 answers

No Data exists for Rows/Column

The visual c# code returns no data exists for row/column on select * from table even though the data exists OleDbDataReader dataReader; OleDbCommand cmd1 = new OleDbCommand("SELECT * FROM username",conn); ...

Feedback