Here is code snippet for you:
1. Create an instance of OledBConnection
2. Create an instance of Olddbcommand
3. If you want to fetch a singlevalue then open a connection and invoke the ExecuteScalar() method.
If you want to fetch multi-value then invoke ExecuteReader method.
Reply, if...
Re: Post ur C/C++ Programs Here
Here are some non-standard features in your said c++ program.
1. do not use void with main()
int main() {
return 0;
}
2. Do not use deprecated header files and old-compilers - turboc 3.0 or something
Use standard c/c++ compilers...
Re: Post ur C/C++ Programs Here
Hi,
I read number of threads. 90% of programs of c/c++ are written in old-standard (13 years old).
Students and tutors must have to learn something new in c/c++ standard.
*siddhant3s.googlepages.com/how_to_tell_rusted_cpp.html...
Re: Post ur C/C++ Programs Here
Hi,
Why you add system("pause")? Are programs like Excel, Word, IE etc pauses after we click on close button?
I think it is bad practice to learn and teach c programming. Sometimes people uses getch() in place of system(). It should be stop.
Thanks...
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.