当前位置: 网学 > 编程文档 > ASP > 正文

在线数据库管理工具(db007) v1.5

来源:Http://myeducs.cn 联系QQ:点击这里给我发消息 作者: 用户投稿 来源: 网络 发布时间: 13/06/17
"UserDefined"
case adVariant:typ = "Variant"
case adIDispatch:typ = "IDispatch"
case adIUnknown:typ = "IUnknown"
case adGUID:typ = "GUID" ''GUID
case adDATE:typ = "DateTime" ''Date
case adDBDate:typ = "DBDate"
case adDBTime:typ = "DBTime"
case adDBTimeStamp:typ = "DateTime" ''DBTimeStamp
case adBSTR:typ = "BSTR"
case adChar:typ = "Char"
case adVarChar:typ = "VarChar"
case adLongVarChar:typ = "LongVarChar"
case adWChar:typ = "Text" ''WChar类型 SQL中为Text
case adVarWChar:typ = "VarChar" ''VarWChar
case adLongVarWChar:typ = "Text" ''LongVarWChar
case adBinary:typ = "Binary"
case adVarBinary:typ = "VarBinary"
case adLongVarBinary:typ = "LongBinary"''LongVarBinary
case adChapter:typ = "Chapter"
case adPropVariant:typ = "PropVariant"
case else:typ = "Unknown"
end select
End Function

''==================================================================返回字段类型列表
Function fieldtypelist(n)
dim strlist,str1,str2
strlist = "<select name=""field_type"">"
if session("dbtype") = "access" then
strlist = strlist & "<option value=""VarChar"">文本</option>"
strlist = strlist & "<option value=""Text"">备注</option>"
strlist = strlist & "<option value=""Bit"">(是/否)</option>"
strlist = strlist & "<option value=""TinyInt"">数字(字节)</option>"
strlist = strlist & "<option value=""SmallInt"">数字(整型)</option>"
strlist = strlist & "<option value=""Integer"">数字(长整型)</option>"
strlist = strlist & "<option value=""Single"">数字(单精度)</option>"
strlist = strlist & "<option value=""Double"">数字(双精度)</option>"
strlist = strlist & "<option value=""Numeric"">数字(小数)</option>"
strlist = strlist & "<option value=""GUID"">数字(同步ID)</option>"
strlist = strlist & "<option value=""DateTime"">时间/日期</option>"
strlist = strlist & "<option value=""Money"">货币</option>"
strlist = strlist & "<option value=""Binary"">二进制</option>"
strlist = strlist & "<option value=""LongBinary"">长二进制</option>"
strlist = strlist & "<option value=""LongBinary"">OLE 对象</option>"

else
strlist = strlist & "<option value="""">选择类型</option>"
strlist = strlist & "<option value=""BigInt"">bigint</option>"
strlist = strlist & "<option value=""Binary"">binary(二进制数据类型)</option>"
strlist = strlist & "<option value=""Bit"">bit(整型)</option>"
strlist = strlist & "<option value=""Char"">char(字符型)</option>"
strlist = strlist & "<option value=""DateTime"">datetime(日期时间
  • 上一篇资讯: ASP中过滤UBB和Html标签
  • 下一篇资讯: Response.Flush的使用心得
  • 网学推荐

    免费论文

    原创论文

    浏览:
    设为首页 | 加入收藏 | 论文首页 | 论文专题 | 设计下载 | 网学软件 | 论文模板 | 论文资源 | 程序设计 | 关于网学 | 站内搜索 | 网学留言 | 友情链接 | 资料中心
    版权所有 QQ:3710167 邮箱:3710167@qq.com 网学网 [Myeducs.cn] 您电脑的分辨率是 像素
    Copyright 2008-2015 myeducs.Cn www.myeducs.Cn All Rights Reserved
    湘ICP备09003080号