We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,018 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

N-tier question

Good day,

I want to use N-TIER for my application.I have DAL and BAL already, since i have that 2 project already. am missing 1 project which is the UI.so i created my UI project. Since am excited to test my simple n-tier i created a simple GUI using gridview control. I dont have any problem reagrding the asp controls, but when i start my code behind using c#. I create a simple method just to pass the value of the database in my gridview.

gv.DataSource = myBAL.GetRecord(_myRecord);
gv.DataBind();

the problem is that when i tried to implement my method that record is not implemented on my BAL project.

is there any thing missing on my project?

here is my question/
1. Do i have to create dll for my UI?
2. how can i create dll for my project?

thanks

3
Contributors
2
Replies
17 Hours
Discussion Span
5 Months Ago
Last Updated
4
Views
cyberdaemon
Junior Poster
125 posts since Nov 2010
Reputation Points: 11
Solved Threads: 2
Skill Endorsements: 0

what does myBAL.GetRecord(_myRecord) return? It sounds like a single object, in which case it would not work because the GridView expects a list of items. It needs to return an IEnumerable, List, or something along those lines.

nakor77
Junior Poster
135 posts since Sep 2011
Reputation Points: 31
Solved Threads: 33
Skill Endorsements: 3

good day @nakor77 it return nothing.. my UI and BAL i think are not connecting to each other. because once i generate the Getrecord from the UI it does not generated in the BAL layer.

any suggestion?

cyberdaemon
Junior Poster
125 posts since Nov 2010
Reputation Points: 11
Solved Threads: 2
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0595 seconds using 2.66MB