asp.net2005+javascript+SqlServer2000

爱她就要好好地呵护她

 

最新评论

共2页: 1 2 下一页 
哦? 我的版本是7.0的aspnetpager你这个方法不适合我啊
验证此方法有不足
re: Array.splice()--删除数组中重复的数据 111111111111111111111111111 2008-12-20 19:03  
只是前后两个对照,万一重复的数据没有相邻呢?
是对于排好了序的~
re: Array.splice()--删除数组中重复的数据 求知无傲 2008-06-19 16:26  
确实如楼上朋友所说这样是错的呢
借鉴。
[1,1,2,2,3,3,1,5,7,10]
错的!
re: .net2005中对asp.net中GridView的常用操作 g無s所q畏 2008-04-09 02:16  
兄弟写的什么鸡巴玩意
re: sql 自动补位 g無s所p畏 2008-02-01 09:32  
利用上述功能,发布一个自动创建与时间相关联的表的存储过程
eg:

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

-- =============================================
-- Author: gongshaoping
-- Create date: 2008-01-31
-- Description: 动态创建表
-- =============================================
ALTER PROCEDURE [dbo].[AutoCreateTableByDate]
-- Add the parameters for the stored procedure here
@tbFistName varchar(50)--表名中日期前面的名字 eg:Salary_QueryRecord200801 中的 Salary_QueryRecord
AS
BEGIN
SET NOCOUNT ON;
declare @sql varchar(5000)
declare @tbName varchar(30)
--取得日期
set @tbName=@tbFistName+ cast(year(getdate()) as char(4))+ right(100+month(getdate()),2)
declare @i int
set @i=0
while(@i<35)
begin
if @i<11--一年以内
begin
set @tbName=@tbFistName+cast(year(getdate()) as char(4))+ right(100+month(dateadd(month,@i,getdate())),2)
end
else if 11<=@i and @i<23--大于一年
begin
set @tbName=@tbFistName+cast(year(dateadd(year,1,getdate())) as char(4))+ right(100+month(dateadd(month,(@i-12),getdate())),2)
end
else--今年以后的第三年
begin
set @tbName=@tbFistName+cast(year(dateadd(year,2,getdate())) as char(4))+ right(100+month(dateadd(month,(@i-24),getdate())),2)
end
--准备三年的表
/***** -- Script Date: 02/01/2008 09:00:49 ******/ --print @tbName
set @sql='
CREATE TABLE '+@tbName+'(
CompanyID [int] NOT NULL,
RecruiterID [int] NOT NULL,
JobLocation_Code [varchar](50) NOT NULL,
JobIndustry_Code [varchar](50) NOT NULL,
JobFunction_Code [varchar](50) NOT NULL,
Sys_CreateDate [datetime] NOT NULL DEFAULT (getdate()),
ServicePlanID [int] NOT NULL,
IP [varchar](20) NOT NULL)'
--print @sql
exec (@sql)
set @i=@i+1
end
END

re: Array.splice()--删除数组中重复的数据 java综合网 2007-12-30 22:30  

http://www.javazh.cn
不错,不错
错的
最好的方法 g無s所p畏 2007-05-23 08:53  
<asp:TemplateField HeaderText="序号">
<ItemTemplate>
<asp:Label ID="lbNum" runat="server" Text='<%# Container.DataItemIndex + 1%>'>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
Grid中添加一列,将其设为模板列,在HTML模式下添加如下代码:

<asp:TemplateField HeaderText="序号">
<ItemTemplate>
<%# Container.DataItemIndex+1 %>
</ItemTemplate>
</asp:TemplateField>
re: 求助:C#读取邮件 deerchao 2007-03-13 11:02  
@ForrestSun
那个是发送邮件,不是接收邮件。
re: 求助:C#读取邮件[未登录] ForrestSun 2007-03-13 10:37  
re: 求助:C#读取邮件 deerchao 2007-03-12 18:51  
LumiSoft.Net里有Pop3协议的实现,以及MIME的编码解码。
库下载:http://www.lumisoft.ee/lsWWW/download/downloads/Net/LumiSoft.Net.zip
帮助文件下载:http://www.lumisoft.ee/lsWWW/download/downloads/Net/LumiSoft.Net.Help.zip
re: 求助:C#读取邮件 一瓢清水 2007-03-12 17:56  
openpop开源
http://zxbin.cn/zxb/blog/article.asp?id=7
上面我的文章里有介绍。
re: 文件的上传下载示例 士大夫 2006-11-23 21:28  
地方哦
共2页: 1 2 下一页 

导航

统计