· Figure 2.2
Output of Listing 2.1.2 when viewed through a browser.Adding Elements to a Hashtable
In Listing 2.1.2, we begin by creating an instance of the Hashtable class, htSalaries, on line 5. Next, we populate this hash table with our various employees and their respective ...
· using System;
using System.Data;
using System.Data.SqlClient;using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;namespace cj168.Web
{
/// <summary>
/// Summary description for showIssueCat.
/// </summary>
public class showIssueC...
· 下面给出一个完成的函数,仔细的体会一下。
function getConditions(strCity : String) : String
{
var now : Date = new Date();
switch (strCity.toUpperCase())
{
case "LONDON":
if (now.getMonth() <= 7 || now.getMonth() >= 9)
{
return ...
· This code was written in response to a message posted on one of Charles Carroll's ASP.NET lists. You can sign up for one or all of the lists here.
Code: <%@ Page Language="VB" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace=&q...
· 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...
· using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;n...
· 如何使用.NET将PowerPoint转为HTML文件
我们当然要使用Com组件了,所以要先安装powerpoint2000,在VS.NET里面添加一个refrence,找到microsoft PowerPoint object library 9.0,添加进来。
然后写如下代码,很简单,我就不必解释了:)
using System;
using Office;
using PowerPoint;namespace Cour...