In previous posts , i have given a example for simple registration form in , registration form in Asp.Net using 3-tier architecture. And now i am doing the same example(no changes in design) with ADO.NET Entity Data Model, and we will see how we can add Model in normal… Continue Reading Registration Form in ASP.NET using Entity Framework Data Model

In this post i am posting a simple C# console program to start with ADO.NET. This may help the beginners in understanding the insertion of data into a database from a C# program. Before going for the program create a table in sql server using the following command:

Now… Continue Reading Simple C# program with ADO.NET

STEPS WHILE WORKING WITH SQL SERVER  : -> Step 1: Import the library at the top.

->Step 2: Construct the “Connection” Class object.

-> Step 3: Assign the Connection String. If u are using Windows authentication in Sql Server, then the  Connection string will be like this