03 2012 档案

摘要:***select***select *from table1, table2where table1.id *= table2.id -------- 左外部连接,table1中有的而table2中没有得以null表示table1.id =* table2.id -------- 右外部连接select stockname from table1union [all] ----- union合并查询结果集,all-保留重复行select stockname from table2***insert***insert into table_name (Stock_name,Stock_numb 阅读全文
posted @ 2012-03-30 15:11 SOD_QWER 阅读(118) 评论(0) 推荐(0)
摘要:jQuery AJAX实现调用页面后台方法和web服务定义的方法1. 新建demo.aspx页面。2. 2.首先在该页面的后台文件demos.aspx.cs中添加引用。Using system.web.services;3.无参数的方法调用.版本不能低于.net framework 2.0。2.0已下不支持的。后台代码:[WebMethod] publicstatic string SayHello() { return "Hello Ajax!"; }JS代码:$(function(){ $("#btnOK").click(function(){ $. 阅读全文
posted @ 2012-03-01 20:12 SOD_QWER 阅读(196) 评论(0) 推荐(0)