Class Diagram - Memory pad

11 views
Skip to first unread message

anhtuan.songhong

unread,
Oct 20, 2014, 8:10:06 AM10/20/14
to ne...@googlegroups.com
memory pad2.mdl

Anh Nguyen

unread,
Nov 15, 2014, 1:55:41 AM11/15/14
to ne...@googlegroups.com
anh tuan oi anh biet lam cai phan mak khi phuong trinh vo nghiem no doi mau chu khong chi em voi. em lam ko dc.

Vào 19:10 Ngày 20 tháng 10 năm 2014, anhtuan.songhong <anhtuan....@gmail.com> đã viết:

--
Bạn nhận được thư này vì bạn đã đăng ký vào nhóm Google Groups "NET03".
Để hủy đăng ký khỏi nhóm này và ngừng nhận email từ nhóm, hãy gửi email đến net03+un...@googlegroups.com.
Để có thêm tùy chọn, hãy truy cập https://groups.google.com/d/optout.

anhtuan.songhong

unread,
Nov 16, 2014, 10:46:38 PM11/16/14
to ne...@googlegroups.com
Anh dùng thế này, em thử tham khảo xem nhé

Ở Item Default.aspx, dùng thẻ span như thế này :

Kết quả nghiệm : 
    <span id="spResult"  runat="server">x</span> 

Ở Class Default.aspx.cs :

if (a == 0)
            {
                if (b == 0)
                {
                    if (c == 0)
                    {
                        spResult.InnerHtml = "<span style='color:red'>" + "vô số nghiệm" + "</span>";     
                    }
                    else
                        spResult.InnerHtml = "<span style='color:red'>" + "vô nghiệm" + "</span>";
                }
                else
                {
                    result = -b / c;
                    spResult.InnerText = "x = " + result;
                }
            }                
Reply all
Reply to author
Forward
0 new messages