· 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. <...
· 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...
· 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...
· 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...
· 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...
· HOW TO: Create an Assembly with a Strong Name--------------------------------------------------------------------------------
The information in this article applies to:Microsoft Visual Studio .NET Beta 2 -----------------------------------------------------------------------...
· 在很久很久以前----可能都快一年了吧,我第一次看 ASP.net (那时江湖人称 ASP+),看到 application, session 什么的,就和自己说“人在哪!人在哪!"
等到看到 web form server controls,更是忍不住窃笑----“不就是以前 vi6 dtc controls 吗,
你以为你穿了马甲我就不认识你了”。
随便翻了...
· 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...
· <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<TITLE>客户端DataSet</TITLE>
<SCRIPT>
var iRowIdx =...
· //
// m_cmdAuthorsDelete
//
this.m_cmdAuthorsDelete.CommandText = @"DELETE FROM authors WHERE (au_id = @au_id) AND (address = @address OR @address1 IS NULL AND address IS NULL) AND (au_fname = @au_fname) AND (au_lname = @au_lname) AN...