TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
albert albert
NA
524
0
InnerException
Dec 2 2013 5:42 AM
Hi everybody,
I have this:
[code]
<WebMethod()> _
Public Function UpdateBewerking(ByVal dtBewerking As dsDetails.BewerkingDataTable) As Integer
For Each dr As dsDetails.BewerkingRow In dtBewerking
If dr.RowState = DataRowState.Modified AndAlso dr("Code", DataRowVersion.Original) <> dr.Code Then
Throw New Exception("Mag code niet wijzigen")
End If
If dr.RowState = DataRowState.Added Then
Dim dtTemp As dsDetails.BewerkingDataTable
dtTemp = GetBewerkingByMerkCodes(dr.Merk, dr.Code)
If dtTemp.Count > 0 Then
If dtTemp(0).IsVerwijderd Then
dtTemp(0).IsVerwijderd = False
Else
Throw New Exception("Kan code niet dubbel toevoegen")
End If
End If
End If
Next
Return BewerkingAdapter.Update(dtBewerking)
End Function
[/code]
But I get this error:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Kan code niet dubbel toevoegen at wsMobiliteitsGarantie.DetailsService.UpdateBewerking(BewerkingDataTable dtBewerking) in D:\ontwikkeling\niels\Dealerportal\Dev\V2\Webservices\wsMobiliteitsGarantie\DetailsService.asmx.vb:line 782 --- End of inner exception stack trace ---
How to catch this error?
Thanks
Reply
Answers (
1
)
how to change the nevigate url of hyperlink in asp
partial views and tabs