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.
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.