HighTechTalks DotNet Forums  

edit template to edit record with null field

ASP.net Data Grid Control microsoft.public.dotnet.framework.aspnet.datagridcontrol


Discuss edit template to edit record with null field in the ASP.net Data Grid Control forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Tony WONG
 
Posts: n/a

Default edit template to edit record with null field - 10-29-2007 , 05:28 AM






i am new to asp.net

i find when using edit template to edit record with "null field", it fail

it is ok when the record has no null data field.

how should i do? Thanks

tony



Reply With Quote
  #2  
Old   
Mansi Shah
 
Posts: n/a

Default Re: edit template to edit record with null field - 10-31-2007 , 01:56 AM







Hi,
It would be better if u can expain your problem peoperly with code.It
might psbl that in database you have set 'not null' to that field. If it
is like that, then if the field is numeric then u can set any value like
-1 or 0 instead of null.

Hope you want something like this..

Regards,
Mansi Shah.

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.