i try to passing data from .xls file to sql server but its still not working the error messages says Keyword not support metadata, I'm using Entity Framework its my code;
Code
for (int i = 0; i
con.Open(); SqlCommand cmd = new SqlCommand(query, con);
cmd.ExecuteNonQuery();
con.Close();
If you have solution for this please tell me and I'll appreciate it Thanks
Arjunan SelvamRank #2,179 · 651 reputationPosted Aug 19, 2015, 6:15 PM EDT