Someone can help me with insert sequence in c#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eduard Satn
    New Member
    • Jan 2011
    • 1

    #1

    Someone can help me with insert sequence in c#?

    i have an acces database an i want to insert a new record from a textbox.

    My acces database has 2 fields :
    Cod_criteriu - autoincrement;
    denumire - text;

    the folowing code comes from a form in which i have a text box and a buton from which i want to insert.


    private void button1_Click(o bject sender, EventArgs e)
    {
    this.categoriiT ableAdapter.Ins ertQuery(textBo x1.Text);
    this.categoriiT ableAdapter.Ins ert(textBox1.Te xt);


    }


    After i press the button nothing happens and by nothing i mean really nothing.
Working...