Popular Posts
jQuery : post/get using data() as param object <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html... android.intent.action.SCREEN_ON & android.intent.action.SCREEN_OFF First, I've tried create a receiver to receive screen on/off and register receiver on AndroidManifest.xml like below, but unfortunately ... runas RUNAS 使用方法: RUNAS [ [/noprofile | /profile] [/env] [/netonly] ] /user: program RUNAS [ [/noprofile | /profile] [/env] [/netonly] ...
Blog Archive
Stats
Get Html source
protected void Page_Load(object sender, EventArgs e)
{
    WebRequest request = WebRequest.Create("http://tw.yahoo.com");
    StreamReader reader = new StreamReader(request.GetResponse().GetResponseStream());
    Response.Clear();
    Response.Write(reader.ReadToEnd());
    Response.Flush();
    reader.Close();
    Response.End();
}