blah blah blah is here! blah blah » Close

0
votes
3 answers

How to get SQL insert/update statements?

I am doing this way but can't get insert's [code] SELECT REPLACE (REPLACE ([text], CHAR(13), ' '), CHAR(10), ' ') AS QUERY FROM sys.dm_exec_cached_plans AS p CROSS APPLY sys.dm_exec_sql_text (p.plan_handle) WHERE p.objtype = 'Adhoc ...

0
votes
0 answers

C#: Datagrid selected Row

Hi, i have a problem with the selection of a row in a datagrid. It works but i have to click on that row different times, and i can't use it cause on that selection i'm changing the text of a button. Anybody knows why this happens? ...

0
votes
0 answers

C# PPC: Start Process, close himself letting the process up

I need to start a process in a ppc application for an update of the exe file and some other so i thought: create another app that makes this thing overwriting that who generated it in this way i could make the update of the system. But ...

0
votes
1 answers

C#: SQL Reader filled but never enters in the while

What is wrong with: [code] string Server = "10.101.1.157"; string Username = "Sa"; string Password = ""; string Database = "Inv"; ...

1
votes
4 answers

C#: PC & Pocket PC communication/synchronize

I am developing a ppc application that needs to synchronize its database .sdf with some other sql data staying in a server. Ok the sdf i think is nice for having a database in a ppc but is really slow, specially in the insert... and with ac ...

0
votes
4 answers

C#: PPC: File download.

Hi, i have a problem with the following WebClient Class [code] WebClient Client = new WebClient(); Client.DownloadFile("http://www.someurl.com/file.txt", "file.txt"); [/code] i've used the using System.Net; but i ...

0
votes
2 answers

SqlCeConnection Unspecified error

Hi, i have a problem with this connection: [code] SqlCeConnection conn = new SqlCeConnection(@"Data Source =/Program Files/fashionDB.sdf; Password ='xyz'"); conn.Open(); SqlCeCommand cmd = conn.CreateCommand(); ...

0
votes
0 answers

Pocket Pc, windows application that loads a .swf flash file

I am working on a ppc and i had too many things not working when opening my web page (flash, jquery..) from explorer mobile browser, same thing with opera 10... so i was thinking what if i make a windows application for pocket pc that loads ...

1
votes
4 answers

C#: can't get XML first element

[code] HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://www.mysite.com/XML.php"); HttpWebResponse res = (HttpWebResponse)request.GetResponse(); StreamReader in = new StreamRea ...

-1
votes
0 answers

C#: Get ListView Items values.

i have the this code [code] ListVie.Columns.Add("H1", 120, HorizontalAlignment.Left); ListVie.Columns.Add("H2", 80, HorizontalAlignment.Left); ListVie.Columns.Add("H3", 80, Horizont ...

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
1 answers

C#: Closing second form.

Hi, i'm trying to close a form after i finished an operation, like: [code] Form1 ----- Form2 f2 = new Form2(); f2.Show(); Form2 ----- (onButtonClick) this.Hide(); [/code] But when it is closed (after 3-4 seconds!!!! and ...

0
votes
1 answers

find in a dataset if the next value is the same

Hi, I'm trying to find in a dataset if the next value is the same and if it is take its value in another var. ex. abc 100 200 abc 150 100 abc 100 250 abx 100 230 abv 100 200 abv 150 100 the data set is ordered... and i want t ...

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

Feedback