Click here to Skip to main content
16,013,322 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
currently , I am doing a project. and the scenario is like this :::
i have one data grid which contains 5 items and the name of these five items are 1)s.no 2)book code 3)book title 4)type 5)category
1 digit-0001 Digit Book object oriented
2 xyzzz-0002 Magazine CD webdesign

and i have two filter in same form .. 1 filter uses to filter category only and other filter is used to filter particular title of that category .when user want to see only category of book and CD they can filter using filter category ..doing these category gets filter..now they want to print only book code i.e digit -0001 of that particular data grid..


i have implemented itextsharp to print ..so please give me an idea how to pass selected rows only to print
Posted
Comments
OriginalGriff 19-Aug-11 3:18am    
Sorry, but that doesn't make much sense.
Please use the "Improve question" widget to edit your question and provide better information. Try to explain in better detail what you are trying to achieve - I can see nothing related to passing values between forms at the moment.

1 solution

what I understand is you wanted to filter your records with the given criteria.

You can use Dataview for filter records from Datagrid source (i.e. Datatable) and when you got required records (i.e. values) in the Dataview bind it with the Datagrid.

If this is not the criteria then follow "OriginalGriff"
 
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