How to fix it dataset issue

Posted by Jayakumars under ADO.NET on 1/19/2018 | Points: 10 | Views : 2211 | Status : [Member] [MVP] | Replies : 0

How to get datatable using storedprocedure in mysql only no need sql server
i tried my side but dictionary comes how to fix it

My Error like this

The given key was not present in the dictionary

any one guide me

My Code like this

command.Connection = connection;
command.CommandText = "GetReport";
command.CommandType = CommandType.StoredProcedure;
command.Parameters.AddWithValue("month", month);

var adapter = new MySqlDataAdapter(command);
var dataSet = new DataSet();

Mark as Answer if its helpful to you


(No response found.)

Login to post response