摘要:
这些需求应该在浏览器端实现.(用 vbscript 或 javascript )<br>
<br>
如:<br>
<img src="javascript:n=1;do{window.open(http://www.sina.com/index.html);<br>
n=n+1;}while(n==1)......
摘要:
using system;
using system.web.ui.webcontrols;
using system.data;
/*
* the control assumes the following:
*
* 1) it is bound to a dataview object.
* 2) the app will use direct sql comma......
一个SDK里做聊天室的例子(2)
nested enum for supported states
public enum status
listening
connected
end enum status
start up the talkers functionality
public sub start()
threadpool.queueuserworkitem(new system.threading.waitcallback(addressof establishsocket))
end sub start
establish a socket connection and start receiving
private sub establishsocket(byval state as object)
try
if not client, setup listner
if not client then
dim listener as socket
try
listener = new socket(addressfamily.internetwork, sockettype.stream, protocoltype.tcp)
listener.blocking = true
listener.bind(endpoint)
setstatus(status.listening)
listener.listen(0)
socket = listener.accept()
&nbs...
下一页 摘要:
frmmain.aspx.cs
using system;
using system.collections;
using system.componentmodel;
using system.data;
using system.data.sqlclient;
using system.drawing;
using system.web;
using system.web.s......