Hello, I’m Nilesh

Tag: VS2005

  • Useful Visual Studio Add-Ins

    Recently one of the guy asked on Asp.net forum that is there any shortcut key to insert comments above method or function. There’s no exact shortcut but yes, you can insert comment above your method and function by typing 3 slash (///) in c# and 3 single quote in VB and still you’ve to type […]

  • Generate Nested Gridview Dynamically

    As i said in my last post, I’ll write about how to generate Nested Gridview dynamically. As there are many articles available on the net, let me provide you the link to the article that i referred. Gridview Control to show master-child or master-slave data It provides detail explanation with snapshot. There is one disadvantage […]

  • Nested Gridview in Asp.net 2.0

    As I said in my last post, I would write about the Check/ Uncheck checkboxes of Treeview based on database value, and I think it’s very easy, so skipping that part and here I am going to write about Nested Gridview will look like the below image: Rather than displaying Nested Gridview in the same […]

  • Retrieve selected treenode value at server side

    As I said in my previous post, here’s how to retrieve selected tree node values on the server side. All the nodes, including the parent node, are selected in the above image. In my first post, we concatenated the parent node’s value with the child node and assigned it to the child node so that whenever we […]

  • Populate Treeview With Database Fields

    This post describes how to populate Treeview with database fields. People are often required to populate Treeview with database fields, and they choose different approaches to make it work. Here I am going to describe the simplest way. Here I’ll be using SQL Server Sample Database: Relations: Treeview : VB Code: C# Code: In my […]