المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Index was out of range. Must be non-negative and less than the size of the collection



C# Programming
07-02-2009, 02:22 PM
i face an error Index was out of range. Must be non-negative and less than the size of the collection in this code plz help
cmd.CommandText = "DELETE FROM Coupon_Info WHERE RecievingDate='" + GridView1.DataKeys[e.RowIndex].Values[0].ToString() + "'";