Hi All,
I'm using an URL?ID=F28C680E-BC0B-485D-8CFE-8BC29656BF71 as a method parameter for an objDataSource.
That is a GUID from the query string.
So in testing I wanted to see what would happen if a person browsed to the page without an ID field in the QueryString,
And of course a error is thrown, "Can't covert 0000000-0000-0000-0000-000000 to a GUID"
Which is expected.
My Question is this: Where would I check that the ID isn't a proper GUID, prior to the ObjDataSource getting all upset?
thanks