Welcome Guest
Tanvtech logo
Tanvtech logo
 
Welcome to Tanvtech article , my first Treeview application using LINQ and C#
Step1:Create a table call it for example Hadith
Columns can be Id,ParentId,Name, and AddressUrl
Step2:Enter some values as show below.

Step3: Create a new project

Step4:Make connection to your database and drag your table on to the LINQ class

Step5:Copy the code to the page load event

step 6: Copy this method also

Step 7:Your Html page will look like this

Step 8:Press F5 to run

 
© Tanvtech. All Rights Reserved.