منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب

نسخة كاملة : خطأ عن استخدام Gridview
أنت حالياً تتصفح نسخة خفيفة من المنتدى . مشاهدة نسخة كاملة مع جميع الأشكال الجمالية .
السلام عليكم ورحمة الله وبركاته 

قمت بإنشاء صفحة ويب عن طريق فيجوال ستديو 2010 وتضممن جدول به الحقول التالية 

ID   ------------------------   primary key

first name
last name
email 

وعملية ادخال البيانات تتم بصورة صحيحة عن طريق المتصفح ولكن عندما عمل Gridview وقمت برابطها بالقاعدة البيانات العرض تظهر جميع الحقول مع البيانات 
 
ولكن في عملية update تظهر لي هذه الرسالة 

 
Incorrect syntax near 'nvarchar'.
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.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'.

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.
الحمد لله انحلت المشكلة