Hallo,

ich möchte gerne aus ASP (Programmiersprache VB) eine Stored Procedure
aufrufen. Ich habe folgenden Code:


Dim cmd As New System.Data.SqlClient.SqlCommand("Name", conDB)
        cmd.CommandType = CommandType.StoredProcedure
        cmd.Parameters.Add("SAID", Request("id"))

Leider bekomme ich einen Fehler:

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.InvalidCastException: Specified cast is not valid.

Danke

Oli
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an