Dear All How to upload file to FTP server by using C# in windows application without using COM components. I tryed the WebClient class, but i failed to uplaod...
Hi Bob Grommes Thanks for such a comprehensive response. After reading your reply I have made up my mind to choose C# as a personally preferred language to...
I have this in VB.Net It won't take much pain to change this code to Csharp. Found on net a while back ...quite useful to have...actually i ended up modifying...
Justin, I haven't tried to duplicate exactly what you've done, because frankly it's confusing. Though I do think the following should work. Notice that I've...
All good points Bob. The good developer can use the best suited language for the problem, or the language dictated by management. Most developers can create...
Point well-taken. MSFT has always said that generics would be in VB.NET, but never committed to a time frame. C# does seem to be their "favorite child" and...
Hey Bob, Thanks for the correction and the MSDN link. My .NET project is in VB, and the group consists of mostly VB programmers. So being able to get the new...
I would debate your statements about C# and VB. The key to programming in .NET is the knowing the Framework and the new programming paradigm. The particular...
//code Console.WriteLine("Distance is :{0}", distance); My question is this. What does {0} mean? Why couldn't it just say: Console.WriteLine("Distance is:",...
Hello group, I have a list as follows, detailing categories of cars... //Sample: ID: CAR CATEGORY: 1 Alfa-Romeo 145 2 Mercedes 120-50 3 B.M.W 3Series 4...
Console.WriteLine("Distance is: {0}",distance); ... is funtionally equivalent to: Console.WriteLine("Distance is: " + distance.ToString()); For a trivial...
Ohh I am so sorry my friend. you will need to reference FTP.dll in your project. I didn't send it earlier as I was not sure if I can send an attachment to...
First what you might want to do is take the make and model of the car in strings and cast them to a character array. (not quite sure how to do this in C# just...
I'm gonna throw some fuel on the flames and say that VB.NET sucks! (And yes, that was a joke) I did choose to write in C# originally though because I liked the...
Using the {0} in the output allows you to reference variables that are passed in the WriteLine function. From what you have written it is hard to show the...
Spencer, Thanks for the code you sent, and yes I do realize that the "value" was very confusing and was actually an accident. Oops. I was trying to pass a...
... You can get the executeable path using this code: System.Reflection.Assembly.GetExecutingAssembly ().Location. If your application is a WinForms app, this...
hi all, i have a temporary table in SQL database.. and i have a column called GetdateTIme.. and now i have to write a trigger if the datetime mins > 25 mins...
Justin, The model of indexers makes sense... just think about it. Yes, you have an array in your class that you want the user to be able to index. You also...
If you're examining this table at a later time (i.e. after the rows have been inserted) then using a trigger is not the way to go. From the looks of it, this...
Hi every body! How can I return the result of query(Select ...) in the string variable? Thanks, Peyman.S ... Do you Yahoo!? New and Improved Yahoo! Mail -...
Hi, If you want to write code such as : Console.WriteLine("Distance is:", distance); you can use your own code. Here is an example: public class W{ public...
Hi, i thought I should use a long data type to hold the timestamp's value in the application, but when i cast the timestamp returned from the stored procedure...
You've already asked this before... timestamp is equivalent to binary(8), not long. That's why you get a byte[] back from SQL Server. Look back in the old...