![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#内容
文章平均质量分 78
andylaudotnet
精通.net sqlserver
熟悉J2EE orancle
了解PHP mysql
展开
-
C#中金额格式数据处理的一些方法
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;namespace SystemFramework.CommonFunctions{ /// /// Summary description f原创 2007-08-21 11:25:00 · 1509 阅读 · 0 评论 -
比较复杂的字符串处理
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System .IO ;using System .Text .RegularExpressions;namespac原创 2009-02-10 11:31:00 · 371 阅读 · 0 评论 -
一个说明抽象类的好例子
using System;namespace C_Project{ public abstract class Vehicle //抽象父类 { protected int wheels; protected float weight; protected readonly static int staticWheels = 1;原创 2009-02-10 11:28:00 · 468 阅读 · 0 评论 -
根据制定的XSLT模板将XML数据转化为规定的格式显示出来
/// 根据制定的XSLT模板将XML数据转化为规定的格式显示出来 /// author: duanshaolin /// /// /// /// public static string GetHtmlContent(string strXml,string strXsltPath) { string htmlContent; XmlDocument doc=原创 2009-02-10 11:25:00 · 291 阅读 · 0 评论 -
改写后的分页自定义控件
using System;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Security.Permissions;using System.Collections.Specialized;原创 2009-02-10 11:38:00 · 374 阅读 · 0 评论 -
AjaxPro在.NET中的应用
一、简介 Ajax(Asynchronous JavaScript + XML)应用可以仅向服务器发送并取回必需的数据,它使用SOAP或其它一些基于XML的web service接口,并在客户端采用JavaScript处理来自服务器的响应。因为在服务器和浏览器之间交换的数据大量减少,结果我们就能看到响应更快的应用。同时很多的处理工作可以在发出请求的客户端机器上完成,所以Web服务器的处理时转载 2009-02-10 12:31:00 · 302 阅读 · 0 评论 -
面试题归纳
经典的.net面试题目1, 请你说说.NET中类和结构的区别? 答:结构和类具有大体的语法,但是结构受到的限制比类要多。结构不能申明有默认的构造函数,为结构的副本是又编译器创建和销毁的,所以不需要默认的构造函数和析构函数。结构是值类型,所以对结构变量所做的改变不会影响其的原值,而类是应用类型,改变其变量的值会改变其原值。申明结构用Struck关键字,申明类用class关键字,向方法传递结构原创 2009-02-10 11:48:00 · 454 阅读 · 0 评论 -
网页excel导出类
using System;using System.Web;using System.Web.UI.WebControls;using System.Web.UI;using System.IO;namespace Etmc.App.ETicket.Utility{ /// /// Exports a Control to a excel file. /// /// Microsoft原创 2009-02-10 11:40:00 · 721 阅读 · 0 评论 -
一个简单的多线程例子
using System;using System.Threading;namespace C_Project{ class Threading { public Threading() { } public static void Main(string[] args) { Thread thread原创 2009-02-10 11:29:00 · 352 阅读 · 0 评论 -
C#读写文件总结
C#写入/读出文本文件 publicvoidPage_Load(Objectsrc,EventArgse) { StreamWriterrw=File.CreateText(Server.MapPath(".")+"//myText.txt"); rw.WriteLine("追逐理想"); rw.WriteLine("kzlll"); rw.WriteLine(".NET笔记"); rw.Flu原创 2009-02-10 11:41:00 · 2915 阅读 · 1 评论 -
较好的缓存类
using System;using System.Collections;using System.Web;using System.Web.Caching;namespace Etmc.App.ETicket.Utility{ /// /// 缓存的工具类 /// public class CacheUtility { /// /// 用于缓存NULL数据 /// pu原创 2009-02-10 11:35:00 · 368 阅读 · 0 评论 -
C#请求网址Get和Post两种方法
须引入的命名空间有:using System.IO;using System.Net;using System .Text; Post方法: ASCIIEncoding encoding=new ASCIIEncoding(); string post原创 2009-02-10 11:29:00 · 1233 阅读 · 1 评论 -
一个定时器
using System;using System.Timers;using System .Threading ;namespace ConsoleApplication1{ /// /// Class1 的摘要说明。 /// class Class1 { private static int i=0; /// /// 应用程序的主入口点。 /// [STAThread]原创 2009-02-10 11:28:00 · 244 阅读 · 0 评论 -
理解.Net的三层架构
各层的作用 1:数据数据访问层:主要是对原始数据(数据库或者文本文件等存放数据的形式)的操作层,而不是指原始数据,也就是说,是对数据的操作,而不是数据库,具体为业务逻辑层或表示层提供数据服务.2:业务逻辑层:主要是针对具体的问题的操作,也可以理解成对数据层的操作,对数据业务逻辑处理,如果说数据层是积木,那逻辑层就是对这些积木的搭建。3:表示层:主要表示WEB方式,也可以表示成WINFORM方式,转载 2009-02-10 11:24:00 · 253 阅读 · 0 评论 -
asp.net页面导出为Excel文档
using System;using System.Web;using System.Data;using System.Text;using System.Configuration;namespace SystemFramework{ /// /// Summary description for AppExcel. /// public class AppExcel { pub原创 2007-08-29 13:21:00 · 583 阅读 · 0 评论 -
C#中日期格式数据的一些处理方法
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;namespace SystemFramework.CommonFunctions{ /// /// Summary description f原创 2007-08-21 11:26:00 · 1707 阅读 · 0 评论 -
C#中字符串处理的一些自定义方法
using System.Collections.Generic;using System.Linq;using System;using System.Configuration;using System.Text;using System.Text.RegularExpressions;using System.Xml;using System.Web;using System.Colle原创 2007-08-21 11:24:00 · 1106 阅读 · 0 评论 -
C#调用系统API函数实例
using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;namespace ConsoleApplication4{ class Program { //API函数的声明如下: [DllImport("kern原创 2009-02-20 17:06:00 · 1338 阅读 · 1 评论