I am assuming you are referring the text datatype in Sql Server.

Do you need help with the sql query, the database connection.

As far as the text datatype is asp.net treats it as a string so you
can do something like the following:

DataSet ds;   //I am assuming you have dataset that contains the text fielld
string myString = ds.Tables[0].Rows[0]["myTextField"].ToString ( );

One trick when displaying text data on a webpage, the web page will
ignore hard carriage returns, I like to replace those with the <br>
element.  These is easy to do in .Net
   ds.Tables[0].Rows[0]["myTextField"].ToString ( ).Replace ( "\n","<br>" );

Hope this helps


On Tue, 15 Feb 2005 23:47:24 -0800 (PST), R.Sundar <[EMAIL PROTECTED]> wrote:
> Hi All,
> Can any one help me to show the entire text from Text Datatype ?
> I already asked for this many times , but no one seems to responding
> Thanks in advance
> --
> Sundar
>

-- 
Doug Nelson
www.synappnorth.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to