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
C

cutedrew

@cutedrew
About
Posts
10
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • reader is closed how can i solve this
    C cutedrew

    here's my sample program in my addProducts.. if i click my save button.. when i run it, i prompts an error message that reader is closed.. can anyone help me? private void btnSaveChangesObject_Click(object sender, EventArgs e) { try { clsPublic.objConn.Open(); OdbcCommand com = new OdbcCommand("Select Name from Products", clsPublic.objConn); OdbcDataReader read; read = com.ExecuteReader(); while (read.Read()) { if (read[0].ToString() == txtprodname.Text) { MessageBox.Show("Error!"); } else try { String strSQL; if (clsPublic.BoolUpdateProductsRec == true) { strSQL = "Update products Set Id = '" + txtprodId.Text + "', Name = '" + txtprodname.Text + "', Description = '" + txtdesc.Text + "', Type = '" + txttype.Text + "', Price = '" + txtprice.Text + "', Brand = '" + txtbrand.Text + "' where Id = '" + txtprodId.Text + "'"; } else { strSQL = "Insert Into products Values('" + txtprodId.Text + "', '" + txtprodname.Text + "', '" + txtdesc.Text + "', '" + txttype.Text + "', '" + txtprice.Text + "', '" + txtbrand.Text + "')"; } SaveObjectRecord(strSQL); btnCloseSaveChangesObject.PerformClick(); } catch (NullReferenceException NRE) { MessageBox.Show("Error:" + NRE.Message, "ARTM", MessageBoxButtons.OK, MessageBoxIcon.Error); } }

    C# help question com announcement

  • can someone help me...
    C cutedrew

    i have a problem with my c# project.. im using a listview grid in generating my database. and my problem is that it won't increment the number.. can anyone help me?? plss

    C# help csharp css database question

  • about combo box
    C cutedrew

    in joining the data in a certain in the database.. but how can i join this data using combo box?? can someone help me..

    Database question database help

  • can someone help me in designing my MDi or my mainform..
    C cutedrew

    a design that is simple but can make others shock when they see it.. anyone.. pls help me..

    Graphics design help

  • can someone help me in this program..
    C cutedrew

    I have a program in our project named sales and stocks monitoring sytem in which it monitors the sales, products, and stocks.. it has stock in and stock out and it's sales has a charge and cash.. Anyone knows how to do this??

    C# sales help tutorial question

  • can someone help me to code add, edit, delete, search in mysql database using C#..
    C cutedrew

    anyone knows??

    Database csharp database mysql help question

  • sample code using combo box database in mysql..
    C cutedrew

    can someone help me, need it badly.

    C# database mysql help

  • anyone can give me sample syntax or code in update using mysql in c#??
    C cutedrew

    anyone.. plss... nid it badly..

    Database csharp mysql question announcement

  • How to connect Mysql database wamp from C#?
    C cutedrew

    Can anyone teach me or show me some tutorials how to connect.. I need it badly..

    Database csharp database mysql tutorial question

  • help to create inventory system??
    C cutedrew

    how can i create inventory system with database?? plss help me..

    C# question database help
  • Login

  • Don't have an account? Register

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