- 博客(16)
- 收藏
- 关注
asp.net使用menbarship时用此代替session
this.LabOrderPerson.Text = HttpContext.Current.User.Identity.Name;
2009-09-28 09:21:10
209
取得GrideView中的GrideView里内容的操作
GridView product = (GridView)e.Row.FindControl("GvProduct"); GridViewRow row = product.Rows[i]; string factoryDate = ((Label)row.Cells[4].FindControl("LbeFactory")).T...
2009-09-25 17:42:49
322
数据库select最大值
select kou.*,syo.productname,g.gouinfo,jya.jyanruname,kik.planname from koukoku kou join (select max(kk.contractsubcode) as maxcontractsubcode,kk.contractcode,kk.adcode from koukoku ...
2009-09-17 15:35:15
705
C#list临时数据源操作
//临时数据源 private IList getData() { IList data = new ArrayList { new {登録番号 = "2006", 部品番号 = "INSIGHT プリント 20cm", 部品名 = "プリント",详细显示 = "详细显示"}, }; ...
2009-09-17 15:31:52
330
C#insert,update_id最大值+1
/// /// 登录主材料信息 /// /// 主材料对象 /// void public void Insert(List materialDetailList) { DataClassesDataContext db = this.CreateContext(); //构建每个material...
2009-09-17 15:26:39
374
C#list分页排序
/// /// 查询用户 /// /// 用户名 /// 角色 /// 开始行数 /// 最大行数 /// 排序 /// 用户List public IList GetUsers(string userName, string role, int skipResults, int maxResults, ...
2009-09-17 15:22:20
553
C#,弹出成功信息框
//弹出成功信息框 ClientScript.RegisterStartupScript(this.GetType(), "message", "alert('" + Resources.SysMsgConfirm.SY_MSG_0001S + "');");
2009-09-17 15:21:03
639
C#,ajx提示框
protected void Page_Load(object sender, EventArgs e) { confirm.ConfirmText = “”; }
2009-09-17 15:19:34
141
原创 显示文件列表
import java.io.BufferedOutputStream;import java.io.File;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.PrintWriter;import java.text.SimpleDateFormat;im...
2009-05-15 10:22:10
184
原创 显示文件夹下的内容
import java.io.*;import java.util.Date;public class listFile { private static String listFileStr = ""; public static void main(String[] args) throws IOException { //File file = new Fi...
2009-05-08 17:33:39
208
原创 分割,合并文件
//拆分文件 public static void splitFile(File file,int size) throws Exception...{ if(size0)...{ if(k!=m) ...{ if(fos!=null)...{ ...
2009-05-08 16:57:24
123
原创 定时器程序
import java.util.Timer;import java.util.TimerTask;class MyTask extends TimerTask...{ String name; public MyTask(String name)...{ this.name = name; } public void run()....
2009-05-08 16:56:00
236
原创 java文件处理之压缩,分割
import java.io.BufferedInputStream;import java.io.BufferedOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.InputStream;import ...
2009-05-08 16:53:43
142
原创 程序设计
[b]asp.net 按钮触发错误信息[/b]CausesValidation="false"不触发RequiredFieldValidator之类的错误信息MaxLength设置输入长度
2009-01-06 15:43:34
107
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅