|
thanks for your guidance... I did this but it gave me server error.. so the server at that time must have been busy..;P
-----
|
|
|
|
|
|
That article should be stickied to the top of this forum. Oft have i seen people asking about passing data between forms or similar, and someone has replied with a link to that article.
My current favourite word is: PIE!
I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for.
-The Undefeated
|
|
|
|
|
The really huge hint filter states - Please don't cross post.
|
|
|
|
|
Hi all,
I'm trying to create a documentation file (.chm or a web Report)
That uses my Code comments.
I generate the XML documentation file using VS2005.
I can't produce the documentation with NDoc http://ndoc.sourceforge.net/ because there is not an Ndoc version for framework .NET 2.0
Is there an other why to generate C# documentation ?
Thanks for any help.
kort
|
|
|
|
|
|
Search MSDN for SandCastle.
|
|
|
|
|
hi
how can i convert xls to csv in c# code ?
thank's
|
|
|
|
|
Read this article[^] to get you started. It demonstrates how to read data from an Excel file.
Creating a CSV file is trivial. Use a System.Text.StringBuilder object to create the text for your file, and write it to the file system using the System.IO.File.WriteAllText() method.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
thank's alot
but can i get sample code ?
|
|
|
|
|
E_Gold wrote: but can i get sample code ?
I gave you a link to an article for reading the Excel file.
I'm not giving you the code to create the CSV file. If I did, I would be doing your work for you and you wouldn't have learned anything. I've told you the steps to need to follow to create the file. Now you have to think for yourself. If you can't be bothered to take my advice, maybe software development isn't the right career path for you.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Is there any way that we can save the .xls file as csv? I have a problem when reading data from the excel as it rounds the decimal values. To solve my issue I have to save the .xls as a csv as then read the contents. Need help
|
|
|
|
|
hi
how can i convert xls to csv in c# code ?
thank's alot
|
|
|
|
|
Are you still having trouble with this? I think there are some articles around here that can help.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi,
This is really annoying - I set a field to disabled or read-only and it's set to a grey color with black text which isn't very easy to read at all.
I want to display my text in a read-only text box so that it can't be edited but so it can still be read clearly. Even though I try setting the background color different it doesn't work.
Can anyone suggest how I might make such fields more readable?
|
|
|
|
|
well don't disable it instead set readonly=true and then set the background color to whatever you want. I normally use LightGrey as background color which looks fine with black text. (I am referring to a web form text box not windows)
-----
|
|
|
|
|
I am looking for scripting tools in c# like .groovy in java
I want to code in that script then call some code in C#,
ANY IDEA??
Please Let Me Know
|
|
|
|
|
|
hello,
I need to know whether i can use C# for hardware programming (like parallel port) and any project suggestions. Something like a hardware interface.
thanks in advance.
obi.
//obinnaaj Eof
|
|
|
|
|
|
Hi,
yes you can but you need probably a C++ dll that handles the most basic accesses to hardware. I also think that you need to program a driver to get direct access to the hardware. If this is finished you can then create a .Net Wrapper around this dll and call the functions inside.
Regards,
Tobias
|
|
|
|
|
what is the difference b/w abstract method and interfaces
|
|
|
|
|
georgemathew2@hotmail.com wrote: what is the difference b/w abstract method and interfaces
I think you mean an abstract class and interface.
An abstract class is a class that cannot be instantiated. However, it can contain members (fields, properties, methods, etc.). Some members can be declared as abstract which means that they do not provide any functionality and any derived class is required to implement the behaviour.
An interface does not contain any functionality or data. Some descibe it as providing a contract. If you implement the interface then you are contractually obliged to implement the members it specifies.
|
|
|
|
|
Nothing, but then you asked the wrong question
You should have asked "What is the difference between an abstract class and an interfaces?"
In which case the answer would have been that an abstract class can contain some implementation detail whereas an interface just defines a contract that an implementing class must conform to.
|
|
|
|
|
Hi
I guess you mean between an abstract class and an interface.
An Interface is basically an abstract class.
with an abstract class you define a class that can not be instanced with new
the abstract class example of this interface:
public interface MyInterface
{
void Foo(int Param);
}
would be:
public abstract class MyAbstractClass
{
public abstract void Foo(int Param);
}
so you see 2 important differences:
1) in an interface you don't need a modifyer as public/private/internal on the members. they all have the same visibility as the interface (int this case public)
2) in an interface every member is implicit abstract.
but still there's a difference between an interface and a class.
in an abstract class you can do this:
public abstract class MyAbstractClass
{
protected int myProtectedMember;
public abstract void Foo(int Param);
Public MyAbstractClass()
{
myProtectedMember = 100;
}
protected virtual void Inc(ref int Value)
{
Value++;
}
}
--> you can implement functions that are accessible by a derived class only. a protected member is a private member that is visible for derived classes as well.
--> the interface won't let you implement fuctions directly on it.
--> an interface can not have a constructor
and one more important difference between an abstract class and an interface:
you can derive a class from exactly one other class, but from as many interfaces you want.
there are some more differences (like implementation of classes that inherit a class/interface) but you'll see if you try
|
|
|
|