User Profile

Collapse

Profile Sidebar

Collapse
cie
cie
Last Activity: Jan 21 '08, 08:38 AM
Joined: Sep 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cie
    replied to help with mysql sintaxis on c#
    in .NET
    i saw you have space between single quote mark and the table name, name[0] and value[0]. Try to remove it
    Code:
    MySqlCommand a = new MySqlCommand();
    a.CommandText = "insert into '" + table + "' ('" + name[0] + "') values ('" + val[0] + "' ) ";
    hope it's helpful...
    See more | Go to post

    Leave a comment:


  • cie
    started a topic Cannot update table

    Cannot update table

    Im trying to update a table whose composite primary key. No error message shown, as well as no changing data occured.

    Why?
    See more | Go to post

  • cie
    started a topic C#-App: Can cells in DataGridView have AutoCompletion
    in .NET

    C#-App: Can cells in DataGridView have AutoCompletion

    Hi, I'm having problem with data integration in my program, so I want to give restriction that only data from autocompletion (like in System.Windows. TextBox) which is got from another table can be inserted to the table.

    Does anyone know how to do cell-Autocompletion in datagridview? Or any other suggestion to keep the data intergrated?

    Note: The program is for Expedition dept. Let's say that in Schedule form which has...
    See more | Go to post

  • Well anyway thanks for the reply but finally fixed it when I use try - catch - finally blocks. I put the code to close the connection in finally block.

    :D
    See more | Go to post

    Leave a comment:


  • C# -App : "Unreachable code detected" warning When tyring to close connection to Data

    Hi, anyone please help me

    when I try to close a connection to the database from a static method, "Unreachabl e code detected" error occured.

    What's the problem actually?
    Thank you before
    See more | Go to post

  • cie
    replied to Difficulty when deleting row from a gridview
    in .NET
    Anyway I have no idea what language you are using but if it is C# i hope it can help you.

    assumed that the grid view name is dataGridView

    use this line of coding:
    dataGridView.Ro ws.Remove(dataG ridView.Rows[dataGridView.Ro wCount - 1]);

    because the row's index is zero based so to get last row index is the number of rows - 1...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...