blah blah blah is here! blah blah » Close

0
votes
1 answers

Problems with double conversion C#

Hi, i don't understand: [code]label1.Text = dsLog.Tables[3].Rows[i][0].ToString(); //Output: 1.00[/code] but when i want to cast to double [code]double sas_sas = double.Parse(dsLog.Tables[3].Rows[i][0].ToString()); label1.Text ...

0
votes
0 answers

Error on saving second record in a c# form

I have a small application, i can save the first record, no issues, but i am continuing on the same form and enter the next record, gives me error "The transaction is either not associated with the current connection or has been comple ...

1
votes
11 answers

C# Progress Bar Example with Percentage of Completion

hi, Could I have some C# code example of how to use the progress bar, with the percentage of completion? For example, during execution of some code, says in Counting Down from 1000 to Zero, I would like to send the progress bar moving wi ...

1
votes
1 answers

variables through forms, with event args

Hi, how can i pass a value to a form ex. in form1 i have var1, how can i send it to the form2 giving var1, and when finished setting that variable on form2, give it back to form1 with the change. Thanks, Daniel

2
votes
3 answers

C# to display different texts at different time, with a click of a button.

this may seem trivial, but I still have not figured out how to do it. private void button1_Click(object sender, EventArgs e) { textBox1.Text = "Waiting..."; System.Threading.Thread.Sleep(5000 ...

Feedback