Click here to Skip to main content
14,826,253 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: get primary key id from table Pin
Amit Patel198510-Mar-10 0:42
MemberAmit Patel198510-Mar-10 0:42 
GeneralRe: get primary key id from table Pin
Jilu J Correya10-Mar-10 1:02
MemberJilu J Correya10-Mar-10 1:02 
QuestionProblem with Trailing Slash in URL Pin
Jilu J Correya9-Mar-10 23:59
MemberJilu J Correya9-Mar-10 23:59 
AnswerRe: Problem with Trailing Slash in URL Pin
Gaurav Dudeja India10-Mar-10 0:23
MemberGaurav Dudeja India10-Mar-10 0:23 
GeneralRe: Problem with Trailing Slash in URL Pin
Jilu J Correya10-Mar-10 0:26
MemberJilu J Correya10-Mar-10 0:26 
GeneralRe: Problem with Trailing Slash in URL Pin
Gaurav Dudeja India10-Mar-10 0:32
MemberGaurav Dudeja India10-Mar-10 0:32 
GeneralRe: Problem with Trailing Slash in URL Pin
Jilu J Correya10-Mar-10 0:34
MemberJilu J Correya10-Mar-10 0:34 
QuestionData Retrieval/Display Guidance Pin
Adam_Dev9-Mar-10 23:23
MemberAdam_Dev9-Mar-10 23:23 
Hi
I'm generally looking for a bit of guidance to the scenario below as I am not sure of the best path to take.

I am creating an ASP site which needs to meet the following requirements:

•Will connect to a database
•Database data needs to be displayed in a custom layout (so no table/grid layout)
•Some of the displayed data will be read-only, so will only be displayed. Other data will need the option to be edited by the user.
•It is possible in the future that some of the read-only data will need to be updated to provide the ability to be edited by the user.
•Program functionality wise I need the ability to read certain values from the retrieved database data.
•Site needs to be as secure as possible.

A simple example could be contact details and car parts. The car parts will be read-only at present and the contact details will be the data that can be edited. In the future it is possible that the car parts could be edited by the user.

The issues I am trying to decide on are:

Which will be the best method to implement which will allow the least amount of code change in the future when the read-only fields need to be edited:-

•Should I go down the SQLDataSource route and bind these to a detailsview/datalist. (As I have only been using ASP for a limited time I'm not sure if I'm able to change the layout of these web controls enough using either CSS or the properties options to meet the display requirements of the site).
•Should I go down the DataSet and TableAdapter route where I can read the data retrieved from the database and the set 'Text' properties of, for example, label controls. I know this is probably the easiest method for reading certain values from the retrieved data.
I realise each method allows me to add in extra functionality in the future to allow the user to update/insert into the database, but I'm not sure which will be the best method for my requirements.

I am kind of leaning towards the DataSet/TableAdapter route, but feel I may not be aware to the full potential of the SQLDatasource method. Any help or advice is much appreciated.

Thanks
QuestionDrag and Drop behaviour in asp.net Pin
afsal qureshi9-Mar-10 23:22
Memberafsal qureshi9-Mar-10 23:22 
AnswerRe: Drag and Drop behaviour in asp.net Pin
Anurag Gandhi10-Mar-10 0:14
professionalAnurag Gandhi10-Mar-10 0:14 
QuestionDatapager in Listview Pin
monika_vasvani9-Mar-10 22:48
Membermonika_vasvani9-Mar-10 22:48 
AnswerRe: Datapager in Listview Pin
Rashmi_Karnam9-Mar-10 23:53
MemberRashmi_Karnam9-Mar-10 23:53 
Questionhow to display weather forecast on website Pin
meghamaharshi9-Mar-10 20:54
Membermeghamaharshi9-Mar-10 20:54 
AnswerRe: how to display weather forecast on website Pin
R. Giskard Reventlov9-Mar-10 21:28
MemberR. Giskard Reventlov9-Mar-10 21:28 
AnswerRe: how to display weather forecast on website Pin
Anurag Gandhi9-Mar-10 21:45
professionalAnurag Gandhi9-Mar-10 21:45 
QuestionIs it possible to detect if a client software is installed on a machine using browser? Pin
Ravi Munde9-Mar-10 19:44
MemberRavi Munde9-Mar-10 19:44 
AnswerRe: Is it possible to detect if a client software is installed on a machine using browser? Pin
sashidhar9-Mar-10 22:44
Membersashidhar9-Mar-10 22:44 
GeneralRe: Is it possible to detect if a client software is installed on a machine using browser? Pin
The Man from U.N.C.L.E.9-Mar-10 23:42
MemberThe Man from U.N.C.L.E.9-Mar-10 23:42 
GeneralRe: Is it possible to detect if a client software is installed on a machine using browser? [modified] Pin
sashidhar10-Mar-10 0:21
Membersashidhar10-Mar-10 0:21 
QuestionSearching in database Pin
Krunal Berawala9-Mar-10 15:48
MemberKrunal Berawala9-Mar-10 15:48 
AnswerRe: Searching in database Pin
Anurag Gandhi9-Mar-10 16:08
professionalAnurag Gandhi9-Mar-10 16:08 
GeneralRe: Searching in database Pin
Krunal Berawala9-Mar-10 17:14
MemberKrunal Berawala9-Mar-10 17:14 
GeneralRe: Searching in database Pin
Anurag Gandhi9-Mar-10 21:08
professionalAnurag Gandhi9-Mar-10 21:08 
GeneralRe: Searching in database Pin
Krunal Berawala10-Mar-10 13:10
MemberKrunal Berawala10-Mar-10 13:10 
GeneralRe: Searching in database Pin
Anurag Gandhi10-Mar-10 15:47
professionalAnurag Gandhi10-Mar-10 15:47 

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.