ASP.NET Learning
文章平均质量分 71
zhangxiao86
这个作者很懒,什么都没留下…
展开
-
New Learning through Frank's site development
1, If you want keep an aspx page stay there position when an event post back, Use this on the top of the page, 2, If you want use some tool for post back event, like CheckBox, Radio etc.原创 2012-02-20 09:23:32 · 264 阅读 · 0 评论 -
ASP.NET Prepared for interview(3)
.NET Framework 包含了一个巨大的代码库, 其包含了不同的块, 可以方便的调用 *******************************************************************************************************************************************************原创 2012-07-06 21:43:34 · 283 阅读 · 0 评论 -
ASP.NET Prepared for Interview (1)
Ques: 1 What does the keyword virtual declare for a method? If a method use virtual as the keyword, that means it's derived class( a class inherit it) can override this method. class MyBaseCla原创 2012-02-18 00:00:04 · 451 阅读 · 0 评论 -
Azure Cloud Computing
How to upload file by Blob Storage using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.StorageClient; using System.IO;var storageAccount = CloudStorageAccount.DevelopmentStorageAccount;原创 2012-07-19 00:18:03 · 341 阅读 · 0 评论 -
Waiting Image When search result is on load
It need to use the Ajax Extension 1, ASPX原创 2012-08-01 16:29:00 · 217 阅读 · 0 评论 -
C# 读取EntireWeb的XML形式的API
C# Deserializing XML from API returns(EntireWeb) using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Syste原创 2012-09-05 08:51:51 · 482 阅读 · 0 评论 -
C# 面向对象(1)
1, 计算银行利息的类 using System; public class SavingsAccount { private static double annualInterestRate = 0.0; // the static variable must be assign value private double savingsBalance; pub原创 2012-08-25 05:13:15 · 247 阅读 · 0 评论 -
ASP.NET Chart usage with LINQ
table 1, user : ID username password 2, userdata: ID UID datetime HR BR ASPX Diagram <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" onselectedindexch原创 2012-09-09 07:27:24 · 422 阅读 · 0 评论 -
asp.net prepared for Interview (4)
ADO.NET Different between DataReader and DataSet: The DataReader object helps in retrieving the data from a database in a forward-only, read-only mode. string connectionString =原创 2012-07-23 03:31:54 · 285 阅读 · 0 评论 -
ASP.NET & Jquery
AjaxResponse.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Services; namespace原创 2012-06-28 03:23:25 · 285 阅读 · 0 评论 -
ASP.NET Prepared for Interview(2)
ASP.NET Prepared for Interview(2) Partial Class class1.cs using System; namespace NSpartial{ partial class testclass{ public void first() { Console.WriteLine("hello from first method!"); }原创 2012-06-18 10:08:04 · 327 阅读 · 0 评论 -
Confirm Box in Asp.Net
1, in the back-end us the attributes added imgReactivateList.Attributes.Add("onclick", "return confirmMsg('Do you wish to put this property back Online?');") 2, at the front-end use the clien原创 2012-03-25 01:01:52 · 238 阅读 · 0 评论 -
.NET ISSUES Solve Log (1)
1, If you are using “using” statements to manage your data contexts in Linq to SQL (I’m not sure if this applies to Linq to Entity but I imagine it does") and you get the following error: “type原创 2012-03-16 05:59:25 · 208 阅读 · 0 评论 -
The Search Function For Complete Letting
1, Load the Search Box (If no any property in db, then don't display this condication) using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; usin原创 2012-04-01 18:05:14 · 363 阅读 · 0 评论 -
ASP.NET MVC 3.0 Learning Summary
Controller (1) This one is used for getting the parameter from WebUrl // GET: /Store/Browse?genre=Disco public string Browse(string genre) { string message = HttpUtility.HtmlEn原创 2012-04-10 05:28:57 · 242 阅读 · 0 评论 -
ASP.NET Collection
List Usage: var intList = new List(); // this list is use the int var racers = new List(); // this list is use the class Racer, Racer is manual created List intList = new List(10);原创 2012-05-13 07:16:47 · 232 阅读 · 0 评论 -
C# Simulation of Intent Locking Protocols
The Main.cs code: using System; using System.Threading; using System.IO; using System.Collections.Generic; using System.Linq; namespace NS_intentlocker { #region "All Enums" public enum Sta原创 2012-06-05 08:06:47 · 258 阅读 · 0 评论 -
C# object-oriented summary
1, ref and out parameters the only difference is that a variable you pass as an out parameter doesn't need to be initialised using System; namespace Ref_Out { class test { static vo原创 2012-05-18 18:14:23 · 224 阅读 · 0 评论 -
MVC4 cascading dropdownlist && backup(findahome)
1, view page(jquery) @{ ViewBag.Title = "Home Page"; } New Findahome Test ---Any--- @foreach (var market in Mvc4Findah原创 2012-05-26 06:31:34 · 308 阅读 · 0 评论 -
ASP.NET(c#) MesageBox JS Alert and Other Debug tools
MesageBox JS Alert string script = "alert('New Password is Created');\n"; Page.ClientScript.RegisterStartupScript(GetType(), "msgbox", script, true);***************************原创 2012-07-29 22:13:01 · 314 阅读 · 0 评论