資源簡介
c#實現web ajax通訊的例子,無第三方插件、腳本,無ajax.js類庫,c#實現。運行IE9以上,IIS,.net 4.0,代碼其他.net版本也可以編譯通過。非IE瀏覽器用極速模式瀏覽,因為兼容模式支持IE的版本太低,除火狐外,其他瀏覽器均正常顯示。例子包括:自定義滾動條、css3繪圖、c#實現ajax原理等。做了“”頻道“部分,其他部分原理相同就沒做了。最右側未放功能,空白。為了便于學習,沒用數據庫,全在緩存中進行數據交互,把代碼里127.0換成你的地址。多找幾臺機子,配好iis,試試。
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Web;
using?System.Web.UI;
using?System.Web.UI.HtmlControls;
using?System.Web.UI.WebControls;
namespace?ajax_test
{
????public?partial?class?_default?:?System.Web.UI.Page
????{
????????protected?void?Page_Load(object?sender?EventArgs?e)
????????{
????????????Table?Table_frame;
????????????Table_frame?=?new?Table();
????????????Table_frame.HorizontalAlign?=?HorizontalAlign.Center;
????????????Table_frame.Width?=?1000;?
????????????Table_frame.CellPadding?=?0;
????????????Table_frame.CellSpacing?=?0;
????????????TableRow?Table_frameRow?=?new?TableRow();
????????????Table_frameRow.ID?=?“take_row1“;
????????????Table_frameRow.CssClass?=?“set_display_off“;
????????????TableCell?Table_frameC
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????34304??2016-11-19?11:19??bin\ajax_test.dll
?????文件????????311??2016-10-30?19:29??bin\ajax_test.dll.config
?????文件??????24064??2016-11-19?11:19??bin\ajax_test.pdb
?????文件???????1083??2012-02-18?15:25??images\arrow_down.png
?????文件???????1056??2012-02-18?15:25??images\arrow_up.png
?????文件??????27658??2016-11-13?21:31??images\bg1.jpg
?????文件????????719??2016-11-13?20:08??images\ed1.png
?????文件????????450??2016-11-13?20:27??images\ed2.png
?????文件????????708??2016-11-13?20:15??images\ed3.png
?????文件????????470??2016-11-13?20:17??images\eda.png
?????文件???????7028??2013-08-13?15:30??images\edit\1.png
?????文件???????7623??2013-08-13?15:31??images\edit\10.png
?????文件???????8109??2013-08-13?15:31??images\edit\11.png
?????文件???????7844??2013-08-13?15:31??images\edit\12.png
?????文件???????8182??2013-08-13?15:31??images\edit\13.png
?????文件???????7743??2013-08-13?15:31??images\edit\14.png
?????文件???????7097??2013-08-13?15:31??images\edit\15.png
?????文件???????6291??2013-08-13?15:31??images\edit\16.png
?????文件???????7491??2013-08-13?15:31??images\edit\17.png
?????文件???????8140??2013-08-13?15:31??images\edit\18.png
?????文件???????7029??2013-08-13?15:31??images\edit\19.png
?????文件???????7684??2013-08-13?15:31??images\edit\2.png
?????文件???????7446??2013-08-13?15:31??images\edit\20.png
?????文件???????7268??2013-08-13?15:31??images\edit\21.png
?????文件???????7872??2013-08-13?15:31??images\edit\22.png
?????文件???????7555??2013-08-13?15:31??images\edit\23.png
?????文件???????7812??2013-08-13?15:31??images\edit\24.png
?????文件???????7819??2013-08-13?15:31??images\edit\25.png
?????文件???????8302??2013-08-13?15:31??images\edit\26.png
?????文件???????7264??2013-08-13?15:31??images\edit\27.png
............此處省略69個文件信息
- 上一篇:使用SignalR實現消息提醒(聊天源碼)
- 下一篇:WPF流布局效果(拖動)
評論
共有 條評論