Click here to Skip to main content
16,014,952 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DataGrid using c# ASP.NET 2.0 Pin
Mike Ellison3-Aug-06 3:15
Mike Ellison3-Aug-06 3:15 
GeneralRe: DataGrid using c# ASP.NET 2.0 Pin
HTaHir3-Aug-06 20:04
HTaHir3-Aug-06 20:04 
QuestionHow to build and maintain the Shopping Cart in asp.net 2.0? Pin
Jay_se27-Jul-06 19:25
Jay_se27-Jul-06 19:25 
AnswerRe: How to build and maintain the Shopping Cart in asp.net 2.0? Pin
bluewavestrider28-Jul-06 0:12
bluewavestrider28-Jul-06 0:12 
GeneralRe: How to build and maintain the Shopping Cart in asp.net 2.0? Pin
Jay_se28-Jul-06 1:13
Jay_se28-Jul-06 1:13 
QuestionCHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values Pin
joelsef27-Jul-06 19:05
joelsef27-Jul-06 19:05 
AnswerRe: CHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values Pin
Ista28-Jul-06 7:43
Ista28-Jul-06 7:43 
GeneralRe: CHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values Pin
joelsef28-Jul-06 8:47
joelsef28-Jul-06 8:47 
No. You can set the value of the form field in it's Data Binding event to some value if it is empty (such as 0 or -1) then handle that scenario on the business class such as set it to null if it is <= 0, but that only works for instances where the value has to be greater than 0.

The Updating event on the Object data source is too late in the hierarchy, as well as every other event where you could possibly send a null value to the data binder. It seems as though the ODS instructs the FormView control as to the type it needs to convert the input fields' values to since all the conversion is attempted before the data is bound to the ODS.
GeneralRe: CHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values Pin
Ista28-Jul-06 9:38
Ista28-Jul-06 9:38 
GeneralRe: CHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values Pin
joelsef28-Jul-06 11:17
joelsef28-Jul-06 11:17 
GeneralRe: CHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values [modified] Pin
Ista28-Jul-06 11:19
Ista28-Jul-06 11:19 
GeneralRe: CHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values Pin
Ista28-Jul-06 9:45
Ista28-Jul-06 9:45 
AnswerRe: CHALLENGE: Formview (ObjectDataSource) can't handle nullable types? Handling null values Pin
MichaelF7717-Jul-10 6:32
MichaelF7717-Jul-10 6:32 
QuestionRadiio Button List Pin
nikeshkumar27-Jul-06 18:43
nikeshkumar27-Jul-06 18:43 
AnswerRe: Radiio Button List Pin
Hy Chanhan28-Jul-06 0:51
professionalHy Chanhan28-Jul-06 0:51 
AnswerRe: Radiio Button List Pin
_AK_28-Jul-06 1:16
_AK_28-Jul-06 1:16 
QuestionShare link of adding row to gridview Pin
blurMember27-Jul-06 15:11
blurMember27-Jul-06 15:11 
AnswerRe: Share link of adding row to gridview Pin
minhpc_bk27-Jul-06 15:28
minhpc_bk27-Jul-06 15:28 
QuestionRe: even superman cant solve gridview Pin
blurMember27-Jul-06 21:40
blurMember27-Jul-06 21:40 
QuestionMobile Agent Pin
Nabeel Younus Khan27-Jul-06 12:22
Nabeel Younus Khan27-Jul-06 12:22 
AnswerRe: Mobile Agent Pin
minhpc_bk27-Jul-06 15:28
minhpc_bk27-Jul-06 15:28 
Questionhow to access my application from other PC asp.net 2.0 issue Pin
Masood Ahmed27-Jul-06 12:07
Masood Ahmed27-Jul-06 12:07 
AnswerRe: how to access my application from other PC asp.net 2.0 issue Pin
minhpc_bk27-Jul-06 15:31
minhpc_bk27-Jul-06 15:31 
GeneralRe: how to access my application from other PC asp.net 2.0 issue Pin
Masood Ahmed27-Jul-06 16:53
Masood Ahmed27-Jul-06 16:53 
AnswerRe: how to access my application from other PC asp.net 2.0 issue Pin
cs856927-Jul-06 21:48
cs856927-Jul-06 21:48 

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.