DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 3 May 2007 13:45:33 -0400,    posted on: microsoft.public.dotnet.framework.aspnet.datagridcontrol        back       

Thread Index
  1    Robert Dufour
          2    MasterGaurav \(www.edujini-labs.com\)
                 3    Robert Dufour
                        4    MasterGaurav \(www.edujini-labs.com\)
                               5    Robert Dufour


Newbie Delete question   
I have a gridview that allows deletes, It uses a single table but the 
contents of the table rel;ate to a child table and in then sql server 
defintions, cascabding deletes are not allowed. So functionally it works as 
it should , If I try to delete a record that has child recors I get an error 
page if I try to delete a record with no child records, delete works OK.

However I would like to have a more user friendly interface than the 
standard error page popup and have the user come back to the same page 
automatically. How can I do this?

Thanks for any help?
Bob
Date:Thu, 3 May 2007 13:45:33 -0400   Author:  

Re: Newbie Delete question   

> However I would like to have a more user friendly interface than the 
> standard error page popup and have the user come back to the same page 
> automatically. How can I do this?


Have you tried handling DbException (in Delete command) yourself?


-- 
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Date:Fri, 4 May 2007 08:18:21 +0530   Author:  

Re: Newbie Delete question   
No had not thought of that.
Weill look at it
Thanks
"MasterGaurav (www.edujini-labs.com)"  
wrote in message news:uNhdNbfjHHA.1624@TK2MSFTNGP02.phx.gbl...

>> However I would like to have a more user friendly interface than the 
>> standard error page popup and have the user come back to the same page 
>> automatically. How can I do this?
>
> Have you tried handling DbException (in Delete command) yourself?
>
>
> -- 
> Happy Hacking,
> Gaurav Vaish | www.mastergaurav.com
> www.edujini-labs.com
> http://eduzine.edujini-labs.com
> -----------------------------------------
>
> 
Date:Sat, 5 May 2007 21:19:13 -0400   Author:  

Re: Newbie Delete question   

> No had not thought of that.
> Weill look at it
> Thanks


Any luck?


-- 
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Date:Tue, 8 May 2007 09:29:15 +0530   Author:  

Re: Newbie Delete question   
Had to put it on the back burner, something else came up, haven't checked it 
out yet, sorrry
Bob
"MasterGaurav (www.edujini-labs.com)"  
wrote in message news:eZW11HZkHHA.744@TK2MSFTNGP05.phx.gbl...

>> No had not thought of that.
>> Weill look at it
>> Thanks
>
> Any luck?
>
>
> -- 
> Happy Hacking,
> Gaurav Vaish | www.mastergaurav.com
> www.edujini-labs.com
> http://eduzine.edujini-labs.com
> -----------------------------------------
>
> 
Date:Sun, 20 May 2007 12:41:20 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us