PC Review


Reply
Thread Tools Rate Thread

DataSet Filter

 
 
Eddy Balan
Guest
Posts: n/a
 
      10th Dec 2003
Hi,

Please tell me how can I filter a dataset..!!!???? :-(((

Eddy


 
Reply With Quote
 
 
 
 
Cor
Guest
Posts: n/a
 
      10th Dec 2003
Hi Eddy,

You have to tell more what you want,

Because you can use by instance
dataset.select
dataset.compute
add a dataview
itterate throught the dataset with different methods

> Please tell me how can I filter a dataset..!!!???? :-(((


So tell what you want to do, maybe we can help you?

Cor


 
Reply With Quote
 
Jan Tielens
Guest
Posts: n/a
 
      10th Dec 2003
Please tell a little bit more about your problem... e.g. some code would be
great!

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


"Eddy Balan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Please tell me how can I filter a dataset..!!!???? :-(((
>
> Eddy
>
>



 
Reply With Quote
 
One Handed Man [ OHM# ]
Guest
Posts: n/a
 
      10th Dec 2003
Here's an example.

Me.dview = New DataView(Me.tablePeople)

dview.RowFilter = "FirstName = 'Terry'"

Me.dg3.DataSource = dview

In this example, I create a DataView of my table tablePeople, and then I
set the DataSource of my datagrid dg3 to that view, before this I filter on
my own name, this returns one record in my case. I also could have sorted
this differently for example.



OHM#






Eddy Balan wrote:
> Hi,
>
> Please tell me how can I filter a dataset..!!!???? :-(((
>
> Eddy


Regards - OHM# (E-Mail Removed)


 
Reply With Quote
 
Armin Zingler
Guest
Posts: n/a
 
      10th Dec 2003
"Eddy Balan" <(E-Mail Removed)> schrieb
>
> Please tell me how can I filter a dataset..!!!???? :-(((


http://msdn.microsoft.com/library/en...ngdatasets.asp


--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

 
Reply With Quote
 
Eddy Balan
Guest
Posts: n/a
 
      11th Dec 2003
If Me.txtKey.Text = "" Then
Me.Ds.Tables("MFM").Clear()
Me.view_MF.Parameters("@Key").Value = "n/a"
Me.daviewMFM.Fill(Me.Ds, "MFM")
Else
Me.Ds.Tables("MFM").Clear()
Me.view_MF.Parameters("@Key").Value=Me.txtKey.Text
Me.daviewMFM.Fill(Me.Ds, "MFM")
End If

At the moment I'm using a stored procedure witch I called every time the
textbox change to filter the dataset (this procedure require too many
resources). I've tried to use the select command but no results.

Regards
Eddy


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter Dataset Steve Schroeder Microsoft ADO .NET 4 2nd Apr 2005 10:52 AM
DataSet Filter =?Utf-8?B?Sm9u?= Microsoft ADO .NET 2 11th Mar 2005 01:23 AM
filter dataset =?Utf-8?B?TWlrZQ==?= Microsoft ASP .NET 5 8th Oct 2004 11:29 PM
how do I filter out chr(13) from a dataset John Microsoft VB .NET 1 17th Sep 2003 10:12 PM
filter dataset?? John Pether Microsoft ADO .NET 3 28th Jul 2003 02:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:58 AM.