Click here to Skip to main content
15,902,907 members
Home / Discussions / C#
   

C#

 
AnswerRe: string vs String Pin
BillWoodruff9-Aug-11 8:35
professionalBillWoodruff9-Aug-11 8:35 
AnswerRe: string vs String Pin
PIEBALDconsult9-Aug-11 14:44
mvePIEBALDconsult9-Aug-11 14:44 
Questionsetup assistant software from setup package Pin
md_refay9-Aug-11 5:28
md_refay9-Aug-11 5:28 
AnswerRe: setup assistant software from setup package Pin
Richard Andrew x649-Aug-11 9:45
professionalRichard Andrew x649-Aug-11 9:45 
Questioncreae application shortcut Pin
md_refay9-Aug-11 5:25
md_refay9-Aug-11 5:25 
AnswerRe: creae application shortcut Pin
Eddy Vluggen9-Aug-11 7:26
professionalEddy Vluggen9-Aug-11 7:26 
AnswerRe: creae application shortcut Pin
Bernhard Hiller9-Aug-11 20:17
Bernhard Hiller9-Aug-11 20:17 
QuestionUI, BLL and DAL Pin
paper679-Aug-11 4:17
paper679-Aug-11 4:17 
Hi,

I'm trying to come up with the architecture for my new project.
It's a window form based application with a SQL Server backend.

I would like to use a multi-tiered approach with the database, a data access layer, a
business logic layer and a user interface layer.

The structure of the solution is as follows

- DAL (Class Library)
- BLL (Class Library)
- UI (Window form application)

From what I understand, the UI should not have access to the DAL (except via the BLL),
so there should be no reference to the DAL in the UI. Wright ?
I use the "TableAdapter Configuration Wizard" to generate my DAL code, which sometimes
returns typed datatables. The businesslogic layer returns those same typed datatables that
were defined in the DAL. I'm setting the data source of a gridview to that typed datatable.
This requires that the UI know something about the datatable defined in the DAL, so to make
this work I have to place a reference to the DAL in my UI layer, which I supose is not
good programming practise. How should this be done ??
AnswerRe: UI, BLL and DAL Pin
Shameel9-Aug-11 4:26
professionalShameel9-Aug-11 4:26 
AnswerRe: UI, BLL and DAL Pin
PIEBALDconsult9-Aug-11 5:19
mvePIEBALDconsult9-Aug-11 5:19 
GeneralRe: UI, BLL and DAL Pin
paper679-Aug-11 6:20
paper679-Aug-11 6:20 
GeneralRe: UI, BLL and DAL Pin
PIEBALDconsult9-Aug-11 14:36
mvePIEBALDconsult9-Aug-11 14:36 
AnswerRe: UI, BLL and DAL Pin
Not Active9-Aug-11 5:27
mentorNot Active9-Aug-11 5:27 
QuestionExecuteScalar return value Pin
vanikanc9-Aug-11 3:38
vanikanc9-Aug-11 3:38 
AnswerRe: ExecuteScalar return value Pin
Gareth H9-Aug-11 3:46
Gareth H9-Aug-11 3:46 
AnswerRe: ExecuteScalar return value Pin
Keith Barrow9-Aug-11 3:47
professionalKeith Barrow9-Aug-11 3:47 
AnswerRe: ExecuteScalar return value Pin
Shameel9-Aug-11 4:15
professionalShameel9-Aug-11 4:15 
AnswerRe: ExecuteScalar return value Pin
Matt Meyer9-Aug-11 4:38
Matt Meyer9-Aug-11 4:38 
AnswerRe: ExecuteScalar return value Pin
PIEBALDconsult9-Aug-11 5:14
mvePIEBALDconsult9-Aug-11 5:14 
QuestionSignature of the Program or application Pin
sarang_k9-Aug-11 0:38
sarang_k9-Aug-11 0:38 
AnswerRe: Signature of the Program or application Pin
Pete O'Hanlon9-Aug-11 0:40
mvePete O'Hanlon9-Aug-11 0:40 
GeneralRe: Signature of the Program or application Pin
sarang_k9-Aug-11 0:41
sarang_k9-Aug-11 0:41 
AnswerRe: Signature of the Program or application Pin
Shameel9-Aug-11 0:48
professionalShameel9-Aug-11 0:48 
GeneralRe: Signature of the Program or application Pin
Manfred Rudolf Bihy9-Aug-11 2:50
professionalManfred Rudolf Bihy9-Aug-11 2:50 
GeneralRe: Signature of the Program or application Pin
Shameel9-Aug-11 4:17
professionalShameel9-Aug-11 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.