also when the DGV opens I get a large text box that starts off with Exception in DGV, System Argument Exception: Parameter is not valid... and then goes on for a page. Totally lost with getting the OLE data to show.
Drilled into these three exceptions in the Auto tab that are associated with this table. Is this helpful? Also ine dataset designer preview data of the fill command gave a red exclamation that referenced it could not load data.
'DirectCast(DirectCast(New...
No exception thrown.The DGV was empty with nothing in the fields. Are you saying go into the dataset designer and see what the fill command previews the data as? I have not done that but can try.
I used a try block and everything loaded except the DGV in question was empty. This particular table has a field that is an OLE object that I put an excel sheet in. I changed this field to a text field and all works-even outside the try block. Any ideas on why it does not want to bring through...
All that worked. I then drug the table to the project and it created a bound DGV and a Fill statement in the Load event. All looked good except execution quit when it hit the Fill statement. I put a breakpoint below this line and it just opened up a half baked form with no errors and never...
I have a .accdb as a data source with numerous tables. I needed to add a table to the db and did not want to disturb all I had done in the data set designer with the data source. I went to the db in the bin/debug in hopes I could insert table and just have it then show in the data source...
I use the current data row index to feed info used in another SQL statement. I notice that if I sort the columns it maintains what was originally in that row. How do I get it to see the sorted state?
I apologize for not seeing what you were saying about the publish status earlier. I finally found it and changed it to "Data File". Your recommendation fixed my problem.
Thanks So Much!
resolved
In Click Once -Publish, under Application Files, it lists .accdb, .exe, .exe.config, .exe.manifest. Does this address where the data files are included?
Back to the properties of the .accdb; the Build Action is set to "Content"
The corresponding dataset Build Action is set to "Nothing"
Does...
Ref above: I am using click once and thanks for clarifying for me the difference between deploying and compiling. I did not realize it compiled each time you build and run it.
No. 1 &2 - I believe I did correctly as I selected "yes" when asked if I wanted to include with project
No. 3-in...
App works fine and has several tables from one Access Data Base. After compiled i try to open and get an error that it can not locate the Access Data Table ( in a strange address that I did not specify). On creation i saved the DB in the output file. Any reading material on how to get this set...
It is the start up form. I did notice it closed correctly latter. Not certian but i will test tonight but it was not closing after displaying/ editing, and saving a couple of datatables shown in dataGridView's.
I hit the "close" button that is auto generated on a form to close it and it does not close. I added a form closing event to see what was going on and it handles the closing event first and then goes back to the load event. Any ideas on where to look or what I might have inadvertently changed.
If some one could tell me if I am on the right track or not. I believe that when I create a fill query in the data set designer that it does not automatically create everything for the update command. Based on this assumption I created a new query in the same table adapter to update. I used the...
I have been letting the wizard create the table adapters. After learning how to use the dataset designer to generate my fill criteria; I can not update using the table adapters update command. The latter I am sure has nothing to do with it. I have included the access tables in both the output...
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.