How do you insert multiple rows from a grid view to database
table under a single transaction?
Answer / ashish saxena
It can be done using SQL BulkCopy Object.
| Is This Answer Correct ? | 7 Yes | 6 No |
In my code i have 3 tables,i have to insert 3 tables data using single insert query so that i wrote transations in a sp.but what my problem is,in those 3 tables i have to include my empId from another table.when i'm passing values im getting error at this EmpId. how can i solve this error to execute insert query? plesae tell me the solution...
Explain what a diffgram is, and a good use for one?
can we pass coditions in swtich case?
In asp.net, how can you validate drop down box?
Explain client-side scripting?
What is the first name space in .netF/W heirarchy
How can you execute stored procedure from windows application?
What is the difference between Hash table and Array list?
What's a bubbled event?
why we should use more than one web.config files in our application? I have two web.config files in my application. One in the root directory and another one inside a sub folder. When the application runs which web.config file will run? why?
Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept?
what are the files used in asp .net
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)