TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
bill brown
NA
13
1.5k
Inserting into a table in a method and selecting it outside
Sep 25 2013 4:44 AM
I have a transaction, there is a method calling in the tran. which makes insertion into a table, after that when i select the row that i have inserted, i find no result
how can i solve this problem without changing this structure or what else can i do?
Thanks in advance
using (TransactionScope scope01 = new TransactionScope(option01, span01)) {
InsertIntoTable(); // inserting a row into Foo table , insert into...executenonquery
string smcd = "select * from Foo Where XCol=@XParm";
ExecuteQuery(scmd); // This Returns no result
scope01.Complete(); }
Reply
Answers (
12
)
how to take printout using crystal report using asp.net(web
what is the work of string.Empty() method