'Dim ThirdName As String = CType(Session.Item("FF"), String)
End Sub
3.给你一个print.js文件:
// The code by Captain <cerebrum@iname.com>
// Mead & Company, http://www.meadroid.com/wpm/
// fake print() for IE4.x
if ( !printIsNativeSupport() ) {
window.print = printFrame;
}
// main stuff
function printFrame(frame, onfinish) {
if ( !frame ) {
frame = window;
}
if ( frame.document.readyState !== "complete" &&
!confirm("The document to print is not downloaded yet! Continue with printing?") ) {
if ( onfinish ) {
onfinish();
}
return;
}
if ( printIsNativeSupport() ) {
/* focus handling for this scope is IE5Beta workaround,
should be gone with IE5 RTM.
*/
var focused = document.activeElement;
frame.focus();
frame.self.print();
if ( onfinish ) {
onfinish();
}
if ( focused && !focused.disabled ) {
focused.focus();
}
return;
}
var eventScope = printGetEventScope(frame);
var focused = document.activeElement;