Can I use <asp: SessionParameter Direction = "Output" / "> to * set * a variable?
If I have a SqlDataSource with
InsertCommand="INSERT [Applications] ([UserID]) VALUES (@UserID);SELECT @ApplicationID=SCOPE_IDENTITY()"
Can I use SessionParameter to store the return value?
<asp:SessionParameter SessionField="__ApplicationID" Name="ApplicationID" Type="int32" Direction="Output" DefaultValue="-1" />
+2
a source to share
No one has answered this question yet
Check out similar questions: