if the connection is already opened then such error will come.
do one thing to rectify that...
in 2 ways you can implement or rectify it
first way
if (ocon.State == ConnectionState.Open)
{
ocon.Close();
}
ocon.Open();
second way
if (ocon.State == ConnectionState.Close)
{
ocon.Open();
}