Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

eni_94

@eni_94
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I edit a database row and then update it ?
    E eni_94

    I have a database and I figured out how to store data but i can't edit anything. This is a part of my code: private void button1_Click(object sender, EventArgs e) { MyDataSet.MyTable.AddMyTableRow(textBox1.Text,textBox2.Text,textBox3.Text,textBox4.Text,textBox5.Text); MyTableAdapter.Update(MyDataSet.MyTable); toolStripProgressBar1.PerformStep(); MessageBox.Show("Update Complete", "Update Complete", MessageBoxButtons.OK, MessageBoxIcon.Information); //this.Close(); } private void button5_Click(object sender, EventArgs e) { DataTable dtedit = MyDataSet.MyTable; DataRow dr11 = dtedit.NewRow(); dr11["Field1"] = textBox6.Text; dr11["Field2"] = textBox7.Text; dr11["Field3"] = textBox8.Text; dr11["Field4"] = textBox10.Text; dr11["Field5"] = textBox11.Text; dr11.AcceptChanges(); MyTableAdapter.Update(MyDataSet.MyTable); }

    C# question database tutorial announcement

  • Can anyone help me ?
    E eni_94

    that worked but when i open the program i add an item, if i restart the program the new item isn't there anymore...

    C# csharp help tutorial question

  • Can anyone help me ?
    E eni_94

    thanx a lot

    C# csharp help tutorial question

  • Can anyone help me ?
    E eni_94

    thanx a lot ,it works

    C# csharp help tutorial question

  • Can anyone help me ?
    E eni_94

    I wanna know how to add an item to a combobox from a textbox by clicking a button. I usually use C# so i'd prefer to finish what i'm doing in C#. thanx.

    C# csharp help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups