Connecting database, and doing create, select, insert, update, delete basically in C#.NET. Step by step example needed.

Posted on 2011-09-29
Last Modified: 2012-05-12
Hi there;

I am practising my C#.NET knowledge regarding DML/CRUD operations. So, could someone provide me a simple, console application doing those?

Then, above that I need to adapt the selection to a data view.

Could you provide the example codes?

Kind regards.
Question by:jazzIIIlove
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 12

Author Comment

ID: 36815934
Nice article but it's in ASP.NET. Isn't there any example of console app or so?

LVL 40

Expert Comment

by:Kyle Abrahams
ID: 36816363

You can look here for the listview (ctrl + f -> listview).  You can use the code to pull from the DB . . . it's the same in ASP.Net as C# windows apps.

Most code from ASP .Net has a very similiar look and feel (though there is more session management in a web app).

Another good place:
LVL 12

Author Comment

ID: 36908590
Hi there;

Ah, I tried but I am briefly new. So, no direct projects to run so that I can see the differences and logic rather than implementing the logic (which I don't know).

Kind regards.

Accepted Solution

AnuTiji earned 500 total points
ID: 36916205

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question