How to connect SqlDataSource Control with database, also add extra features like insert, update and delete. Here we will take some steps, these are
Step-1 : Create a SQL Table with some fields like
sno int (primaryKey, Isidentit...
Friday, December 20, 2013
Saturday, June 1, 2013
How to Perform Binding with DataGridView in WinForms
The DataGridView control provides a powerful
and easiest way to display our data in tabular format with entity framework 5. We can use DataGridView
as we want to, like we can use it to simply show our read-only data or we can
us...
Monday, May 27, 2013
Combo Box or List Box Binding with Database, Entity Framework 5
Most often when we have a list of items and want to select a single item at a time then we can use Combo Box or List Box in winforms application. The basic
difference in both is: In List Box one can select an item only from exis...
How to Perform LINQ in C# Programming to Get Records using Entity Framework 5
LINQ stands for Language
INtegrated Queries in the context of sql programming. These are like SQL queries used to manipulate collection
of objects through entity framework. LINQ are queries that can be directly written in c# pro...
Sunday, May 26, 2013
How to Update and Delete record from database using EntityFramework in c# programming
Sometimes database developer have to change some of the properties of table, due to insertion mistakes. As we have inserted records into Database using entity framework 5, it's time to modify that record and delete that if requi...
Insert Entities into database Table using Entity Framework 5: C# programming
After creating databases with foreign key constraints in entity framework 5, its time to insert some records and save them for further references. In this article i will cover up, how to add entities and how entity framework proc...
Saturday, May 25, 2013
Create Foreign key in database using Entity Framework 5 in C# Programming
In the context of relational database management system (RDBMS), foreign key is a field in one table that uniquely identifies a row of another table. In sql programming, foreign key is a column which points to the primary key of...
Thursday, May 23, 2013
Create Databases using EntityFramework 5 in C# programming
Entity Framework is an open source object-relational (ORM) framework for ADO.NET. It allows user to create a model by writing code in EF designer. The releases are improving from entity framework 3.5 and onwards. Entity Framework...