blah blah blah is here! blah blah » Close

0
votes
1 answers

c# beginner read & count !

Hi all, im beginner in c# i want to make a program that read a document and then have an option that can count the words from that document. first i made a menu for the program ===================================== [code]using Syste ...

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 ...

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 ...

2
votes
1 answers

Count Rows in Datagridview

I'm trying to count the rows on my datagridview and display the number of rows on "label1" what's the best way to do this? i was going to drop the code in the form load event. Also i only want to count rows with text in, as dat ...

0
votes
1 answers

logical error

Hi there, I'm really new (new like first time ever programming) and I decided for c#, I got stuck with the code below, I want to count how many letters a word has with an if statement, and for some reason it doesn't count the letter I want, ...

Feedback