Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm very new and just recently started working with code and although i love it am a bit overwhelmed with each step so if i don't make sense please forgive me i apologies early.

Using VS08 writing an ASP/VB project, I have used the built in SQL and made tables needed. I've made various data adapters pulling from the tables and till now have had no issues getting it to do what i need.

I currently need to filter the results displayed from one adapter to the Grid view on a page.

The GridView is on a page alone and is accessed by a link from a master page. I have tried to handle this using many different options like ... on the GridView page at load or at the link button code behind and in the adapter itself.

I have read extensively on this and just cant seem to crack it. I still believe i am on the right path with the FillBy statement inside the adapter. I have one column that populates 2 words, Open and closed If your wondering what i am filtering.

This instance i will need to show all the data in the table with the OPEN value.
Posted
Updated 27-Oct-11 5:14am
v4
Comments
yogiCsharp 31-Oct-11 6:43am    
I guess you should elaborate the problem more but as far as I got, The problem is about filtering the fetched data from a database at front end. I don't know if you have tried it or not but you can use

Datset1.Tables[0].Search()

method to filter the fetched data at front end.
NOTE: I am a C# developer so don't know if the syntax is right, pardon me for that.

Please try with Dataset.Tables[0].rows.find for your requirement
 
Share this answer
 
i think we have to use open brackets in VB like

Dataset.Tables(0).rows.find for your requirement
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900