|
|
|
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:
|
|
|