|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Dumb questions from a newbie
Is ths what you intended? I get error
"Microsoft JScript runtime error Type mismatch line = 29, col = 12 (line is offset from the start of the script block). Error returned from property or method call.'"
conn.Open(connection);
cmd.CommandText = "SELECT * FROM " + tablename;
cmd.ActiveConnection = conn;
rs = cmd.Execute();
ErrCount = conn.errors.count;
if(ErrCount > 0){
for(Err = 0; Err < ErrCount; Err++){
output += conn.errors.item(Err);
}
}
else{
output += "\n";
while (!rs.EOF) {
var row = tdom.createNode(1, 'row', '');
row = od.appendChild(row); for (var fPos = 0; fPos < rs.fields.count; fPos++) {
row.setAttribute(rs.fields(fPos).name,rs.fields(fPos).value);
}
rs.MoveNext;
}
return od.selectNodes("*");
}
}From: "Chris Bayes" <chris@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: Dumb questions from a newbie Date: Wed, 12 Dec 2001 01:04:25 -0000 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








