Hi I am using vb.net 2008 and sql server 2005 in that one form contains the richtextbox from that richtextbox i am saving the questions in database now i want to change each questions font and size.
can anybody help me!
Hi I am using vb.net 2008 and sql server 2005 in that one form contains the richtextbox from that richtextbox i am saving the questions in database now i want to change each questions font and size.
can anybody help me!
Rich text is a sort of language where you define some attributes for the text in.
You can go to http://msdn.microsoft.com/en-us/library/aa140277(v=office.10).aspx to read about internal syntax of rich text.
Assuming you are saving the contents of the richtexbox rtf property in the SQL database, the easiest way is to write som kind of procedure to read the SQL data into a richtextbox, select the text into the richtextbox to change the font and size, do the changes on the selectedtext and then update the record in the SQL table wih the new rtf.
Hope this helps
Can you explain in detail i am not understand can u give me example
ok done it Thanks
It's working nice Thank you
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.