blah blah blah is here! blah blah » Close

1
votes
1 answers

Open With

hello, what i want is to work like this: for example : if i have .txt file but i don't want to open it in notepad i want to do "Open With" so i can see the .txt in my textbox1

1
votes
1 answers

using aggregate function with join query

i'm trying to get the summerized date from join query using aggregate function count() and left join [code] select Catagories.FieldId,Catagories.BookField, BookTitles.FieldId as"btitle" from Catagories left join BookTitle ...

0
votes
1 answers

Deploy C# application with MySQL

I have a C# application that update MySQL database. If I want to deploy that application to other client machines, do those client machines need to be install with MySQL also? for those client machines without MySQL install, it gives the ...

0
votes
1 answers

c#: Progress bar with httpwebrequest

How can i use progress bar with a code like this... it gets some xml from a php. [code] try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://www.mywebsite.com/p/getAll.php"); ...

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