I have finally got my head around sorting listviews.My problem is that I have the listview with columns (Name, Folder, Date) and when I sort it by date, it creates groups for each indiviudal date (shown on the left). Is there a way to get the same result as Explorer on the right?
I have a tree view that shows quite a lot of dates, I want to be able to group these dates into Year & Month nodes respectively for example I would get 2 parent nodes '2008' & '2009', the '2008' node will only contain 'November' & 'December' and '2009' will contain 'January', 'february', 'March' etc all these nodes will be based on dates I will be adding to the treeview so the years and months will change depending on the dates being added.i.e - dd/mm/yyyy30/11/200830/12/200801/01/200902/01/2009if I were to put the above dates into the treeview I would get 2 parent nodes '2008' and '2009'in '2008' Would be November & December, and in '2009' would just be January.
I am using a nice shopping cart I found online. I would like to translate this code to use a repeater or listview and dynamically retrieve my data, but I cannot seem to find a way to group my data correctly.I know the ListView can group by a certain amount of items, but I have not found a way to do it with this scenario.The shopping cart works by having a ul list of items, followed by their details in the div below. This process starts again by getting three more ul items, followed by three more details. How could I do this using a ListView or repeater? I have not found a way to repeat both of these sets of data I need in a group of three.[code]
Oke I'm writing a small program where the user can fill in some textboxes and a Montcalendar and then put it in a listview by clicking the add button.
The listview has the following columns:
--Month ( which is retrieved from the monthcalendar view as followed: Monthcalendar.SelectionStart.Month) --Day ( which is retrieved from the monthcalendar view as followed:
I'm using two datetimepicker controls to set the start and end dates for a range of dates I'm searching for.I want to make sure that the start date selected is not greater than the end date. This code works, but it runs the messagebox prompt twice for some reason. I've tried to ignore it from doing this, but it's not working. Can someone tell me what's wrong?
Private Sub dtpStart_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtpStart.ValueChanged
I have one more problem with MonthControl.And when I bold some dates the program doesn't show bold dates on month calendar.When I move on next or previous month and get back to currently month the program normal displays bold dates. What's the problem?
I am working VB.NET 08 Access Database. I have Two "DateTimePicker" controls one is "StartDate" and one is "Enddate". Now I am selecting Startdate like May 1st OK. Now when I select Enddate control this calender shows only Equal or Greater than dates should be Enable. EndDate should be Always Greater than Equal Date. That's why when ever user selects the Enddate Before May 1st dates should be disable..
I would like to bold certain dates in a calender. But the contrast between the normal and bold is not high enough. I would like to be able to bold it in RED for instance...
I have an application that will require using dates prior to 1/1/1900. (Some historical analysis). What kind of date function can I use for this -- I want to be able to use all the standard features that are available for date, e.g. format, date differences, charting.
I'm implementing a Listview sorting class into my application and it is working well for String, Integer and DateTime column types. However, I cannot get it to work for columns containing ONLY a date.I get an error saying "string was not recognized as a valid datetime"The date format in the column is dd/mm/yyyy (and the ListviewColumn type is string).This is the code that generates the error
i am developing a point of sales system. currently i have my product code scanned and displayed in a listview. lets say that i have 5 product codes displayed in my first listview. By clicking on a button, how can i use these codes to call upon the details (prices, product name, etc.) of the corresponding codes and display in another listview?
i am using Visual Basic 2008 and MsAccess as my database. who have the idea on solving my question. (As my last thread has not been answered at all..
I am attempting to calculate the number of months between 2 dates in vb 2008. Effectively subtracting a date in the past from the current date and then manipulating it to the number of months between the two.
I have done this in VB 6 previously, but can't seem to do it in vb2008.
I was wondering if someone could help me. I have a database and i want to select all records between 2 dates.I use two datetimepickers and would like my datagrid to show only records between dates selected.
i need to get 2 dates and then add rows in a grid for that many months. e.g. the user gives 1st Jan 06 as first date and 30th Dec 2010 as second Date the rows should b
[Code]....
dont know why but am totally puzzled as to how to start with it....
I am trying to create a textbox that only allows dates in like mm/dd/yyyy format. So if a user types in a date like 2010/11/02, an error would happen. But if they type it in this format 01/02/2010, then it works fine. Is this possible?
I'm using one Access Database and DataSet, BindingSource And Table Adapter. My question is: how to fill one listbox on my form with dates from one row from Database.
Look at the picture:
[url]
So listbox needs to have 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20.
I've got a form with following controls: Two Datetimepickers Two Buttons One TextBox One ComboBox The idea is adding and subtracting dates using Datetimepicker contols... I found codes for doing Dates Calculation but is'nt quit correct;for example: if i want to add 21years from today the result will be: sat 30 Aug 1930 The Adding Codes on comand button: Private Sub BTNadd_Click(ByVal sender As System.Object, ByVal e As
I have one question related with MonthCalendar control in Visual Studio 2008.Is it possible to bold some dates, but with, for example green, or red color.url...
I am making an application that will organize the movies and their release dates for me and that it will notify me whenever a movie is released. So far I have the layout almost done with some parts missing.
BASICS
1. At the top as you can see I want the text to display the current day and having the tool tip to say "Today is Tuesday 19, 2009" while I want the text to be centered.
2. I want to have a poster with a specific size (dimensions) that will be displayed when the movie is selected at the data grid and I want the buttons to be able to select the previous or next data grid line, meaning next/previous movie.
3. I want to make the buttons either check all the boxes or uncheck them all. And I want the validate button to be able to compare the date of the selected movie with the current day and tell me If it was released today or not.
4. I will make a menu at the top that will be giving you the ability to add movies or select and delete movies, while when adding being able to specify a poster for the movie.
5. I want every time that I run the app to automatically check the dates and either ask me to remove those who have been released some time ago or give me a message like "Movie was released today".
If i had a structure and a list of the structure like this [code]Using Linq, how would i get the total sum of the saleprice from the list but the solddate has to be within 2 given dates.
working with dates has always been a tricky part so let me show you how I handle dates in my application and please could you show how do you handle dates and also feel free to criticise. Normally I would create out a system to be able to save and then load a date note I am using a varchar(50) on my SQL Server db rather than datetime but I understand this is wrong, that's why I am looking for a decent way to work the dates out. My system has worked for me fine so far but if I would have to sort the dates ascending or descending I think I would get into trouble because it is saved as text.