37 Topics

Member Avatar for
Member Avatar for priyamtheone

I’m working with Visual Studio 2017 and Bootstrap 4.5.0. Under a master page, I have a Payment page that contains a txtName textbox, a txtPin textbox and btnPay button. To this, I want to add a DateTimePicker. When btnPay is clicked, values of txtName, txtPin and DateTimePicker should be saved …

Member Avatar for AndreRet
0
857
Member Avatar for Amiet_1

Guys I want to insert a Null dateTime Value into SQL database connected to C# desktop application. I'm using following code. I can insert Null dateTime Value into database, but I am having problem with how to update dateTime picker value and saving it into database.. I'm posting my code …

Member Avatar for Amiet_1
0
6K
Member Avatar for ekseks

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" href="css/jquery.datepick.css" type="text/css" /> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/jquery.datepick.js"></script> <script type = "text/javascript"> function updateSelected(dates) { $('#selectedMonth').val(dates.length ? dates[0].getMonth() + 1 : ' '); $('#selectedDay').val(dates.length ? dates[0].getDate() : ' '); …

Member Avatar for neerajgarg
0
332
Member Avatar for thirteen_xx

Hi, I'm new to vb and I need to record the time the user used a certain privilege and the time s/he finished using it. i used date/time picker but whenever i run the program, i can't edit the time. only the date. help please?

Member Avatar for thirteen_xx
0
800
Member Avatar for sheerwoodjohn.caday

i search a lot of reference in web, but still im not satisfied to solve this problem, i used datetimepicker in vb.net to retrieve from database. i am using BETWEEN statement to search the specific date and its data. here is my code to search the data with specific date, …

Member Avatar for pritaeas
0
661
Member Avatar for skran

Hi all! I have a user interface where I want to filter a datagridview.. I 've achieved to create filters but I 've failed to filter tha data by date.. I have a sql db and the column of date is of datetime type. When I try to filter the …

Member Avatar for eldarzeynal
0
1K
Member Avatar for yorro

Does anyone have any idea how to set the DateTimePicker's UpDown buttons to add/minus 30mins only instead of 1min?

Member Avatar for Luc001
0
2K
Member Avatar for sanaQ

hey people. ok.. this is what i NEED to do.. Task > 1. User will add TODO list in the textbox shown in the GUI Windows Form. > 2. User will also select the date on which the task will be done. > 3. Once entered the above information, user …

Member Avatar for ddanbe
0
855
Member Avatar for NYCRAVEN

I have a simple data input form in which when the form is activated if sets focus on a textbox and sets the back color. I later have a datetimepicker control. The tab stops are coreectly set but when ever the users selects a a date from the datetimepicker the …

Member Avatar for TnTinMN
0
171
Member Avatar for jontennyeah

i have a datetimepicker and a textbox i code inside in the datetimepicker Private Sub DateTimePicker2_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker2.ValueChanged TextBox1.Text = DateTimePicker2.Value.ToString ''7/16/2015 9:03:03'' PM is the output i my textbox, how i will remove the time when i input a date from the …

Member Avatar for Reverend Jim
0
140
Member Avatar for ms061210

Please help me debug about datetimepicker. I think, the code is written correctly but its not. The program kee[s prompting **ORA-01858: a non-numeric character was found where a numeric was expected** Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim cmd As New OleDb.OleDbCommand 'cnn.ConnectionString = …

Member Avatar for mikeybware
0
316
Member Avatar for Hazuan Nazri

Hello, i got this error when i click my button save. Error: .Net SqlClient Data Provider: Conversion failed when converting datetime from character string. please help me... this is my save button code: Private Sub btnSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim check As Integer Dim …

Member Avatar for Hazuan Nazri
0
1K
Member Avatar for skran

I try to filter my datagridview with a datetimepicker. When the datetime value is just date (eg.15/5/2010) everything work fine. But when there is also date and time value occurs conversion problem "conversion failed when converting date and/or time from character string". Iused also combobox populated with the dattime values …

Member Avatar for G_Waddell
0
550
Member Avatar for skran

Hello all! I would like your help please.. I have a datetimepicker and I want to use it for the time part only! So, I would like to disable its dropdown calendar.. Thank you in advance!

Member Avatar for poojavb
0
740
Member Avatar for poojavb

Hello Friends, I need help to get the time value from MSSQL database to VB.Net Datetimepicker I have a datetimepicker but the custom format is set to HH:mm tt so that I can get eg 11:20 AM this value I have stored in database with the help of ` Label4.Text …

Member Avatar for poojavb
-1
1K
Member Avatar for tamerhanna

Hi, I'm having a problem with a datetimepicker and databinding. I bind the text of the picker to a value from the database and it works perfectly fine and shows the value correctly, however whenever i change the text in the datetimepicker field to update, it changes, BUT gets back …

Member Avatar for mtroli
0
505
Member Avatar for PoovenM

I'm creating a custom `ComboBox` that allows the user to select a date; the calendar display is localized making the built-in `DateTimePicker` undesirable (see [here](http://support.microsoft.com/Default.aspx?scid=kb;en-us;889834&x=18&y=19) for more information). I need the UI control to mirror the look and feel or the existing components. Here's what I've tried and the problems …

0
175
Member Avatar for pipelian

My form has a TextBox with values like(e.g: P011112, C0212102) those are products lot numbers that the user enters. Then, what i want is that a DateTimePicker takes the first 4 digits as "MM-yyyy" and add 3 years to that date. Example: TextBox.text = P011112 DateTimePicker = January, 2014 Thanks …

Member Avatar for pipelian
0
317
Member Avatar for GAiXz

Good Day Programmer's ^_^ i'm having a problem with this two DateTimePicker in DateTimePicker1 the format or value is "dd-MMM-yyyy" or "01/Jan/2012" and in DateTimePicker2 the format or value is "yyyy" or "2012" when i change the year in DateTimePicker2 to change the year in DateTimePicker1 i'm getting an error.. …

Member Avatar for codeorder
0
2K
Member Avatar for GAiXz

GOOD DAY PROGRAMMERS!! :twisted: i just want to know How to do this kind of problem [url]http://www.daniweb.com/forums/attachment.php?attachmentid=23623&stc=1&d=1327489022[/url] i just want to save the date interval like i will select the Start Date and End Date ex. [COLOR="Red"]Start Date/Time: 26-Jan-12 / 03:00:00 PM End Date/Time: 31-Jan-12 / 03:00:00 PM [/COLOR] how …

Member Avatar for codeorder
0
452
Member Avatar for abc_123abc

hh.. how can i get the value accumulated from the date i select from datetimepicker1 to datetimepicker2 in vb.net and mysql? the value here refers to the daily sales and i need to find the total sales between the range dates that i choose.. please help me..as im beginner and …

Member Avatar for gd740
0
3K
Member Avatar for judithSampathwa

hi i have a question relating to a date time picker, i have a form that i have the employee name and all the emaloyee details such as the employee DOB. whena user selects a user from the combo box the details from the database is being taken and displayed …

Member Avatar for judithSampathwa
0
357
Member Avatar for iefilec

hi. i just want to ask how can i populate a listview n vb.net that has a is limited by a date from and date to. i have a datetimepicker for start date and datetimepicker for end date and i want do list all the entry of my database in …

Member Avatar for MartinPlatt
0
465
Member Avatar for rciprogrammer

Hi I am trying to set a larger calendar font (Calendarfont) for a Datetimepicker control, but vb.net (2010) doesn't seem to use/honor it. It remains the same (very small) regardless of the font/size I choose. Have also tried changing it in program on the onload of my form but that …

Member Avatar for Pgmer
0
503
Member Avatar for drax12

Hey guys, I'm want to retrieve results from the database, where datetime picker given value, is equal to database value. var _check = (from day in Check.tbl_employees where day.d_from== _frm && day.d_to == _to select new { day.desg_id, }).FirstOrDefault(); datetime picker gives a value with its time,but i'm only interested …

Member Avatar for drax12
0
711
Member Avatar for xanawa

I am getting the value of a datetime picker and add it in the database but it is throwing an exception saying : [COLOR="Red"]The conversion of a char data type to a datetime data type resulted in an out-of-range datetime. The statement has been terminated.[/COLOR] This is my SQL Statement …

Member Avatar for abelLazm
0
217
Member Avatar for prakashghai

Friends, I am zero in PHP, but still i have managed to do something to fulfill my requirement. I am stuck with one thing now..So i need help on.... I am using one html+php form to submit database into mysql. I created a display of that table through php script …

Member Avatar for reygcalantaol
0
2K
Member Avatar for eileenc87

Hi All, Can I put text in datetimepicker. Instead of it showed the dafault date and time (today's date), can I put text like e.g - Please Select Date - Looking forward to hear from u guys soon... URGENT

Member Avatar for codeorder
0
498
Member Avatar for krishnisilva

hi, i have a two datetime picker in a C# form, when i select a earlier date (before today date) there is a caparison i have addded to the validateing event in the date timepicker.below is the code. Question 1: for some reason say that i add 10th may, the …

Member Avatar for kheddy
0
2K
Member Avatar for Nevillelajru

I have a datetimepicker which reads a date as dd-mm-yyyy. the sql im using(sql server 2008) is only reading mm-dd-yyyy. i am having a problem with changing the format of how the date is saved. i put a catch to the code and this came up System.Data.OleDb.OleDbException: Conversion failed when …

Member Avatar for Mitja Bonca
0
1K

The End.