A
alexandis
I have a big database, a lot of tables, so I will have a lot of pages
where i create a new record.
There will be a lot of 'reference' items - let's say 'Create user' ->
'Select user type' <Dropdownlist> -> Admin, Partner, Client type A,
Client type B, Contract (is taken from UserTypes table)
Such 'reference' lists (based on 'reference' tables) should be used on
several pages, I will have a lot of reference tables.
So - what is the best practices of setting such things in ASP.NET?
Should I create some SPs with selecting data, where table name,
columns are parameters and then filling datasource dynamically or i
should create some 'static' datasources components, bound every to
specific table, and so on? Should i create some classes to hold data
from tables in memory for short 'reference' tables?
Please, tell me how YOU do it in your project (especially if it proved
to be effective)
where i create a new record.
There will be a lot of 'reference' items - let's say 'Create user' ->
'Select user type' <Dropdownlist> -> Admin, Partner, Client type A,
Client type B, Contract (is taken from UserTypes table)
Such 'reference' lists (based on 'reference' tables) should be used on
several pages, I will have a lot of reference tables.
So - what is the best practices of setting such things in ASP.NET?
Should I create some SPs with selecting data, where table name,
columns are parameters and then filling datasource dynamically or i
should create some 'static' datasources components, bound every to
specific table, and so on? Should i create some classes to hold data
from tables in memory for short 'reference' tables?
Please, tell me how YOU do it in your project (especially if it proved
to be effective)