V
Vinod I
Hi Team,
I want to do following Task. Please let me know how should I go for it.
Thanks in advance.
I have a general method and I am getting parameters as "object" type.
No based on object type, I want to do few actions.
Like,
if(objCon.GetType() == typeof(SqlConnection))
{
objCon.Close();
}
But how I will do the "ObjCon.Close" ?......
-Vinod
I want to do following Task. Please let me know how should I go for it.
Thanks in advance.
I have a general method and I am getting parameters as "object" type.
No based on object type, I want to do few actions.
Like,
if(objCon.GetType() == typeof(SqlConnection))
{
objCon.Close();
}
But how I will do the "ObjCon.Close" ?......
-Vinod