B
Batterhead
hi there,
i use c# and want to locate an appointment item in the appointment
collection. i tried different ways but it keeps reporting "The query
string is incorrectly formatted.". below is what i have tried, any
idea? thanks.
string ArgsItemId = "1073741828";
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = " + ArgsItemId);
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = \"" + ArgsItemId +
"\"");
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = '" + ArgsItemId +
"'");
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = " +
Convert.ToInt32(ArgsItemId));
batterheadccw
i use c# and want to locate an appointment item in the appointment
collection. i tried different ways but it keeps reporting "The query
string is incorrectly formatted.". below is what i have tried, any
idea? thanks.
string ArgsItemId = "1073741828";
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = " + ArgsItemId);
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = \"" + ArgsItemId +
"\"");
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = '" + ArgsItemId +
"'");
AppointmentCollection acApptColn =
olsSession.Appointments.Items.Restrict("[ItemId] = " +
Convert.ToInt32(ArgsItemId));
batterheadccw