Thanks, Yes you are right , like this cmd.Parameters.Add(New SqlParameter("@ID", SqlDbType.Int, 9, ParameterDirection.Output, False, 18, 0, "ID", DataRowVersion.Current, CInt(mCls.EM_ID)))
Best Of Regards, SOFTDEV If you have knowledge, let others light their candles at it