100% working ....CRUD, Using OledB connection..COmplete..

Complete CREATE,READ,UPDATE AND DELETE USING MS ACCESS DATABASE... SIMPLE BUT IT IS WORKING. JUST CHANGE THE CONNECTION STRING TO ACTIVATE THE CONNECTION. gudluck sa programming Guys... Happy Codings... You may download it now then learn to use the code in you own programs

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byAnonymous (not verified)on Tue, 08/02/2011 - 13:51

Thank You! It's very useful for me.
Submitted byAnonymous (not verified)on Tue, 08/09/2011 - 07:59

thank you for sharing
Submitted byAnonymous (not verified)on Wed, 08/17/2011 - 16:32

Just pics inside. No thanks
Submitted by public static… (not verified)on Sat, 05/23/2015 - 15:38

public static List GetProducts() { List productList = new List(); DataSet ds = new DataSet(); OleDbConnection conn = GetConnection(); OleDbDataAdapter da = new OleDbDataAdapter("Select * from ProductDetails", conn); da.Fill(ds); conn.Close(); DataTable dt = ds.Tables[0]; foreach (DataRow rows in dt.Rows) { Product product = new Product(); product.ProductID = int.Parse(rows["ProductId"].ToString()); product.ProductName = rows["ProductName"].ToString(); product.CompanyName = rows["CompanyName"].ToString(); product.Price = rows["Price"].ToString(); product.ProductAvailability = rows["ProductAvailability"].ToString(); product.ProductType = rows["ProductType"].ToString(); product.ProductDescription = rows["Description"].ToString(); product.ImageUrl = rows["ImageUrl"].ToString(); productList.Add(product); } return productList; }

Add new comment