Search results for query: *

  1. G

    Question DataGridView set focus on validated cell in error

    Sorry - got trigger happy and posted b4 I was finished. Have improved things by implementing a 'comboBox.SelectionChangeCommitted' event and now my problem is that events are firing once for every displayed column from the first to the currently selected one - e.g. I click on the cell in Row...
  2. G

    Question DataGridView set focus on validated cell in error

    Thanks for the reply JM. I have all the code in place to do the validations etc. and had it (so I thought) working using the CellValidating event, but on further testing it seems that events are being fired multiple times on one click and on occasion eventually, throw an exception. The...
  3. G

    Question DataGridView set focus on validated cell in error

    I have a databound DataGridView and all columns are combobox. After the user selects a value from the combobox and focus is lost, I validate the dgv entry against other entries in the same column. If found to be invalid, I need to set focus back on the validated cell not the one that caused...
  4. G

    Question bound or unbound or Datagridview and combobox?

    Thanks yet again!!!! Note to anyone else reading this: All the advice given to me here is good and sound!!! After implementing all of the advice, I still had the same problem!!! I created a new form and started from scratch implementing all of the advice above and it worked just fine...
  5. G

    Question bound or unbound or Datagridview and combobox?

    Thanks once more for your response jm. I am struggling with one combo column (colStart) the values of which are not sourced from a database table. What I need is a list of times (say 6:00 am to 11:00 am) in 30min intervals. The combo column itself is bound to the 'StartTime' column (stored as...
  6. G

    Question bound or unbound or Datagridview and combobox?

    Problem adding second and subsequent combo columns JM your help again pls. I have successfully added one comboboxcolumn (Location) but it is the only one I can get to load without errors. I have tried to add a second (and more) combo cols. but always get the following error...
  7. G

    Question bound or unbound or Datagridview and combobox?

    G'day mate! Thanks for your very valued response. Your responses to many other posts have greatly assisted me in finding my feet with the amazing features of vb/ado.net. I will proceed as per your recommendation. Keep up the good work (from another Aussie).
  8. G

    Question bound or unbound or Datagridview and combobox?

    This is my first post here so hope I have posted correctly. I am in the process of converting my windows form app from VB6 to vb.net (VS2012). One of my forms is a weekly work roster (or schedule) which was working fine using flexgrid. Now I am looking at Datagridview to replace the...
Back
Top