05 2011 档案

摘要:<script type ="text/javascript"> $(document).ready(function(){ $("#Web1_hid").val($("#div").html()); // select add 1. $("#sel").append("<option value='213123'>24324</option>"); //add 2. var op = new Option(); op.text = " 阅读全文
posted @ 2011-05-23 23:07 乐上 阅读(302) 评论(0) 推荐(0)
摘要:Working ExampleThe following is an example showing an already populated select. Clicking the "Add option" button adds a new option to the end of the select and makes it the selected one. Clicking "Replace options" replaces them with a new set of options and then selects the " 阅读全文
posted @ 2011-05-23 14:40 乐上 阅读(1956) 评论(0) 推荐(0)
摘要:create proc [dbo].[backupdb]asbegindeclare @str varchar(1000);set @str = 'backup database runewcarsbd to disk =''D:\CarManage\db\'+convert(varchar(8),getdate(),112)+'runewcarsbd.bak'''exec (@str)end--还原数据库resotre database dbnamefrom disk = '' 阅读全文
posted @ 2011-05-13 17:47 乐上 阅读(185) 评论(0) 推荐(0)
摘要:<html><head><script type="text/javascript">//<!--function isIFrameSelf(){try{if(window.top ==window){return false;}else{return true;}}catch(e){return true;}}function toHome(){ if(!isIFrameSelf()){ window.location.href="http://www.baidu.com";}}window.setTimeou 阅读全文
posted @ 2011-05-13 09:38 乐上 阅读(159) 评论(0) 推荐(0)
摘要:update 表1 set from 表1,表2 where 阅读全文
posted @ 2011-05-12 11:05 乐上 阅读(199) 评论(0) 推荐(0)
摘要:就是这么简单-没有必要关心要那些表或配置表和对象的映射关系。在实践中,配置看起来如下:<configuration> <!-- 1 - Connection String(s) --> <connectionStrings> <add name="Northwind" connectionString="Data Source=.\sqlexpress;Initial Catalog=Northwind;Integrated Security=True"/> </connectionStrings&g 阅读全文
posted @ 2011-05-04 17:12 乐上 阅读(381) 评论(0) 推荐(0)