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...
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.
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...
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...
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?
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...
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. ..."...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.