Thursday, July 2, 2015

how to work with Entity Framework project

Steps to create entity frmawork project 1.Create a class library project for Context name YourProjectNameContext. 2.Right click the project and add new edmx. 3.Before creating edmx ensure that your Database is ready with proper relationship. 4.Open edmx file -> right click -> Add code generation Item -> select ADO.Net Self-tracking Entity...

Thursday, June 4, 2015

Sticky menu on scroll in html5 and jquery

Here, we will create a sticky menu bar in very simple way which is built only with CSS and jQuery. 1.Write this jquery code in top of your html page <script type="text/javascript"> $(document).ready(function () { var stickyTopPos = $('.navbar').offset().top; var stickyNavbar = function () { var scrollTop...