public static void SetBusy(Int32 contactId, bool isBusy, Int32 callId) { ContactStateDSTableAdapter ta = new ContactStateDSTableAdapter(); ta.Connection.ConnectionString = UcConnection.ConnectionString; System.Nullable <Int32> call_id = Helper.ResolveEmptyInt(callId); ta.SetBusy(contactId, isBusy, call_id); }