Not the end solution but it will set you on the right track. Consider using the OleDbConnection object to open the excel spreadsheet. This will then allow you to execute T-SQL commands against spreadsheet as if it were a table.
I'm working on a project at work which involves updating the programming language our program is written in from C to possibly C#.
I'm only at this job for a short period of time, I was wondering if it is possible to update parts of the program at a time to C#, yet still allow the whole program to work?
In other words, is there a way getting a program to run by writing it using two different languages?
The only way to do that would be to split the application apart into separate DLLs, one in C and the other in C#. There is more work needed to make sure that both assemblies can work together and that the main application can use both of them and still work correctly. It's possible, but not trivial.
I only have Express Editions of VS so I can't directly test this myself right now..
If you go the Express Edition route, you have to have the multiple languages in different projects using the Express Edition for the particular language. Compile the class, then reference it in the other Express Editions...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
I want to start work as a trainee developer and to do this I plan to train myself up in C# and .NET.
In order to prove to employers that I have done this work, I plan to take the Microsoft exam 70-536: TS: Microsoft .NET Framework, Application Development Foundation.
However, the only self study material available at the moment is the Microsoft self paced kit. I've read mixed revues about this book unfortunately. Some people say it's good but a lot say it's not and apparently it contains many errors which could easily confuse beginners. I see that a second edition of the book is coming out in October though, so what I thought I'd do is wait until the second edition comes out and, in the mean time, begin studying C#.
Is this a good idea, heading towards this exam?
I was wondering if anyone knew of a good book to start studying C#? I was thinking of the Microsoft book 'Visual C# 2008 Step by Step' by John Sharp. I've looked at this and a couple of other books; they all come with CD's but none of them say if the CD includes any sort of version of C# to practice on. Could anyone tell me if the books would include a copy of C# to practice on or would I have to go out and purchase it?
I'm not at all sure how these things work so forgive me if I sound naive.
Dan - you can download the express editions (free) of things like Visual C# 2008 directly from Microsoft. I'm also biased against people who have little real experience, but have passed an MS exam as they don't really end up with the depth and breadth I would expect. I would rather that a developer had spent their time writing sample programs, helping out here on the forums and generally shown a bit of get-up-and-go.
Deja View - the feeling that you've seen this post before.
First of all, don't use TxtSpeak, use properly formed and spelled words and sentences.
Second, use a subject line that actually has some meaning about your question.
Third, pick up some good reference books on C and C++, or look at any of the "introduction to programming" type tutorials available on the internet.
If you have specific questions about something after trying to understand it, post that question (and try to limit it to one topic per post) and people will try to help.
You have actually asked to very different questions:
1. What is a C++ prototype and why is it used? Typically, this is a declaration of a function that omits the function body. It does specify the function name, return type and arguements. Function prototypes are used to declare the signature of a function ahead of time so the compiler can be informed about that function. (http://en.wikipedia.org/wiki/Function_prototype[^])
2. How is an array implemented? This is a much more complicated question than it sounds, as the actual implementation is potentially different for different languages and hardware. See this[^] for some more information.
when i made MDI parent with C# i used multi language (English & Arabic and Spanish and so on)
all language write from left to right except Arabic it's from rgith to left now i'm tring to put Image as a MDI parent back ground read it from Resource files every resource file for one language every thing is ok except Arabic background doesnot work with righttoleftlayout why i donot now any one have a good answer to this problem and pls donot say use designer and make localization=true and so on in this method cos this method make resource file to every form in application and i made one resource file to every language for all forms this meaning that i have 3 resource files thanks for every trial to solve this problem