Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
SQLBulkCopy with FireTrigger Error
John Mekubo
Apr 6 2016 9:49 AM
491
Reply
Hi guys. Kindly help fix this issue.
I get the following error while trying to fire sql trigger from asp.net webpage
Format of the initialization string does not conform to specification starting at index 0.
My code is as below: The error is on the last line.
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["warehousedbCon"].ToString());
DataTable dtDispac = (DataTable)ViewState["Dispatches"];
connection();
//creating object of SqlBulkCopy
using (SqlBulkCopy objbulk = new SqlBulkCopy("con", SqlBulkCopyOptions.FireTriggers))
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
code to generate crystalreport for windows application?
making dll or plugin