Search results for query: *

  1. K

    Question BindingSource.AddNew() does not fire dataset.datatable.tablenewRow

    Thanks for pointing it out I totally was unaware of that.
  2. K

    Question BindingSource.AddNew() does not fire dataset.datatable.tablenewRow

    What exactly I do is this. I use a typed dataset in the project, I want to create an "add new record form" so I select the table from the datasource window and select details drag it onto the form to create the controls since it is a typed dataset it is not filled with anything initially. I call...
  3. K

    preserve rowstates of a datatable?

    I did as you said and it works just as I want except for a small fact that to access and manage the datatable there is a bindingsource in between. Is there also a way to use it directly as it is like as a datatable for example.
  4. K

    Question BindingSource.AddNew() does not fire dataset.datatable.tablenewRow

    Hi, I have a problem with handling tablenewrow event. When I call bindingSource.addNew() method to add a new row to its bound dataset.datatable which is empty in the beginning the tablenewrow event is not fired. I kinda get the logic behind this probably the datatable is not initialized until it...
  5. K

    preserve rowstates of a datatable?

    I'm not doing it I'm asking how can this be done especially with preserving all the rowstates.
  6. K

    Question evaluating haserrors problem

    Hi, I have a datagridview on a form and when I set errors on a column with setColumnError method the hasErrors evaluates just fine but when I set errors by DataGridView(RowIndex).ErrorText, hasErrors ignores it. What is it that I'm missing here? This is the code I use Private Sub...
  7. K

    preserve rowstates of a datatable?

    Hi, how can I send a datatable from a dataset inside a form to a dialogbox back and forth preserving rowStates. By preserving rowStates I mean keeping track of deleted added changed rows etc. Is this possible?
  8. K

    BindingSource.CancelEdit problem

    The bindingSource is bound to a dataset and it is not a dataGridView it is the details of a table (which is not important either case it is the bindingSource we are trying to check). Well the solution is as you suggested, I wrote a function checking the RowVersion property something like below...
  9. K

    ASP.NET development server hangs (VS 2008)

    Hi, I'm currently developing a smart client application with a WCF service. During development I'm using localhost for the WCF service. But the ASP.NET Development Server almost always hangs during debug and I get a "The request channel timed out while waiting for a reply after 00:01:00. ..."...
  10. K

    return a dataset and an integer from one function?

    I'm trying to write a function that will return a dataset and an integer, is this possible?
  11. K

    BindingSource.CancelEdit problem

    Hi, I have a detailsView on tabPage1. When a user leaves tabPage1 without saving his changes the TabControl.Selecting event checks for any changes being made if it detects any a yesNo dialog opens and asks user if he wants to submit the changes or not before navigating the other tabPage. My...
  12. K

    How can I benefit from a listbox in a detailsview with a many-to-many relationship

    The example in the help page is for relationships like one-to-many, in my case the scenario is a many-to-many relationship. There are also examples to bind many-to-many but those end up displaying only the students that take the class in the listbox which is not very usefull except for...
  13. K

    How can I benefit from a listbox in a detailsview with a many-to-many relationship

    Hi, I'm trying to design a detailsView form which contains [classes] --< [studentClasses] >-- [students] tables. There is a many to many relationship between [classes] and [students] through the third table [studentClasses]. I want to design the detailsView of [classes] such as that all...
Back
Top