Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 26th, 2006, 01:38 PM
Registered User
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default DatagridViewAutofilter column

In .NEt, in a windows form, I have a datagrid which has some columns. all cloumns are of DatagridViewAutoFilter type, and they filter for all datatypes except for column of datattype datetime.

It does'nt filter based on the selcted datetime.. and leave the grid blank.

Can anybody suggest some solution.

Thanks in advance.
 
Old November 3rd, 2006, 03:39 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to srikant_jan
Default

Just check while binding the datetime column you have not given string as datatype. As when you specify it string instead of datetime this problem occurs. OR Second possibility is that the column in the data table must be string type and you are storing datatime as string format other then this two possibilities i dont think there must be any other reason the sorting on the datatime should'nt occur.

Janamanchi Shrikanth Narsinha Ramulu





Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGridviewAutoFilter b3booner C# 0 December 20th, 2007 05:58 AM
DatagridViewAutofilter column manavi .NET Framework 2.0 0 October 26th, 2006 01:36 PM
previous column & next column ct Excel VBA 4 August 19th, 2005 04:50 AM
template column and bound column hidayah ASP.NET 1.x and 2.0 Application Design 1 April 9th, 2005 03:50 PM
Compare two Items of data(in column A and column B ever Excel VBA 6 February 13th, 2004 02:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.