Ejemplo n.º 1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string Name = RenameTextBox.Text;

            if (Name == "")
            {
                status.Text = "please enter the name";
            }
            else
            {
                sr.EditSources(Name, SName);
                StatusLabel.Text = "rename success";
            }
        }