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

Saving Richtextbox Formate to access

مغلق
بدأه kar_eg في 3 يناير 2007 · 4 رد · 829 مشاهدة · في ADO.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

as'alamo 3likom

I need to save richtextbox formate to access

Ex:

I write text in richbox in many colors and bold font then

save it to access (field type memo) but when i get these data from access i found it normal black text without any format

how can i save my formate to access???

I hope if get solution as soon as possible

Thank you

#2

ana mesh 3aref leeh el mwdoo3 etna2al ll ADO.NET m3 n so2alee malosh 3lakaa asasan bl ADO.NET

but Ok i hope i get reply about my question

#3

to get formatted text from richTextBox you can use RTF property

  string TextAndFormat = richTextBox1.Rtf;

set the Access field to TextAndFormat variable

to set richTextBox again to that stored RTF

 richTextBox1.Rtf = TextAndFormat;

just use RTF to get or set Formatted Text

#4

لتحفظها بقاعدة البيانات اعمل حقل من نوع IMAGE

على ال SQL

لكن الاكسيس لا ينفع بالمرة

الا تعمل OLE

وفيها تقدر تستخدم الورد بدلا ال ريتش تكست والله اعلم

انا خزنتها بالاس كيو ال بس مش عارف اعرضها كتقرير ؟؟

موقوف من المشاركة لقلة الأدب

============================

#5

thank you ahmed and jooorj for ur replys

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

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