- .NET中C#实现C/S架构下的TREEVIEW只需要输入表名,父ID,节点ID,节点名就可以得到树型结
- 调用时如下: /// param name="newTreeView"树型控件名称/param /// param name="TreeViewName"一层的功能名称/param /// param name="TableName"数据库中的表名/param /// param name="ParentNameField"父节点的字段名/param /// param name="CurrentNameField"节点的字...
- 作者:未知发表于:2005-10-22 16:00:00 点击:84 评论:0 查阅全文...
- 汇总c#.net常用函数和方法集
- 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=currentTime.Day; 1.5 取当...
- 作者:未知发表于:2005-10-22 16:00:00 点击:130 评论:0 查阅全文...
- 用C#读取sina天气预报到wap页面(一)
- 页面代码: <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %><%@ Page language="c#" Codebehind="weather.aspx.cs" Inherits="goodwap.life.weather" AutoEventWireup="false" %><mobile:form id="Fo...
- 作者:未知发表于:2005-10-22 16:00:00 点击:100 评论:0 查阅全文...
- 用C#读取sina天气预报到wap页面(二)
- public class weather : System.Web.UI.MobileControls.MobilePage { protected System.Web.UI.MobileControls.Label Label1; protected System.Web.UI.MobileControls.Label Label2; protected System.Web.UI.MobileControls.SelectionList s_weather; protected Syst...
- 作者:未知发表于:2005-10-22 16:00:00 点击:91 评论:0 查阅全文...
- C#连接ACCESS和SQL2000
- using System; using System.Data; using System.Data.SqlClient; using System.Data.OleDb; namespace ConsoleApplication1 { /// summary /// Class1 的摘要说明。 /// /summary class Class1 { /// summary /// 应用程序的主入口点。 /// /summary [STAThread] stat...
- 作者:未知发表于:2005-10-22 16:00:00 点击:120 评论:0 查阅全文...
- C#获取本地计算机名,IP,MAC地址
- using System; using System.Drawing; using System.Management; using System.Net; using System.Net.Sockets; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace MAC_IP_name { /// summary /// Fo...
- 作者:未知发表于:2005-10-22 16:00:00 点击:159 评论:0 查阅全文...
- 身份证号码15位升18位(C#)
- 身份证号码15位升18位 身份证18位验证 18位身份证标准在国家质量技术监督局于1999年7月1日实施的GB11643-1999《公民身份号码》中做了明确的规定。 GB11643-1999《公民身份号码》为GB11643-1989《社会保障号码》的修订版,其中指出将原标准名称"社会保障号码"更名为"公...
- 作者:未知发表于:2005-10-22 16:00:00 点击:106 评论:0 查阅全文...
- C#技术内幕 学习笔记
- 引用类型是类型安全的指针,它们的内存是分配在堆(保存指针地址)上的。 String、数组、类、接口和委托都是引用类型。 强制类型转换与as类型转换的区别:当类型转换非法时,强制类型转换将抛出一个System.InvalidCastException异常, 而as不会抛出异常,它返回一个nul...
- 作者:未知发表于:2005-10-22 16:00:00 点击:130 评论:0 查阅全文...