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
285 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 40

Expert Comment

by:Kyle Abrahams
ID: 36815591
0
 
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 40

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 500 total points
ID: 36916205
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 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