string chuoi = string.Empty;
a.toadox = int.Parse(Request["diemax"]);
a.toadoy = int.Parse(Request["diemay"]);
b.toadox = int.Parse(Request["diembx"]);
b.toadoy = int.Parse(Request["diemby"]);
c.toadox = int.Parse(Request["diemcx"]);
c.toadoy = int.Parse(Request["diemcy"]);
double kq = TinhChuVi.TinhChuViTamGiac(a, b, c);
<meta name="viewport" content="width=device-width" />
<form action="~/MH_TinhChuViTamGiac.cshtml" method="post">
<label for="toadoax">Diem a toa do x:</label><br>
<input type="text" name="diemax" value="1"><br><br>
<label for="toadoay">Diem a toa do y:</label><br>
<input type="text" name="diemay" value="2"><br><br>
<label for="toadobx">Diem b toa do x:</label><br>
<input type="text" name="diembx" value="1"><br><br>
<label for="toadoby">Diem b toa do y:</label><br>
<input type="text" name="diemby" value="2"><br><br>
<label for="toadocx">Diem c toa do x:</label><br>
<input type="text" name="diemcx" value="1"><br><br>
<label for="toadocy">Diem c toa do y:</label><br>
<input type="text" name="diemcy" value="2"><br><br>
<input type="submit" value="Submit"><br /><br />