Quantcast
Channel: How to insert deserialized xml components into sql table? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by user2818985 for How to insert deserialized xml components into sql...

You are almost there you just you need to add the SQL Connection to the command public static void InsertEntries(IEnumerable<UBLGelen> entries) { using (SqlConnection sqlConnection = new...

View Article



Answer by leandro.andrioli for How to insert deserialized xml components into...

You just need to call SqlCommand.ExecuteNonQuery() Method after the cmd.CommandText = query line, as can be seen bellow: public static void InsertEntries(IEnumerable<UBLGelen> entries) { using...

View Article

How to insert deserialized xml components into sql table?

I am trying to insert certain parts of an xml document into a sql table. I have so far deserialized the xml into objects and can display them on console but can't insert them into a sql server table....

View Article
Browsing all 3 articles
Browse latest View live




Latest Images