الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

probelm in asp.net

مغلق
بدأه Aljamalimohammed في 5 مايو 2002 · 8 رد · 775 مشاهدة · في منتدى تصميم صفحات الويب
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

i can run the code aiso view the data but i can't add to the data or update the data or delete

i am sure the code is correct

where the problem i don't know

this the example u can see it by ur self i think u can run in ur computer i think there is FrameworkSDK setting or what

???this example

only change the dirctory for database and put at u want

http://mha.topcities.com/jamali.zip

#2

المشكلة انك تضيف وملف قاعدة البيانات غير موجود .... ملف القاعدة يجب أن يكون باسم pub.mdb ... جرب واعلمنا بالنتيجة

#3

thanks Ahmad

but

if u see the example in this link

http://mha.topcities.com/jamali.zip

where u put ur data u write the path to the data

for example:

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _

"D:inetpubwwwrootjamalipubs.mdb"

u see my data i put it in this directory

D:inetpubwwwrootjamalipubs.mdb

#4

لديك حقل في ملف قاعدة البيانات اسمه phone وهو مطلوب Required فيجب تعديله من خلال فتح قاعدة البيانات وتغيير خاصية الحقل إلى No بدلا من Yes .

بالتوفيق (f)

#5

bother:Ahammd

also the same no way to add data or update or delete

#6

اخي محمد الملفات الموجودة فقط للاضافة ولا يوجد اي مثال للـUpdate او الـDelete فتأكد من الرابط الموجود رجاء

#8

when i want to add,or update there is this error message

System.Data.OleDb.OleDbException: Operation must use an updateable query.

THIS MY EMAIL U CAN CONTACT WITH ME

jamali22@hotmail.com

#9




BorderColor="black" GridLines="Vertical"
cellpadding="4" cellspacing="0" width="100%"
AutoGenerateColumns="False"
OnDeleteCommand="dgData_Delete"
OnEditCommand="dgData_Edit"
OnCancelCommand="dgData_Cancel"
OnUpdateCommand="dgData_Update"
OnPageIndexChanged="dgData_PageIndexChanged" >




Text='<%# Container.DataItem("UserID") %>'/>











EditText="Edit"
CancelText="Cancel"
UpdateText="Update"
HeaderText="Edit"/>

CommandName="delete" />







هذا الموضوع مغلق.

مواضيع مشابهة