当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 连接数据库coreDB,向表myBBS中插入文章。
 

 

 ·网站结构设计规划书    »显示摘要«
    摘要:用dw建立了一个站点,随后进行测试一切正常,上传到服务器,才想起来,路经要相对,而且尽量不要出现“。。/”,要不然网站就出现了问题!给她讲不一定懂,所以,找出自己以前写的“网站规划书”来说明问题。嘿嘿! 建站框架规范书之——文件命名 1 大多数文件以英文命名,争取以最少的字母达到达到最容易理解的意义; 2 以菜......
 ·asp 中处理异常    »显示摘要«
    摘要:on error resume nextset rs=server.createobject("adodb.recordset")rs.open "select * from t_student where id=0",my_conn,1,3rs.addnewrs("studentid")="98106"rs(&quo......


ADO.Net:使用DataReader向数据库中插入数据

连接数据库coredb,向表mybbs中插入文章.表mybbs的定义如下:

if exists (select * from dbo.sysobjects where id = object_id(n´[dbo].[mybbs]´) and objectproperty(id, n´isusertable´) = 1) 【程序编程相关:Mono开发指南——第四章 Mono 初

【推荐阅读:The Oracle JDevelope

drop table [dbo].[mybbs] 【扩展信息:Mono开发指南——第五章 Gtk#编

go

create table [dbo].[mybbs] (

 [id] [bigint] identity (1, 1) not null ,

 [title] [char] (160) collate chinese_prc_ci_as null ,

 [author] [char] (20) collate chinese_prc_ci_as null ,

 [date_of_created] [datetime] null ,

 [abstract] [char] (480) collate chinese_prc_ci_as null ,

 [content] [ntext] collate chinese_prc_ci_as not null


...   下一页
 ·我写asp时常用到的一些函数(2)    »显示摘要«
    摘要:´//过滤脏话函数function chkbadwords(fstring,badwords)dim bwords bwords = split(badwords, "|") for i = 0 to ubound(bwords) fstring = replace(fstring, bwords(i), string(len(bwords(i)),"*&......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE