.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

FormView Insert Template Duplicate Rows

Posted By: elrafael     Posted Date: September 27, 2010    Points:2   Category :ASP.Net
Hi, I have a FormView which I use to insert data into a SQL Server as default mode.
Then I run a SP that moves the recently inserted data into another Table
When I execute the SP from SSME it works like a clam
When I execute it from my *.aspx page it duplicate rows from the origin table
When I open it in SSME I have 2 rows instead of the only one I recently inserted. So, it seems like FormView control still its hiting the table after the insert and conflicts with the next T-SQL query
Any one can give me a hand with this one ?
Thank you in advance


Responses
Author: Narayanan             
Posted Date: October 18, 2011     Points: 20   

Hi,
In SP- using Select Distinct

Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend