Esempio n. 1
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        String[] ret=new String[300];
        try
        {
            Text_Field= ta.Value;
            if (Text_Field.Length <= 0)
            {
                Label1.Text="Code Please .. !";
            }
            else{
            String[] err = new String[200];
            Service1 ser = new Service1();
            ret=ser.Compile(Text_Field,Login_Name);
            StringBuilder sw = new StringBuilder();
            sw.Append(err);
            if (ret.Length > 0)
            {
                foreach (String t in ret)
                {
                    Label1.Text += t;
                }

            }
            else
            {
                run.Visible = true;
            }

        }
        }
        catch (Exception e1)
        {
            Label1.Text = e1.ToString();
        }
    }