I want to do this not in asp.net application but in windows
application(vb.net)
Chaminda
-Original Message-
From: Richard Spence [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 01. Mai 2002 21:12
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Datagrid problem
Yes there is a OnSortCommand event
Yes there is a OnSortCommand event:
private void SortRows(object source, DataGridSortCommandEventArgs e)
{
// fired when the column headings in the DataGrid are clicked
//get the sort expression (name of the column heading that was clicked)
string strSO = e.SortExpressio
get it working and getting there is half the fun.
Marshall
-Original Message-
From: Marsh, Drew [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 2:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Datagrid problem
Marshall Harrison [mailto:[EMAIL PROTECTED]] wrote:
>
ginal Message-
From: Sills, Adam [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 2:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Datagrid problem
> 1. After retrieving the data I need to programtically adjust the data
> in a column. To be exact I need to convert a str
Marshall Harrison [mailto:[EMAIL PROTECTED]] wrote:
> I'm already using a DataView and I've looked at the Filter
> method but that only seems to allow me to filter on existing columns.
>
> I need to take the lat/lon of an origin and a destination
> then calculate the mileage between them. After p
rshall Harrison
-Original Message-
From: Shawn Wildermuth [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Datagrid problem
I can't remember off the top of my head how to do #1 (but it can be
done), but #2 can be done with a DataV
Marshall Harrison [mailto:[EMAIL PROTECTED]] wrote:
> 1. After retrieving the data I need to programtically adjust
> the data in a column. To be exact I need to convert a string
> date in MMDD format to a proper date format. I can't seem
> to find a way to do this?
Use a DataGridTextBoxColum
> 1. After retrieving the data I need to programtically adjust the data
> in a column. To be exact I need to convert a string date in MMDD
> format to a proper date format. I can't seem to find a way to do this?
If you're using a database, why not convert the MMDD date string to an
actual
I can't remember off the top of my head how to do #1 (but it can be
done), but #2 can be done with a DataView.
Thanks,
Shawn Wildermuth
[EMAIL PROTECTED]
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of Marshall Harrison
> Sent: Monday, April 29,