You need to remove:
if (!(IsPostBack))
{
}
That is why your code is not running.
[EDIT]
Change your query to this:
cmd.CommandText = "select * from patient where patient_id= '" + Request.QueryString["id"].ToString() + "'";
This will work provided you are actually passing "id" in the query string.