This has nothing to do with the .NET framework.
You would probably be better off posting this in the appropriate forum, the database forum for example[^]
You might want to supply a bit more information than "not working" as "not working" is neither helpful nor informative in describing a problem.
Could be several reasons due to bad assumptions some of possibilities of which follow.
- You are not running that code in production.
- You think you know what dates should work but they do not in fact represent data in the data base.
- Your code is working on one database and you are looking at another (thus the dates do not match.)
- The dates that you think are being used in the code are not in fact the ones being used.
- Your only information comes from someone else reporting the problem and they are reporting in wrong.
I'm a newbie at VB.net,
I want connect to access via VB.net and manager two table with a relation type "master-child",
Master table named "Book" consists of three columns: BookID [AutoNumber], Author [Text], Description [Text],
Child table named "Chapter" with three columns: ChapterID [AutoNumber], BookID [Number], Title [Text],
Then I create an application VB.net that has one main window using a dataset with two table Book and Chapter. I make a relation between them, from BookID in the table Chapter to BookID in the master table. I use a databindingsource to manager them, the table Book is displayed by a form detail, the Chapter by a datagridview. When I delete a row in Book-table, I also want delete all chapter located it. I tried to use Tableadapter but the chapters were not deleted.
Truth be told I wanted to put this in design and infrastructure but for some reason the page was blank. Anyways this is a good spot because it has some .net specific issues. I am starting to write a rather large program. Easily my biggest ever by a long shot. Now I am having an issue with how the interface should deal with requirements of the dll. I will give an example. The dll will make a submission to a website and the submission should have at least 1 image. So as I see it I have 2 options and could actually do both. Should the interface know this requirement and check if the user has added at least one image (therefore alerting the user and not making the submission) or should the dll throw an exception to which the interface will catch and then let the user know. Or should I do both? Or is there another way that I am not thinking of?
I've got an issue I've been digging on for a few days and just can't seem to find an answer. I have this textbox that's in a grid. The way this page is set up, when the user enters the page for the first time, the first row of the grid (including my troublesome textbox) is in edit mode. When I change the number from 0 to 10 in the textbox and tab out, I expect the TextChanged event to fire, but it doesn't. But if I click back into the textbox and change the number again and tab out, the TextChanged event does fire.
I thought maybe it was in my page load so I put a breakpoint at the bottom of the pageload method. At that point, the textbox.text = 10. I checked the viewstate of the textbox and the value is 0 and IsDirty = true.
I'm stumped what to check next. I also don't know what code to send since it looks like everything's set the way it should be but it just doesn't work the first time.
Any help you can give would be GREATLY appreciated.