hi im getting Index was outside the bounds of the array when i go to insert a linq statement
> slot_tbl_Schedule slot = new slot_tbl_Schedule
{
OrderID = int.Parse(lblOut.Text),
FromTime = DateTimeValue,
ToTime = DateTimeValue.AddMinutes(30),
BookedDate = DateTime.UtcNow,
BookedToDate = RadCalendar1.SelectedDate.Date,
AppointmentType = "Repair",
Engineer = ename,
payrollid = epayroll,
PROPREF = property.PROPREF,
JobMins = 30,
};
db.slot_tbl_Schedules.InsertOnSubmit(slot);
db.SubmitChanges();
what im not able to understand is that when i complie this and run it in my local version of VS 2008 that connects to iis it will add the values to the database however when i try to run this on a different server and connect to the same database it fails using the Index was outside the bounds of the array
Thanks in advance Kevin