PDA

View Full Version : مبتدی: مشکل با detailsview



mahdioo12194
سه شنبه 11 تیر 1392, 14:57 عصر
با سلام
از بین دوستان کسی می دونه برای رفع این خطا من چکار باید کنم؟
این توضیح رو بدم که از یک detailsviewاستفاده کردم و موقع insert کردن خطای زیر می ده.
خواهش می کنم راهنمایی کنید.
با تشکر قبلی

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotSupportedException: Inserting is not supported by data source 'SqlDataSource1' unless InsertCommand is specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below