asp.net LoadXml code
October 24, 2008 .Net, Xml — Tags: asp.net, aspnet loadxml, aspnet readxml — 52coding
<%@ Page Language=”C#” %>
<%@ Import Namespace=”System.Xml” %>
Introduction to Table Adapters
September 9, 2008 .Net — Tags: .Net Table Adapters, Table Adapters — 52coding
The table adapter, new in .NET 2.0, greatly enhances the experience of working with typed data sets. As discussed earlier in this chapter, prior to .NET 2.0, when you wanted to fill a data set or push updates back to the data source from the data set, you had to use a data adapter. This meant you had to make sure the commands for that adapter got created correctly to fill the columns appropriately and push changes back.
Review of DataSets
September 9, 2008 .Net — Tags: .Net Dataset, asp.net dataset, DataSet, review dataset — 52coding
The DataSet type is a complex in-memory container for data. The DataSet class contains a collection of DataTable instances that contain the relational data stored in a data set. Each DataTable instance contains a collection of DataColumn instances that define the schema of the data within the table, and a collection of DataRow instances that provide access to the contained data as rows.
.Net Data-Bound Controls
September 9, 2008 .Net — Tags: control, data controls, Data-Bound Controls — 52coding
Most of the controls that ship with.NET Framework support data binding to some degree, because they all inherit from the Control base class, which implements the IBindableComponent interface. That interface defines the contract for supporting a collection of simple binding objects (instances of the Binding class) through a DataBindings collection on the component that implements the interface.
A number of things come into play to make data binding happen. First, you need the data. From the perspective of a presentation layer client application, this comes in the form of in-memory data sources.
asp.net xml parser:SAX.NET
August 11, 2008 .Net, Open source — Tags: asp.net open source, asp.net read xml, asp.net write xml, xml for .net, xml parser — 52coding
SAX is the Simple API for XML, originally a Java-only API. SAX was the first widely adopted API for XML in Java, and is a de facto standard. Read more about it on the website of the SAX project. SAX for .NET is the port of SAX to C#. Read more about the differences between the Java version of SAX and the C# version by visiting the differences section.
Asp.net create Navigation Menu with XML Datasource
August 10, 2008 .Net — Tags: asp.net, asp.net menu, asp.net xml, menu, Xml, xml datasource, xml menu — 52coding
Throughout my Web designing days, I always needed navigation menus with dynamic content which are also easily editable and customizable. Last month, I decided to write a simple menu control which uses CSS to style and uses XML as source for menu items.
Visual Studio 2008 Samples for c#
July 30, 2008 .Net — Tags: Visual Studio 2008, Visual Studio 2008 sample — 52coding
LINQ Samples :We have created four sets of samples for you that are designed to help you learn LINQ quickly, and to act as a reference and guide for those with more advanced skills. A few handy utilities are also included.
.Net super MessageBox
July 29, 2008 .Net, Php — Tags: .net messagebox, MessageBox, winform, winform messagebox — 52coding
Some applications need a more advanced message box than MessageBox class provided by .NET. This article presents a .NET library called MessageForm that can be used instead of .NET MessageBox getting more features and improvements.
How to drag and drop multiple outlook mail messages
July 29, 2008 .Net — Tags: drag and drop window, outlook, winform — 52coding
A project came up at work the other day requiring the ability to drag and drop any number of mail messages or mail message attachments from outlook into a WinForm application… Easy I thought, this has to be a common problem I will just jump on CodeProject find an example and with a bit of tweaking be running in no time.
Silverlight Tutorial: Creating an navigation bar
July 22, 2008 .Net — Tags: Silverlight, Silverlight Tutorial — 52coding
Â
What Is Data Binding?
July 20, 2008 .Net — Tags: .net data binding, asp.net data binding, data binding — 52coding
Data binding is a solution to a problem that developers used to solve over and over in user-interface applications. In the past, if you wanted to present data to a user, you had to retrieve the data from where it was stored and get it into your application. You then had to write custom code to render the data with graphics, or you could manually populate properties on controls with the data to display it.
Asp.Net: write, read, deleted and append cookie
July 16, 2008 .Net — Tags: asp.net cookie, cookie, read cookie, set cookie — 52coding
Load:
if(!IsPostBack)
       {
           HttpCookie cookie = Request.Cookies["userinfo1"];
           cookie.Expires = System.DateTime.Now.AddMinutes(20);//set expire time
C# 2008 offers powerful new features, and Accelerated C# 2008 is the fastest path to mastery, for both experienced C# programmers moving to C# 2008 and programmers moving to C# from another object-oriented language.

