· using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Web;
using System.Web.Services;namespace ClientSideDataSets
{
public class ClientDataSetDataProvider : System.Web.Se...
· 在很久很久以前----可能都快一年了吧,我第一次看 ASP.net (那时江湖人称 ASP+),看到 application, session 什么的,就和自己说“人在哪!人在哪!"
等到看到 web form server controls,更是忍不住窃笑----“不就是以前 vi6 dtc controls 吗,
你以为你穿了马甲我就不认识你了”。
随便翻了...
· HOW TO: Create an Assembly with a Strong Name--------------------------------------------------------------------------------
The information in this article applies to:Microsoft Visual Studio .NET Beta 2 -----------------------------------------------------------------------...
· Migrating to ASP .NET: Key Considerations
Jim Kieley
Microsoft Corporation
July 2001
Summary: This article explores some basic considerations for moving existing ASP applications to the ASP .NET environment as quickly and efficiently as possible. (18 printed pages)Contents
In...
· This article revolves around being plain lazy. When it comes to creating Form code based on some database table, I hate it! This code sample goes along way in speeding this process up for me. There still is some manual parts to finish up the form code but this takes care o...
· WebPoll in C# is implemented as a User Control in a Vs.Net Beta2 project. The database behind the control is SQL Server, but it could easily be moved to Access. I needed a WebPoll for my site, saw one done on ASPToday in VBScript for regular ASP. I made a few modifications a...
· Using Parentheses with Method Calls
In ASP, you could freely call methods on objects without using parentheses, as shown below: Sub WriteData() Response.Write "This is data"End SubWriteData
In ASP .NET, you must use parentheses with all of your calls, even for met...
· Authorization
Once your users have been authenticated, you can focus on authorizing what resources you would like them to have access to. The following sample shows access being granted to "jkieley" and "jstegman," while everyone else is denied access. <...
· testform.cs
------------------------------------------------------------
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Net;namespace testagain
{
/// <summary>
/// Summary descr...
· The Parse method converts a string that represents a .NET Framework numeric base type to an actual .NET Framework numeric base type. It takes the following forms, where XXX is the name of the numeric base data-type class:public static XXX Parse(String s);
public static XXX Pa...
· The DateTime data type also contains a Format method and a ToString method that return a string-formatted representation of the original value. The Format method can be used to format a value in one of fifteen common ways, while the ToString method can only be used to format ...
· http://msdn.microsoft.com/library/dotnet/cpguide/cpconpicturenumericformatstrings.htm(直接的连接url)
If the built-in formatting strings do not provide the type of formatting you require, you can use picture format strings to create custom string output. Picture format strin...
· http://msdn.microsoft.com/library/dotnet/cpguide/cpconstandardnumericformatstrings.htm(这个是连接url)
Standard Numeric Format Strings are used to return commonly used numeric string types. They take the form X0, where X is the format specifier and 0 is the precision specifi...