Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Tutorial 12 - Visual Studio 2008, Linq to SQL, C#, and WPF

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,509
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 29, 2009

Creating an school application using visual studio 2008, WPF, SQL Server 2008, Linq to SQL, and C#.
Tutorial 12 .

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • @xvleura

    before it was

    SchoolDataDataContext data = new SchoolDataDataContext();

    but he had changed it to:

    SchoolDataDataContext con = new SchoolDataDataContext();

    that' s where the con comes afterwards

  • Thanks for the videos. I'm trying to do exactly what you are doing , so far so good. until when I try to add the ViewStudents sub-menu on 3:40. I'm not sure what I'm missing , but it does not load any ViewStudents when I try to type it in. so it underlines a red line as error.

    do I have to define the ViewStudents anywhere in the program. I did not see you doing this .

    Thanks again.

  • he name 'con' does not exist in the current context

    helpppppppppp

  • Thanks Man It works

  • I have a problem on 1:29.

    The problem is 'con.' underline, so I can't compile the project. Could you please tell me how fixed it?

  • Just write the code from the Window_Loaded method shown on 0:36 in the same method in your project in ViewStudents.xaml.cs.

    The first line conects to the DB.

    The second line retrives the students from the DB and puts them in a list called "students".

    The third line assigns the students list as a source for the grid in the View Students window.

    I hope this helps :)

  • Great videos

    Thanks

  • @JoeG2324 Rename student project as School and the Namespace using refactor

    then add those lines shows in this video 0:43

  • k, im lost, i give up. cant follow this with the video missing

  • dude, you are missing a video

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more