Search results for query: *

  • Users: sfx
  • Order by date
  1. S

    Expression or Visual Studio?

    Hello All, I have a question for some of the more seasoned ASP.NET developers out there. I am just beginning to develop web applications using ASP.NET. As a result, should I be using the new 'Expression Web Designer' with its emphasis on CSS to develop web forms, or should I rather stick to...
  2. S

    Concurrency and DataRowVersions

    Thanks cjard! Cheers, sfx
  3. S

    Concurrency and DataRowVersions

    Hi cjard, Thanks for your response. When iterating through rows do you know how to find the specific column(s) that contain the error? Cheers, sfx
  4. S

    Concurrency and DataRowVersions

    Hello All, Does anyone have any suggestions (or examples) on how to go about iterating through a DataTable for only those DataRows that have a specific DataRowVersion and then copying them (and their values) into another DataTable? I am wanting to create a conflict resolution screen for an...
  5. S

    TabStop in a DataGridView?

    Hello All, How do I programmatically prevent a particular cell in a DataGridView from being focused by means of the TAB key? I want to be able to skip all cells in a certain column and move to the next selectable cell when a user hits the second last column in a DataGridView. Cheers, sfx
  6. S

    Find a specific ListView Item

    Thanks ashishnaicker!
  7. S

    DataGridView and BindingNavigators

    Hi Vis, Thanks for your assistance with this. I have resorted to unwiring the default AddNewItem event from the BindingNavigator and replacing it with my own. This seems to work ok, but not as well as I would have liked. Cheers, sfx
  8. S

    DataGridView and BindingNavigators

    Hello, When I click the Add button on a BindingNavigator (bound to a BindingSource) I cannot get the DefaultValuesNeeded event of a DataGridView to populate a cell with a default value. Has anyone else encountered this issue before? Is there a work-around? Cheers, sfx
  9. S

    Find a specific ListView Item

    Hi, I have a ComboBox that is bound to a DataTable. How do I use the SelectedValue of this ComboBox to locate and focus on the item in a ListView? Cheers, sfx
  10. S

    Changing items in a DataGridView's ComboBox

    Hi, Does anyone know how to change the items listed in a DataGridView's ComboBox on the fly? Cheers, sfx
  11. S

    DataGridView ComboBox ColumnType

    Perhaps I should be asking how to properly bind runtime columns to a DataGridView when the AutoGenerateColumns property of the DataGridView is set to false?
  12. S

    DataGridView ComboBox ColumnType

    Hi Vis, Thanks for getting back to me. Unfortunately, there is a type error when using your code (just as you posited). Namely, "Value provided for CellTemplate must be of type system.Windows.Forms.DataGridViewTextBoxCell or derive from it." Actually, I am not using the designer to build the...
  13. S

    DataGridView ComboBox ColumnType

    Hi All, How do I change a column type in a DataGridView to a ComboBox at runtime? Cheers, sfx
  14. S

    Update a DataGridView without a CommandBuilder

    Hi Vis, Actually, that is what I did. Once I generated the code I was then able to customise it to how I wanted. I guess I'm a bit like you - I like to 'know' the code behind my apps... Thanks again, sfx
  15. S

    Master/Sub Forms

    Hi jmcilhinney, That's sound advice. Thanks. Actually, I had already resolved this issue. Since all of the changes made in a DataGridView bound to a DataSet were automatically changing the DataSet, all I had to do was update the DataAdapter appropriately. I had been thinking that I needed to...
  16. S

    Master/Sub Forms

    Hi jmcilhinney, Thanks again for your input. Do you happen to have any examples where changes in a DataGridView are propagated back to a database by means of a DataAdapter where the Update command is coded manually? This is an area where I cannot seem to find enough information on. Take...
  17. S

    Master/Sub Forms

    Hi jmcilhinney, Thanks for your feedback. I did not think to implement a binding navigator with a master section. Thanks for the tip! Cheers, sfx
  18. S

    Master/Sub Forms

    Hi David, Yes, this is exactly what I wanted! Thanks for getting back to me, I appreciate it. Actually, after sifting through the help files I came across just such an example. I was also able to implement this example in the way that I wanted. However, I am unsure as to how I might update...
  19. S

    Update a DataGridView without a CommandBuilder

    Hi Vis, Nice to hear from you again! Yes, I am having trouble with the SQL statements (and ADO.NET parameters) for updating a DataGridView when it pulls information from more than one table. I would like to code the requirements myself, so if you have any examples of how this might be done I...
  20. S

    Update a DataGridView without a CommandBuilder

    Hi Kulrom, I recognise that the DataAdapter, DataSet and DataGridView are the easiest way to work with columned data. However, my question pertained to how I can manage the DataAdapter's update process through code instead of relying on the CommandBuilder object to generate this for me...
Back
Top