摘要:
C# 抽象方法Abstract 和 虚方法Virtual 抽象方法(abstract )相当于接口,根本就没有实现,只等着子类来重新。 虚方法(Virtual)好歹完成了点功能。 1:abstract 方法只能在抽象类中声明,而Virtual方法都可以。 2:abstract 方法必须在派生类中重写,而Virtual方法可以重写也可以不重写 3:abstract 方法不能声明方法实体, ... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Reflection; /// ///Linq To DataTable Type /// public static class DataSetLinqOp... 阅读全文
摘要:
var Query = dtNewPO.AsEnumerable().AsQueryable().FullOuterJoin(dtOldPO.AsEnumerable().AsQueryable(), p => p.Field("MaterielID") + p.Field("SalesOrderDetailID"), ... 阅读全文
摘要:
#region Parser /// /// Parser Analysis. /// /// [WebMethod] public bool Parser() { #region Initialization Variables string FileName, strXmlTemplateFolder... 阅读全文
摘要:
public string ChkSpelling(string word) { System.Type wordType = System.Type.GetTypeFromProgID("Word.Application"); object wd = System.Activator.CreateInstance(wordType); St... 阅读全文
摘要:
{ Int32 PageSize = 0; Int32 PageCount, RecCount, CurrentPage, Pages; bool isSorting = false; //True if the user is sorting a column int sortColumn; //The column number the user is ... 阅读全文
摘要:
insert into failurelog (ErrorMessage,[type],date) select ErrorMessage,[type],date from failurelog 阅读全文
摘要:
1.简单数据绑定定 2.数据源控件 控件名 控件描述 SqlDataSource 一切支持SQL语句的数据源控件 AccessDataSource Access数据源控件 XmlDataSource ... 阅读全文
摘要:
Default.aspx Three Join Union Form WeiZhi ... 阅读全文
摘要:
CREATE PROCEDURE northwind_OrdersPaged ( @PageIndex int, @PageSize int ) AS BEGIN DECLARE @PageLowerBound int DECLARE @PageUpperBound int DECLARE @RowsToReturn int -- First set the rowcount... 阅读全文