Karl,
Thanks for the answer.
Smith
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:#IC8ENA3EHA.1472@TK2MSFTNGP10.phx.gbl...[color=blue]
> heh..cpu cycles....those couple milliseconds will really come back to[/color]
haunt[color=blue]
> you....well, rest assured, when you do XXXXX.DataSource =[/color]
DataSet/DataTable,[color=blue]
> it automatically fetches the DefaultView from those (ie, you are always
> binding to a DataView), so there is no performance penalty. Frankly, you
> want things to be ordered but don't expect to spend any cpu cycles doing[/color]
it?[color=blue]
>
> Karl
>
> --
> MY ASP.Net tutorials
>
http://www.openmymind.net/
>
>
> "Smith John" <JohnSmith56@hotmail.com> wrote in message
> news:%23scUn0$2EHA.2196@TK2MSFTNGP14.phx.gbl...[color=green]
> > Thank you Karl for the soultion.
> > This step involves converting the data to dataview which involves few[/color][/color]
CPU[color=blue][color=green]
> > cycles.
> > Before implementing this I want to make sure there is no other method[/color]
> which[color=green]
> > is build in the dataset or dataset table is available.
> > Thanks,
> > Smith
> >
> >
> >
> >
> >
> > "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
> > wrote in message news:uuKl2Y$2EHA.2876@TK2MSFTNGP12.phx.gbl...[color=darkred]
> > > dim dv as DataView = myDataSet.Tables("myTable")
> > > dv.Sort = "MyColumn ASC"
> > > DataGrid1.DataSource = dv
> > > DataGrid1.DataBind()
> > >
> > > Karl
> > >
> > > --
> > > MY ASP.Net tutorials
> > >
http://www.openmymind.net/
> > >
> > >
> > > "Smith John" <JohnSmith56@hotmail.com> wrote in message
> > > news:O5JgrE$2EHA.2112@TK2MSFTNGP15.phx.gbl...
> > > > I am creating a table object inside a dataset and attaching that to[/color][/color]
> the[color=green][color=darkred]
> > > >
> > > > datagrid.
> > > >
> > > >
> > > >
> > > > DataGrid1.DataSource = myDataset.Tables("myTable")
> > > >
> > > > DataGrid1.DataBind()
> > > >
> > > >
> > > >
> > > > Is there anyway before I bind the data to the grid can I sort the[/color][/color][/color]
data[color=blue][color=green][color=darkred]
> > > > defining a column.
> > > >
> > > > Like order by criteria in SQL.
> > > >
> > > > Thanks,
> > > >
> > > > Smith
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]