none
Linking Projects RRS feed

All replies

  • Hey there! you have to add a SQL connection to your code with server explorer, using your computer's credential and test the connection. If succeeded, you'll add an empty model and carry on with your work.
    Friday, March 7, 2014 10:15 AM
  • Its Buyani here bra here is a simple answer.First we create database in order to save or keep the information that a user wants to save for future use.

    Using (Three Tier Achitecture) -you must create a folder where you will keep you Data Model,in the folder right click go to add,add Data,create a new connection basically here you wana create a connection between Data base and C# code

    create Three folders:

    DATA-where you will keep you model

    LOGIC-where you will keep you class which do certain procesessb for like searchng database and adding

    GUI-where your user interface will be

    in your logic folder in the libraries statemants,write using nameofproject.DATA;

    e.g using DUTProject.DATA;

    then create the instance of the data base

    e.g DAT.DUTEntities con=new con DATA.DUTEntities()

    and for the tables in that database

    e.g StudentsTable stu=new StudentsTable();

    in that way you are done you can perform you processes

    to use information in LOGIC folder in you GUI you do the same

    if you enounter anyproblems contact me

    Friday, March 7, 2014 10:59 AM