在原始程序中进行更改后,调试保持不变

时间:2013-08-12 12:15:56

标签: c#

我的计划进展顺利,但几周后

debug仍然与我调试相同,在程序中进行更改后,调试后没有任何变化。 请帮忙。

这是我的代码

namespace Payroll
{
    public partial class MainForm : Form
    {
        DataSet ds = new DataSet();
        SqlConnection cs = new SqlConnection("Data source=localhost\\SQLEXPRESS; Initial Catalog=sample; Integrated Security=true");
        SqlDataAdapter da = new SqlDataAdapter();
        /*cs.Open();//testing for checking connection
            MessageBox.Show(cs.State.ToString());
            cs.Close();*/
        BindingSource tblenameBS = new BindingSource();

    public MainForm()
    {
        InitializeComponent();

    }

    private void CompanyButton_Click(object sender, EventArgs e)
    {
        new Company_Main_Interface().Show();
        this.Hide();

    }

    private void exit_Click(object sender, EventArgs e)
    {
        Application.Exit();

    }

    private void MainForm_Load(object sender, EventArgs e)
    {

    }

    private void employeesbutton_Click(object sender, EventArgs e)
    {
        employee_main_interface e1 = new employee_main_interface();
        e1.Show();
    }


    private void employees_Click(object sender, EventArgs e)
    {

    }

    private void panel1_Paint(object sender, PaintEventArgs e)
    {

    }





}

}

0 个答案:

没有答案