I have created a library management system applicationn in vb.net... I have an issue form... which has issueid, issuedate, duedate..... these are set as "not null" in the datavase(sql server).. When I add a new issue and try to add another after that the DateTimePicker values doesn't get reset.... so eventhough i select it and issue the book(i.e., click on the issue button), it says "The DB doesnt allow Null Value".... How do i resolve this issue.. How do i refresh the DaateTimePicker aftereach issue is added??
Jump to Post
Hi Swaroop, this may be partly down to a serious problem with the datetimepicker - it only binds properly to non-null values. In other words, it doesn't work. It displays incorrect values. If this is part of the problem you may have to consider a nullabledatetimepicker control as an alternative …
All 2 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.