Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to enumarate SQL Server local instances in C#? Pin
bouli9-Feb-07 4:44
bouli9-Feb-07 4:44 
GeneralRe: how to enumarate SQL Server local instances in C#? Pin
Blue_Boy9-Feb-07 5:22
Blue_Boy9-Feb-07 5:22 
QuestionLoading Report (Crystal Report) from my Application, after deployment. Pin
Banjo Ayorinde9-Feb-07 3:37
Banjo Ayorinde9-Feb-07 3:37 
QuestionProblem in a webservice!!! [modified] Pin
kmuthuk9-Feb-07 3:29
kmuthuk9-Feb-07 3:29 
AnswerRe: Problem in a webservice!!! Pin
ednrgc9-Feb-07 4:36
ednrgc9-Feb-07 4:36 
AnswerRe: Problem in a webservice!!! Pin
m@u9-Feb-07 5:06
m@u9-Feb-07 5:06 
Questionrichtext into SQL-server ntext-field Pin
Salgerion9-Feb-07 3:24
Salgerion9-Feb-07 3:24 
AnswerRe: richtext into SQL-server ntext-field Pin
Judah Gabriel Himango9-Feb-07 5:12
sponsorJudah Gabriel Himango9-Feb-07 5:12 
The table in the database must first hold another field for storing the rich text of your RTB object. The field should be of type varchar(255) if your text never extends more than 255 characters. If 255 chars aren't enough, you can instead use a field of type text.

Once this is in place, you can add a parameter to your Stored Procedure, and have the procedure write the inputted text to the database. You do not need to convert the rich text box's RTF to bytes first. (FWIW, you were trying to conver the whole RTF to a single byte, which of course won't work.) Just pass the RTF in as the parameter value, no conversion needed, and it should work.


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Christian Zionism, as seen from a Jewish perspective
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: richtext into SQL-server ntext-field Pin
Salgerion11-Feb-07 22:14
Salgerion11-Feb-07 22:14 
Questioncan a free table can be read in c#.net Pin
kalyan_24169-Feb-07 2:55
kalyan_24169-Feb-07 2:55 
AnswerRe: can a free table can be read in c#.net Pin
ednrgc9-Feb-07 4:12
ednrgc9-Feb-07 4:12 
AnswerRe: can a free table can be read in c#.net Pin
andyharman9-Feb-07 4:15
professionalandyharman9-Feb-07 4:15 
QuestionHow do I get it to the end user? [modified] Pin
Khoramdin9-Feb-07 2:54
Khoramdin9-Feb-07 2:54 
AnswerRe: How do I get it to the end user? Pin
Seishin#9-Feb-07 4:07
Seishin#9-Feb-07 4:07 
GeneralRe: How do I get it to the end user? Pin
Khoramdin9-Feb-07 15:04
Khoramdin9-Feb-07 15:04 
QuestionLocking a combobox control and regular expression of Natural Numbers Pin
Rocky#9-Feb-07 2:49
Rocky#9-Feb-07 2:49 
AnswerRe: Locking a combobox control and regular expression of Natural Numbers Pin
Stefan Troschuetz9-Feb-07 3:16
Stefan Troschuetz9-Feb-07 3:16 
QuestionCrystal Reports - Accessing data used in report Pin
chazv9-Feb-07 2:32
chazv9-Feb-07 2:32 
QuestionRichTextBox Pin
Jeeva Jose9-Feb-07 1:28
Jeeva Jose9-Feb-07 1:28 
AnswerRe: RichTextBox Pin
Judah Gabriel Himango9-Feb-07 5:08
sponsorJudah Gabriel Himango9-Feb-07 5:08 
Questionrequirement of code Pin
preety ramteke9-Feb-07 1:21
preety ramteke9-Feb-07 1:21 
AnswerRe: requirement of code Pin
Ed.Poore9-Feb-07 1:46
Ed.Poore9-Feb-07 1:46 
QuestionHow To: Relative File Paths Pin
ssmerk9-Feb-07 1:13
ssmerk9-Feb-07 1:13 
AnswerRe: How To: Relative File Paths Pin
Ed.Poore9-Feb-07 1:47
Ed.Poore9-Feb-07 1:47 
AnswerRe: How To: Relative File Paths Pin
Stefan Troschuetz9-Feb-07 2:33
Stefan Troschuetz9-Feb-07 2:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.