SQL 插入

"INSERT INTO [td_Account] ([AccountName],[Password],[AccountType],[RegisteredDate],[LastLoginDate],[IsBlocked],[ChattingBlocked],[MGameEventType],[ConnectingServerGroupID],[GameContinueTimeInSecondOfToday],[LastGameEndDate]) VALUES ('" + U_Name.Text + "','" + U_Pass.Text + "','0',getdate(),getdate(),'0','0','0','0','3638',getdate())"

insert into table_name (column1,column2,。。) values (value1,value2,。。)

<a href="url">链接的显示文字</a>  select @@version查询您SQL版本 hnhyjzbsd

 //如果数据校验成功

posted @ 2012-03-28 07:35  panpeng  阅读(196)  评论(0编辑  收藏  举报