Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
1.00/5 (6 votes)
See more:
Searching the gridview using 3 tier Architecture.
plz send any sample code site...
Posted
Updated 21-Sep-12 4:47am
v2
Comments
Sergey Alexandrovich Kryukov 21-Sep-12 0:36am    
Not a question. And not clear what are you trying to achieve and why. What, searching just one grid view using three tiers? A bit too many, in my opinion... :-)
--SA
[no name] 21-Sep-12 0:37am    
what do u mean by this.....?
vangapally Naveen Kumar 21-Sep-12 1:03am    
Can You elaborate more what you need?
mohit jain 21-Sep-12 1:39am    
I have one gridView using product table(using 3 tier architecture)
searching the record in gridview using 3tier architecture.
Tejas Vaishnav 21-Sep-12 8:33am    
what you want, you want to filter records... or any thing else...?

Create a class library - BusinessLogic. Add a reference of it in UI layer project.
Create a class library - DataAccess. Add a reference of it in BL layer project.

Now, from your UI, use the object model and pass on to BusinessLogic project class. This class is a Business logic class. Do the changes as per your need here.
Now, pass on the changed data from business logic class to dataAccess project class. In this class, use ADO.NET and pass on the needed values to Stored Procedure.

For getting back data, it will be transferred from DA to BL and then BL to UI layer.
Have a look at these, explaination with samples:
3-tier architecture in C#[^]
3-Tier Architecture Examples[^]
3-Tier Architecture in ASP.NET with C#[^]
Try the problem by yourself and post specific issue.
 
Share this answer
 
Please go through 3-Tier Architecture in ASP.NET with C#[^].

This is exactly what you need.
 
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