title: open form on html button click in asp.net using C#
body: <p>will any body help me in opening a form on button click?? Thanks in advance.</p>
  
  <p><strong>aspx.cs Code:</strong></p>
  
  <pre><code>        public string wogrid()
          {
              string htmlStr = "";
              con.COpen();
              string qry = "SELECT id,casetype,Case when status_c=1 then 'Active' else 'Inactive' End as status_c FROM t_claimtype";
              SqlDataReader rd = gd.DataReader(qry);
              while (rd.Read())
              {
                  int ID = Convert.ToInt16(rd["id"].ToString());
                  string caseType = rd["casetype"].ToString();
                  string status = rd["status_c"].ToString(); 
                  htmlStr += "&lt;tr&gt;&lt;td&gt;" + ID + "&lt;/td&gt;" + "&lt;td&gt;" + caseType + "&lt;/td&gt;" + "&lt;td&gt;" + status + "&lt;/td&gt;" + "&lt;td&gt;" + "&lt;input type='submit' id='" + (rd)["ID"].ToString() + "' name='edit' value='EDIT' **onclick='windows.open(viewClaims.aspx)'** runat='server' /&gt;" + "&lt;/td&gt;&lt;/tr&gt;";
  
              }
              con.cClose();
              return htmlStr;
          }
  private void AddPlanToCart()
          {
              Response.Redirect("viewClaims.aspx");
          }
  </code></pre>