Display: Cloud | List
Most Popular Tags
Results (3 total) All > .net (x) > contentbug (x)
Please Use the following C# code snippet to reade the values from App.Config in .Net 3.5 environment.AppSettingsReader reader = new AppSettingsReader(); NameValueCollection appStgs = System.Configuration.ConfigurationSettings.AppSettings; string[] names = System.Configuration.ConfigurationSettings.AppSettings.AllKeys; String value = String.Empty; for (int i = 0; i < appStgs.Count; i++){
Last modified by Thomas Lee on 9/8/2009 6:39:48 PM
Tags:  .net  c#  code  contentbug
Some steps incorrect (and therefore confusing) (Walkthrough: Creating a New ASP.NET Dynamic Data Web Site Using Scaffolding)
When trying to work through this walk-through, I discovered that the App_Code asp.net folder is not one of the options for "Add ASP.Net Folder". I attempted to create the folder to hold the dbml files manually, and add my database model files to the new folder, but when doing so, adding the datacontext to Global.asax.cs failed becuase Global.asax couldnt find the referenced data context. I look a
Last modified by Thomas Lee on 5/21/2009 4:20:47 PM
Tags:  .net  3.5  app_code  contentbug  database  sp1  vs2008
C#: Get all Information about Remote Machine (System.Management Namespace ())
using System; using System.Management; namespace ConsoleApplication1{ public class RemoteConnect{ public static void Main() { // Build an options object for the remote connection // if you plan to connect to the remote // computer with a different user name // and password than the one you are currently using. // This example uses
Last modified by Deepak Pandey on 8/22/2009 12:10:16 PM
Page view tracker