0
如何获取我的vb代码中的作用域标识参数。我到目前为止......获取scope_identity的返回值
InsertCommand="INSERT INTO [table_name] ([title], [subtitle], [description], [image1], [image1_caption], [image2], [pdf], [meta_description], [meta_keywords]) VALUES (@title, @subtitle, @description, @image1, @image1_caption, @image2, @pdf, @meta_description, @meta_keywords); SELECT @NewID = SCOPE_IDENTITY()"
<asp:Parameter Direction="Output" Name="NewID" Type="Int32" />
我该如何检索这个ID,在DetailsView1_ItemInserted?
如果您需要了解更多信息,请告诉我。
谢谢