|
You have asked the very same question here yesterday permalink[^] and you have got the answer there too so don't double post
|
|
|
|
|
First you are posting same queries again, following is the link of your post made yesterday, which was replied by Guffa-
Previous Post[^]
Second-
You posted your issue and when one user asked you to clarify the point, you made another post, you should have replied on the same post, this is your First Post[^] which you made today about the same issue.
I can not understand why are you doing this.
-Dave.
Dave Traister,
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
I am going to making a control to chart the data from sensor,which run in wince.net.But I don’t know how to began ,so help me
JACOBI
|
|
|
|
|
|
code to check the compressed drive
naveen
|
|
|
|
|
tnaveen wrote: code to check the compressed drive
What about the code? Be more specific about your problem. Don't expect anyone here to read your thoughts and see what you really want.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
when db updated i want to inform the relevent machine that it has got new record in the db .
ex:when db.table 'complaint'updated by a new complaint from a customer ('connection too slow') the hardware dept computer should be informed .
how can i do this or could you please send me some links.
in my project i'm using c#.
|
|
|
|
|
Pay attention to forum guideline no. 3
Paul Marfleet
|
|
|
|
|
Hi all,
Is there any way to export datatable to powerpoint?Is it possible?If so can you send me a sample?
ayyp
|
|
|
|
|
|
how can show the drives with memory and to install an application in particular drive
naveen
|
|
|
|
|
You may check free space of any drive by using an object of System.IO.DriveInfo class.
Therefore following line will provide you free disk space provided on c drive-
System.IO.DriveInfo dr= new System.IO.DriveInfo("C:\\");
long FreeSpace= dr.AvailableFreeSpace;
In case if you need to know about all logical drives available on a system, you may use Environment.GetLogicalDrives() method. This will return you a string array containing all logical drives available on a system.
Such as –
string[] drives = Environment.GetLogicalDrives();
I hope this helps.
-Dave.
Dave Traister,
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Hello,
I need to change a string array to string object. Can somebody please tell me how to do that?
Thank you.
|
|
|
|
|
What are you trying to accomplish? Everything in .NET is already implicitly an object. An array is, by definition, a collection of like values. You can't convert a string array to a string object, but you can access individual elements inside of the array.
|
|
|
|
|
//String array
string[] stringArray={"a","b","c"};
//Get a string value at a certain position
string first = stringArray.GetValue(0).ToString();
string second = stringArray.GetValue(1).ToString();
string third = stringArray.GetValue(2).ToString();
//enumerate through the array and get objects
foreach(string s in stringArray)
{
Console.WriteLine(s);
}
Hope this helps.
|
|
|
|
|
string[] myStringArray = new string[]{"foo","bar","due"};<br />
string myStringObject = String.Join(",",myStringArray);<br />
|
|
|
|
|
You can to that in few ways
string[] strArray={"one","two","three"};
// Using foreach
string result = String.Empty;
foreach(string str in strArray)
{
result += str + "\n";
}
//Using ArrayList
StringBuilder sb = new StringBuilder();
foreach(string str in strArray)
{
sb.AppendLine(str);
}
// then for example
Console.Write(sb.ToString());
DEV36 Dominik Goss
|
|
|
|
|
Why would you do either with a perfectly usable String.Join method?
Both your examples are just equivalent to String.Join("\n",strArray)
|
|
|
|
|
Yes, you're right. You code is much more Object-oriented , and shorter
DEV36 Dominik Goss
|
|
|
|
|
hi .
how i can monitor internet traffic ?
(how i can give list of opend websites)
|
|
|
|
|
I don't think you can see what webistes are currently open, you could see what page was last accessed (well, which ip anyway)
But you wouldn't know if a person had closed their browser or anything.
You might be able to somehow get which pages are open from the browser itself, but, i don't know. It doesn't seem likely.
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
|
thanks for help.
Judah Himango
|
|
|
|
|
In data Types , i would like to know what is the difference between refrence type and value type ,which is better in using and why ?
thanks ,
Mona
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
|
|
|
|
|
The almighty, magical google[^] returned this.
Deja View - the feeling that you've seen this post before.
|
|
|
|