摘要:
using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebContr... 阅读全文
摘要:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using NetBar_Info;
using System.IO;
namespace kmmWeb.nutrition
{
///
/// NutAdd 的摘要说明。
///
public class NutAdd : System.Web.UI.Page
{
protected Syste 阅读全文
摘要:
一、验证类
1、数字验证内
1.1 整数
1.2 大于0的整数 (用于传来的ID的验证)
1.3 负整数的验证
1.4 整数不能大于iMax
1.5 整数不能小于iMin
阅读全文
摘要:
alter proc sp_getChecklistBox@str varchar(50)asdeclare @sql varchar(4000)set @sql='declare @tb table(id int,usid int)insert into @tb select id,usid from TOp_TestReport where usid in('+@str+')select *... 阅读全文
摘要:
VS.NET 2003 控件命名规范 Type Prefix Example Array arr arrShoppingList Boolean bln blnIsPostBack Byte byt bytPixelValue Char chr chrDelimiter DateTime dtm dtmStartDate Decimal... 阅读全文
摘要:
解释: var IE1024="";var IE800="";var IE1152="";var IEother="";引号里面分别填写,用户使用IE的时候并且分辨率为1024*768,800*600,1152*864要使用的css文件名. var Firefox1024="";var Firefox800="";var Firefox1152="";var Firefoxother="";... 阅读全文
摘要:
public void jumppage(System.Web.UI.WebControls.DataGrid dg)
{
int int_PageLess; //定义页面跳转的页数
//如果当前页是最后一页
if(dg.CurrentPageIndex == dg.PageCount-1)
阅读全文
摘要:
作为一个blogger,适当的推广是需要的。博客推广总结起来,有三个渠道:一是把博客提交到传统的搜索引擎,二是把博客提交到专业的博客搜索引擎,第三个渠道就是提交到各博客推广平台。
阅读全文