SQL SERVER结构浏览器

2018-09-06 10:29

阅读:685

  从老外那儿转帖过来的

很酷,只要修改几个参数就可以了,很有帮助

<%@ LANGUAGE = JScript %>
<%
var ConnStr= DSN=admin;//
var UserLogin= sa;// input empty Login and Password,
var UserPassword= ;// if your DSN works via WinNT trust connection
var CharSet= gb2312;// as sample windows-1251
var PgSize= 10;
%>











written by







<%
var trColor1= #7f9faf, trColor2= #bfcfd7;
var trColor= trColor1;

function isDef( Value){
if( Value== ( Value+ )) return true;
return false;
}

function QOutSelect( Conn, Name, Value, FirstName, FirstValue, SQL, SSize){
var Rs= Conn.Execute( SQL);
);
if( FirstName!= )
+ FirstName);
for( ; !Rs.EOF; Rs.MoveNext()){
Id= Rs( 0);
Nm= Rs( 1);
if( Value== + Id) S= selected; else S= ;
+ Nm+ );
}
);
}

var S, DbName, TbName, Tbl, Row;
if( !isDef( DbName= Request.Form( DbName)))
DbName= Request.QueryString( DbName);
if( !isDef( TbId= Request.Form( TbId)))
TbId= Request.QueryString( TbId);
Tbl= Request.QueryString( Tbl);
Row= Request.QueryString( Row)/ 1;
%>



<%


评论


亲,登录后才可以留言!