2009年9月16日

摘要: asp:DropDownList 的联动效果:<asp:DropDownList ID="drpLstYear" runat="server" Height="16px" Width="104px" onselectedindexchanged="drpLstYear_SelectedIndexChanged" AutoPostBack="True"> <asp:ListIte... 阅读全文

posted @ 2009-09-16 16:07 邬江-远波 阅读(294) 评论(0) 推荐(0) 编辑

摘要: 前台代码:<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile ="~/GatherModl.Master" CodeBehind="WeekGatherOfOneDailyAmWF.aspx.cs" Inherits="OfficeAnywhere.CheckOnWorkAttendance.WeekGatherOfOne... 阅读全文

posted @ 2009-09-16 15:31 邬江-远波 阅读(695) 评论(0) 推荐(0) 编辑

2009年9月15日

摘要: protected void butOk_Click(object sender, EventArgs e) { Gory gory = new Gory(); bool b; string strpath = FileUpload1.PostedFile.FileName.ToString(); string fname = FileUpload1.FileName.ToString(); st... 阅读全文

posted @ 2009-09-15 22:04 邬江-远波 阅读(259) 评论(0) 推荐(0) 编辑

摘要: // File: CommonCheckOnWorkAttendanceDAL.cs// Author: Administrator// Created: 2009年5月8日 14:15:22// Purpose: Definition of Class CommonCheckOnWorkAttendanceDALusing System;using System.Text;using Syste... 阅读全文

posted @ 2009-09-15 21:52 邬江-远波 阅读(288) 评论(0) 推荐(0) 编辑

摘要: SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO--向ExamineAndApprove审批表中出发待审批的状态CREATE trigger [dbo].[T_insert_ItemInfo]on [dbo].[ItemInfo] for insert as begin transaction--准备修改 declare @ItemId int set @... 阅读全文

posted @ 2009-09-15 21:49 邬江-远波 阅读(254) 评论(0) 推荐(0) 编辑

2009年6月15日

摘要: this.button1.Click += new System.EventHandler(this.button1_Click);//委托调用相关的程序private void button1_Click(object sender, System.EventArgs e){…}///////////////////////////////////委托的形式如下[修饰符] deleg... 阅读全文

posted @ 2009-06-15 23:44 邬江-远波 阅读(174) 评论(0) 推荐(0) 编辑

2008年12月27日

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Drawing; using System.Drawing.I... 阅读全文

posted @ 2008-12-27 22:22 邬江-远波 阅读(323) 评论(0) 推荐(0) 编辑

摘要: using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using System.Configuration; using System.Data; namespace FriendsInfoAdministrators.Web.sqlDB { #regi... 阅读全文

posted @ 2008-12-27 22:20 邬江-远波 阅读(403) 评论(2) 推荐(0) 编辑

摘要: using System.Windows.Forms; //MessageBox .Show (string .Format ("(long) {0} = {1}", intValue, longValue)); public class MyClass { public readonly string Name; private int intVal; public... 阅读全文

posted @ 2008-12-27 19:35 邬江-远波 阅读(168) 评论(0) 推荐(0) 编辑

摘要: static int F(int a, int b) { throw声明 and try声明 if (b == 0) throw new Exception("D... 阅读全文

posted @ 2008-12-27 19:33 邬江-远波 阅读(227) 评论(0) 推荐(0) 编辑