摘要:
public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; string phone = context.Request.QueryString["phone"]; s 阅读全文
摘要:
首先新建 ApiController类 和一个Entity Framework数据实体 访问API的方式为:localhost/api/customers,在实际中将要根据情况替换合适的端口,默认所有的WEB API都是通过/api根目录的方式访问的,该路由是在Global.asax下进行定义,如下 阅读全文
摘要:
string [] cities={"London","Amsterdam","San Fran","a"}; GridView1.DataSource=from city in cites where city.length>4 orderby city select city.ToUpper() 阅读全文
摘要:
阅读全文
摘要:
class person { Strig name; void introdece(){ System.out.println("name="+name); } } class Student extends person{ String address; //复写 void introdece 阅读全文
摘要:
Java: JDK:www.sun.com or www.mars-droid.com 配置环境变量:修改path ,新建classpath 值为. 测试:java -varsion path:外部目录搜索命令:如:ipconfig ,java,它们会到path 中配置的环境变量中一个个的搜索出ip 阅读全文
摘要:
前台: <asp:DropDownList ID="Manager" AutoPostBack="true" runat="server" OnSelectedIndexChanged="DropDownList4_SelectedIndexChanged1"></asp:DropDownList> 阅读全文
摘要:
Mandelbrot checked short a=281; byte b; b = checked((byte )a); enum测试: static void Main(string[] args) { byte directionByte; string directionString; o 阅读全文