getpro

个人备份用,不保证一定正确

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

12 2011 档案

摘要:CS string connectionString = "server=.\\SQLEXPRESS;database=BookStore;uid=sa;pwd=sa"; string selectStrin = "Select * from Books"; SqlConnection conn = new SqlConnection(connectionString); SqlCommand command = new SqlCommand(selectStrin, conn); conn.O... 阅读全文
posted @ 2011-12-31 07:00 getpro

摘要:HTML<html><head><title></title><script type="text/javascript" src="/Scripts/jquery-1.5.1.min.js"></script><script type="text/javascript"> var start_flag=0;$(document).ready(function(){ $("#start").click(function(){if(s 阅读全文
posted @ 2011-12-30 06:31 getpro

摘要:View<script src="@Url.Content("~/Scripts/MicrosoftAjax.js")" type="text/javascript"></script><script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script><div id="TimePnl" 阅读全文
posted @ 2011-12-30 03:11 getpro

摘要:View@{ ViewBag.Title = "Index";}<script type="text/javascript"> function GetTime() { $.post("Default1/GetTime/", function (response) { $("#TimePnl").html(response); }); return false; } function GetUserName(UserName) { $.get("Default1/GetUserName/?Us 阅读全文
posted @ 2011-12-29 22:42 getpro