TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Leo Koach
NA
601
223.5k
Some useful codes for new C# programmers
Feb 28 2010 2:41 AM
Hi all,
I just started to learn C# about a few days ago. I previously coded in VB6 language but finding a job with VB6 almost impossible, so I am trying to step-up my career.
Attached file is a program that I wrote as my first project in C#. It's a little "Code Database" that I put my useful codes in it. Program uses Access database. One included in zip file already has some codes, but you also can create a new one using one of the built-in options.
If you are a new beginner for C#, take a look at my code, and study. If you like, you can enhance the code and try to add new better features.
Here are the things you could learn from this simple code,
Using ListView in "details" mode.
Creating Access database with its tables and fields
Reading and writing text files
Using OOP model,
Using Dialog FileOpen, FileSave boxes,
Learning how to connect to a database,
Using SQL Statements,
...and some more stuff that I believe could be good start for all of us new C# programmers,
Please feel free to contact me if you have any suggestion, comments... I also would be happy to see an enhanced version from one of you.
Leo
Attachment:
CodeDatabase.zip
Reply
Answers (
1
)
Compare grid value to a text
how to calcuate the time taken to execute the query