http://localhost:64685/?id=4
public string Ajax(string id) { string myid = id; //myid就是id,来自搜索栏的id var text = Request.Form["data"];//你会发现Form里边并没有id return "dsfdgdfh"; }