Re: [DOTNET] Datagrid problem

2002-05-01 Thread Fernando, Chaminda non Unisys
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

Re: [DOTNET] Datagrid problem

2002-05-01 Thread Richard Spence
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

Re: [DOTNET] Datagrid problem

2002-04-30 Thread Marshall Harrison
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: >

Re: [DOTNET] Datagrid problem

2002-04-30 Thread Marshall Harrison
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

Re: [DOTNET] Datagrid problem

2002-04-29 Thread Marsh, Drew
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

Re: [DOTNET] Datagrid problem

2002-04-29 Thread Marshall Harrison
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

Re: [DOTNET] Datagrid problem

2002-04-29 Thread Marsh, Drew
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

Re: [DOTNET] Datagrid problem

2002-04-29 Thread Sills, Adam
> 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

Re: [DOTNET] Datagrid problem

2002-04-29 Thread Shawn Wildermuth
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,