cevabı çözdüm... ihtiyacı olanlar baksın diye yazıyorum...
button click olayına==>
Response.Clear();
string formID = "PostForm";
string url = "./OnayDeneme.aspx";
string strForm = "";
strForm+="
";

//foreach (string key in data)
//{
//strForm.Append("");

//}
strForm += "";
strForm += "";
strForm += "
";
strForm += "<script>";
strForm += "window.function(){ var v" + formID + "= document.getElementById(\"" +formID + "\");";
strForm += "v" + formID + ".submit();}";
strForm += "</script>";
Response.Write(strForm);
Response.End();