Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-29
5
Medium Priority
?
291 Views
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.
0
Comment
Question by:jazzIIIlove
  • 2
  • 2
5 Comments
 
LVL 12

Author Comment

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

Regards.
0
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 36816363
http://www.codeproject.com/KB/books/1861004982.aspx

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:
http://www.dotnetperls.com/listview
0
 
LVL 12

Author Comment

by:jazzIIIlove
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.
0
 
LVL 4

Accepted Solution

by:
AnuTiji earned 2000 total points
ID: 36916205
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

916 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