List Info

Thread: DataTable to be used prior to DataView




DataTable to be used prior to DataView
user name
2008-01-03 00:05:58
I'm a starter in .Net & woking with the datagrid control
for
databinding.  Datagrid displays the rows well.  But when i
want to
sort the data through sort headers, the error
"DataTable to be used
prior to DataView" is displayed.   The error line is
"dv.sort =
"Name""

Can anyone help me in getting the code for sort command. 
Please drop
ur code in the mail id "rajsivaguruyahoo.co.in"

Thanks in  advance.

Raja...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "DotNetDevelopment, VB.NET, C# .NET,
ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting"
group.
To post to this group, send email to DotNetDevelopmentgooglegroups.com
To unsubscribe from this group, send email to
DotNetDevelopment-unsubscribegooglegroups.com
For more options, visit this group at
http:
//cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---


Re: DataTable to be used prior to DataView
user name
2008-01-03 02:15:56
You have to sort the dataview, and rebind this to you datagrid after sorting. There are many examples in google. If you cant firure it out post the sort and binding code.
 
--
Peter

On Jan 3, 2008 7:05 AM, Raja < rajsivaguruyahoo.co.in">rajsivaguruyahoo.co.in> wrote:

I'm a starter in .Net & woking with the datagrid control for
databinding.  Datagrid displays the rows well.  But when i want to
sort the data through sort headers, the error "DataTable to be used
prior to DataView&quot; is displayed.   The error line is "dv.sort =
"Name"&quot;

Can anyone help me in getting the code for sort command.  Please drop
ur code in the mail id " rajsivaguruyahoo.co.in">rajsivaguruyahoo.co.in"

Thanks in  advance.

Raja...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting&quot; group.
To post to this group, send email to DotNetDevelopmentgooglegroups.com
To unsubscribe from this group, send email to DotNetDevelopment-unsubscribegooglegroups.com
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )