I'm trying to display records in a DetailsView after I click on the record in the GridView. Everything works good if I don't use a stored procedure to populate the DetailsView, but if I try to use a SP in the DetailsView it won't display after clicking on the record in the GridView. For some reason it won't bind together with the Stored Procedure. I click on the GridView record and nothing happens. Could someone let me know what I'm doing wrong. Thanks
Both GridView & DetailsView have this: DataKeyNames="ShippingIdentity"
Stored Procedure:
SELECT ShippingIdentity,
OrigPortDoor,
OrigPortCode,
AirExport,
OrigCity,
OrigState,
OrigZip,
OrigCountry,
DestPortDoor,
DestCity,
DestState,
DestZip,
DestCountry,
ShippingLane
FROM ShippingInfo
RETURN

Karthik ElumalaiRank #544 · 4.5K reputationPosted Jun 14, 2016, 7:48 AM EDT
Create Procedure Procedure-name ( Input parameters , Output Parameters (If required) ) As Begin Sql statement used in the stored procedure EnVinay SinghRank #604 · 4K reputationPosted Jun 15, 2016, 12:23 AM EDT