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 Coolstep

  1. Coolstep

    how to move to the last row on a datagrid

    ddiamond, As far as I know: dataGrid1.VisibleRowCount I wish it helps ;)
  2. Coolstep

    column size in a dataset

    Mr. S. In both cases prompts 30!! not 35 :(
  3. Coolstep

    column size in a dataset

    Mr. S. here's how I fill the dataset, after a trial to enlarge the column width: System.Data.OleDb.OleDbDataAdapter adapter = new System.Data.OleDb.OleDbDataAdapter(SqlStmt,conn); if(this.myDatSet.Tables.Contains(TableName)) this.myDatSet.Tables[TableName].Clear()...
  4. Coolstep

    column size in a dataset

    Mr. S. sorry 4 late reply well, the value is untouched in the DB. Querying from DB gets over 30 characters. About the Dataset, I dunno its type but I don't use the wizard so i'm not sure. It's the default type I guess.
  5. Coolstep

    column size in a dataset

    stsuing, Here are the steps: 1. I get the value from GUI and insert in DB (Value arrives at the DB without truncation) 2. Query the string values filling a Dataset 3. Refering to the appropriate column in the datatable in the filled dataset, The string retrieved back is truncated to 30...
  6. Coolstep

    column size in a dataset

    Dear All, In my application I have 2 database coulmns that include long string values (over 30 characters). When retrieving data from these cells the value returned is truncated to the size of 30 characters only! anyone got an idea about this issue???
  7. Coolstep

    How to show blank(empty) Rows in a tabular report.

    Zdehkordi, As far as i worked with Crystal Reports in C#, in tabular forms I add records one by one by setting each cell then sending it to the crystal report then add other. In same way you can add records with empty cells at the end of each report. Empty cells would be presented by spaces or...
  8. Coolstep

    DataGrid's current DataView when filtered to no rows

    mrStick, to clear the rowFilter: oData.RowFilter=""; I hope it helps
  9. Coolstep

    SQL Insert statement error

    SnoopFrogg, (NumObsAM, NumObsPM)<--Are these varchars or numbers?
  10. Coolstep

    Arrange Columns in Datagrid

    MisterStick, I appreciate your help, it worked perfect. Also I do appreciate ur organized and clear reply. Thank You :)
  11. Coolstep

    Arrange Columns in Datagrid

    Dear all, In my project I currently do the following: 1. Fill a datatable from DB 2. Have a DataGridTableStyle mapped with the datatable to hide some columns 3. the DataGridTableStyle is assigned to a datagrid Everything works fine except that I can't arrange the columns, I'm forced to use the...
  12. Coolstep

    OO logical question (DB Insert Method)

    Thank You All guys for your efforts :)
  13. Coolstep

    Globally modify button behavior

    MasterRacker, I agree with JurkMonkey, it will take some effort may be equal to that of looping through ur controls at each form, but it'll make ur button events editable anytime just from ur NoisyButton class and it'll save time of extra loops running at each Form's load.
  14. Coolstep

    OO logical question (DB Insert Method)

    More questions! :P As I told u in my application, my controller a static class and including static methods. some issues are not clear in examples I'v seen till now: 1. In all examples I'v seen Controllers are not static, I can't imagine a controller not static 2. In one example the Controller...
  15. Coolstep

    OO logical question (DB Insert Method)

    Chiph, As far as I can understand, I should have an Emp class to hold only my Setters & getters and any other validations on the entity level. Emp_DB to handle the CRUD operation. EMP_DB seems to be static, right? What about sql queries that not related to a certain entity, it just help me to...

Part and Inventory Search

Back
Top