تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[سؤال] خطأ عن استخدام Gridview
#1
السلام عليكم ورحمة الله وبركاته 

قمت بإنشاء صفحة ويب عن طريق فيجوال ستديو 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.
الرد }}}
تم الشكر بواسطة:
#2
الحمد لله انحلت المشكلة
الرد }}}
تم الشكر بواسطة:



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم