Click here to Skip to main content
15,892,537 members
Articles / Web Development / HTML

Tree View with "CRUD operations", "drag and drop (DnD)" and "Lazy Loading" using Dojo Tree, Entity Framework, SQL Server, ASP.NET MVC

Rate me:
Please Sign up or sign in to vote.
4.71/5 (10 votes)
5 Mar 2012CPOL6 min read 61.6K   3.3K   27  
This article shows how you can make a Tree with hierarchical data supporting "CRUD operations", "drag and drop (DnD)" and "Lazy Loading" using Dojo store driven Tree, Entity Framework, SQL Server, ASP.NET MVC.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Generating the DataBase</title>
<Style>
BODY, P, TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt }
H2,H3,H4,H5 { color: #ff9900; font-weight: bold; }
H2 { font-size: 13pt; }
H3 { font-size: 12pt; }
H4 { font-size: 10pt; color: black; }
PRE { BACKGROUND-COLOR: #FBEDBB; FONT-FAMILY: "Courier New", Courier, mono; WHITE-SPACE: pre; }
CODE { COLOR: #990000; FONT-FAMILY: "Courier New", Courier, mono; }
</style>
</head>
<body bgcolor="#FFFFFF" color=#000000>


<ul class=download>

<h2>Easily Generating the DataBase</h2>

<p>For Generating DataBase rapidly, goto "Model" folder, there is "TreeModel.edmx.sql" </p>

<p><img src="InstallFiles/edmx.sql.png" alt="TreeModel.edmx.sql" ></p>

<p>Open it, and right click on the page for showing the menu</p>

<p><img src="InstallFiles/executeSql.png" alt="Execute Sql" ></p>

<p>Select "Execute Sql". "Connect to Database Engine" will open:</p>

<p><img src="InstallFiles/sql.png" alt="Connect to Database Engine" ></p>
<p>After Executing query successfully, DataBase will be created.</p>

<p><img src="InstallFiles/successful.png" alt="Successful" ></p>

</body>

</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
“If you can't explain it simply, you don't understand it well enough.”
Albert Einstein

Comments and Discussions