Click here to Skip to main content
15,908,834 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: radchart labeles Pin
devsam25-Jul-07 1:35
devsam25-Jul-07 1:35 
QuestionPrinting by default landscape Pin
samerh24-Jul-07 20:31
samerh24-Jul-07 20:31 
Questionformat date in gridview control Pin
kinnuP24-Jul-07 20:12
kinnuP24-Jul-07 20:12 
AnswerRe: format date in gridview control Pin
Imran Khan Pathan24-Jul-07 21:19
Imran Khan Pathan24-Jul-07 21:19 
Questionsecurity problem to create files in shared wwwroot Pin
SamRST24-Jul-07 20:01
SamRST24-Jul-07 20:01 
AnswerRe: security problem to create files in shared wwwroot Pin
N a v a n e e t h24-Jul-07 20:23
N a v a n e e t h24-Jul-07 20:23 
GeneralRe: security problem to create files in shared wwwroot Pin
SamRST25-Jul-07 1:27
SamRST25-Jul-07 1:27 
QuestionDetailsView - selected object Pin
boy.pockets24-Jul-07 20:00
boy.pockets24-Jul-07 20:00 
Hi,

Currently I am accessing the selected 'record' in the DetailsView by using detailsView.SelectedValue, which returns an object, specified by the DataKeyNames property. What i would like is to get the selected record as an object (not just the primary key, as is the case with detailsView.SelectedValue).

It should be possible to do this. Point in case; the ObjectDataSource specifies a DataObjectTypeName property. When this property is set, the update and select methods recieve this object as a parameter when fired.

Currently, what I am doing is:
1. get the primary key through detailsView.SelectedValue,
2. get a DataSet from the back end, using the primary key
(the DataSet contains one row)
3. convert the DataRow to Business object (using reflection).
4. ...complete operation

Any help/advice is appreciated.
QuestionText box Pin
Imthu24-Jul-07 19:34
Imthu24-Jul-07 19:34 
AnswerRe: Text box Pin
Christian Graus24-Jul-07 19:52
protectorChristian Graus24-Jul-07 19:52 
AnswerRe: Text box Pin
Arindam Tewary24-Jul-07 20:09
professionalArindam Tewary24-Jul-07 20:09 
GeneralRe: Text box Pin
tisaracorner24-Jul-07 21:11
tisaracorner24-Jul-07 21:11 
GeneralRe: Text box Pin
Christian Graus24-Jul-07 21:55
protectorChristian Graus24-Jul-07 21:55 
GeneralRe: Text box Pin
Arindam Tewary24-Jul-07 22:07
professionalArindam Tewary24-Jul-07 22:07 
GeneralRe: Text box Pin
Christian Graus24-Jul-07 22:08
protectorChristian Graus24-Jul-07 22:08 
GeneralRe: Text box Pin
Arindam Tewary24-Jul-07 22:17
professionalArindam Tewary24-Jul-07 22:17 
GeneralRe: Text box Pin
Arindam Tewary24-Jul-07 22:15
professionalArindam Tewary24-Jul-07 22:15 
GeneralRe: Text box Pin
tisaracorner24-Jul-07 22:19
tisaracorner24-Jul-07 22:19 
GeneralRe: Text box Pin
Arindam Tewary24-Jul-07 22:25
professionalArindam Tewary24-Jul-07 22:25 
GeneralRe: Text box Pin
tisaracorner24-Jul-07 22:31
tisaracorner24-Jul-07 22:31 
GeneralRe: Text box Pin
Arindam Tewary24-Jul-07 22:46
professionalArindam Tewary24-Jul-07 22:46 
QuestionError accessing file with white spaces: FileStream object Pin
Ranjit082924-Jul-07 19:33
professionalRanjit082924-Jul-07 19:33 
AnswerRe: Error accessing file with white spaces: FileStream object Pin
Guffa24-Jul-07 22:10
Guffa24-Jul-07 22:10 
AnswerRe: Error accessing file with white spaces: FileStream object Pin
Ranjit082924-Jul-07 22:40
professionalRanjit082924-Jul-07 22:40 
QuestionDoc to Pdf converter Pin
gauthee24-Jul-07 19:31
gauthee24-Jul-07 19:31 

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.