Quantcast
Channel: DataSource Controls - SqlDataSource, ObjectDataSource, etc.
Viewing all articles
Browse latest Browse all 956

mysql stored procedure is not working corretely in C#

$
0
0

Hi all

My code for sp_empupdate is not working in mysql,but it is work on sql database

why

MySqlCommand com = new MySqlCommand("sp_empupdate", con);
com.CommandType = System.Data.CommandType.StoredProcedure;
com.Parameters.AddWithValue("Name", name);
com.Parameters.AddWithValue("Age", ages);
com.Parameters.AddWithValue("address", add);
com.Parameters.AddWithValue("imag_path1", compleurl);
com.Parameters.AddWithValue("empid", ids);


Viewing all articles
Browse latest Browse all 956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>