Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by goneWildCoder

  1. goneWildCoder

    Updating a single row to a database

    I have a textbox driven windows form in C# whose values corresponding to rows of a dataset being filled from a database table. When the user clicks the Insert button, I want to add a new row with values entered by the user. After the user has finished entering a new record, I want to update the...
  2. goneWildCoder

    Adding new row to dataset

    sacheson, Thanks for your reply on clearing up my concepts. How do I move/ focus to the last row in the datatable?
  3. goneWildCoder

    Adding new row to dataset

    I have a textbox driven windows form created in C# and linked to a dataset. On the form, I have an add button that should allow the user to add a new record. How do I create a new record in the dataset which would be updated with values from the user? I tried the following: /// <summary> ///...
  4. goneWildCoder

    Database Update error

    Stat792, I tried it....i also tried adding the update command manually: SqlCommandBuilder foo = new SqlCommandBuilder(adap); adap.UpdateCommand = foo.GetUpdateCommand.CommandText; However, I still get the error..... Please help!1
  5. goneWildCoder

    Database Update error

    Hi all, I am getting the following error when trying to update database table: "Error: Update unable to find TableMapping['Table'] or DataTable 'Table'. Here is the code snippet that is throwing the error (specifically, the Update() command ) if (upDateFlag) { //update SqlConnection...
  6. goneWildCoder

    Datagrid HeaderText alignment

    How can I set the alignment of the headertext separately from the alignment of data ?
  7. goneWildCoder

    Datagrid event Question

    Hi all, I have 3 columns being read and displayed in a dataGrid. I want to trap the event when the 2nd column comes to focus. How do I do this? Thanks
  8. goneWildCoder

    Error when printing Report

    Hi all, I am getting this error when I am trying to print my windows form: "Unable to find the report in the manifest resources. Please build the project and try again." My report used to print fine before.Can anybody please provide me information on this error or point me where I can find...
  9. goneWildCoder

    Update Database from Dataset

    Eli, You need to commit the changes to the dataset after calling the update(). Add this to your code and it should work fine --> ds.AcceptChanges(); Good Luck
  10. goneWildCoder

    Directly printing a Crystal Report

    I have a print button on my form and I want to directly print a report created in Crystal Reports when the user clicks this print button. Can this be done? How??
  11. goneWildCoder

    string tokenizer

    Check this out --> http://www.c-sharpcorner.com/Code/2003/June/JavaLikeStringTokenizer.asp
  12. goneWildCoder

    Database error messages

    Is there a way to capture error messages being displayed due to constraints enforced at the table-level which are not taken care of in code ? I have a columnchanging method which does not get fired when a cell value is not changed (ie remains null). I cannot capture this event in code and I was...
  13. goneWildCoder

    ColumnChanging event not firing in DataGrid

    ColumnChanging event does not fire when the value in a cell is not changed....
  14. goneWildCoder

    DataSet question

    I have a dataset with a columnchanging event in which i do validations for values entered in a cell. When the user hits the tab key without changing the value of the cell, the columnchanging event does not get fired. (this is b'coz the columnchanging event gets fired only when the value in a...
  15. goneWildCoder

    DataSet question

    How do I get the value of a cell in a datagrid when the user goes to the next cell? I have a ColumnChanging event but it would not be fired when the value of the cell is not changed. I want to handle exactly this case !! Please help.

Part and Inventory Search

Back
Top