datetimepicker

DateTimePicker Using Twitter Bootstrap

In this tutorial, I'm going to show how to use the datetime picker using bootstrap framework. Datetime picker, allows user to select Day, Month and Year as well as the time picking for Hour and Minute. This time lets start building this project. But before this, make sure you have already downloaded the bootstrap-datepicker. Next, let’s create an html file. And will save it as “index.html” inside datepicker folder in our localserver.

DateTime Picker Control Using C#

In this tutorial I’m going to show you how to use a DateTimePicker control in C#. The DateTimepicker control allows the user to select a date and a time and to display the date and time with specified format. To start creating this application, let’s create a new project in C# and we will call it as “Dates”. Then from the toolbox drag a DateTmePicker and four Buttons. The design will look like as shown below. da1 Next, to add functionality to our application double click the “Long” button.

DateTimePicker Control

On using Visual Basic, one of the most common control used to display a Date and Time is DateTimePicker, DateTimePicker is just like a combobox. If you click a dropdown arrow it displays a month calendar. And using this control it allows you to select Date and Time by modifying the format properties of this control. This time let’s create a new project called “DateTimePicker”. Then add four DateTimePicker and button control from the toolbox.

Insert Null Value into Date/Time Field

This simple project will simply insert a null value to a date/time field if the checkbox within DateTimePicker is False. In order to determine if the Checkbox is true/false you need to use the isNull function. Private Sub CmdInsert_Click() Dim cn As New Connection Dim strSQL As String cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Data.mdb;" strSQL = "INSERT INTO NOSOld