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);

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?


5 Years
Discussion Span
Last Post by cyberdaemon

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.


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?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.