While working with file system, sometimes we must list all directories in a folder. This sample shows us how to list all directories in a folder. Source code written in Visual Basic.NET can easily modify to work in an application.
I initially turned to ADO.NET's DataRelation and DataSet objects so that they could handle the relationship management for me. The DataRelation object's capabilities are dead on for single tables with self-referencing keys or multi-table relationships without self-referencing keys. If your current situation falls into either of these categories, you'll want to use the DataRelation object scenario to recursively build your hierarchical structure rather than the solution described in this article. In fact, most tutorials you'll find in books or on the web deal with either of these two situations. However, I have found that the DataRelation object is a little flaky when it comes to combinations of self-referencing tables and multi-table nested relationships, particularly with those that run more than 2 levels deep or have their root level row with the same PrimaryKey as its ForeignKey ParentID. Of course, if you are using foreign key constraints, you can't just set the ParentID to 0.
Web Applications are disconnected in nature which means that there is no way for the browser to know who is using the application at present time. In classic Asp programming maintaining state was a headache for the developers. They had to write alot of code to maintain state. But Asp.net model provides easy state management. In this article we will see how we can persist state in multiple pages so the user is recognized by the browser.
The .net framework provides the Dataset object which is designed to handle data abstractly independent of the data source. The DataSet can handle data from variety of sources like SQL, XML etc. In this article we'll show you how to bind a data grid control to data in an XML file using the DataSet class.
In order to facilitate ease of development and deployment of applications, the .NET framework provides the user with a number of tools. All these tools can be run from the command line with the exception of the Assembly Cache Viewer (Shfusion.dll) and the Microsoft CLR Debugger (DbgCLR.exe). In order to ensure that these tools function optimally the user has to set the Path, Include and Lib environment variables by running SDKVars.bat in the /v.2.0/Bin directory and executing it in the command shell.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.