Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Fetching text data in Ajax Editor

$
0
0

hi,

I am storing data from Ajax Editor into database using LINQ where i have a table containing Description column as a text type. I want to fetch the data from description column into Ajax Editor itself using LINQ. How could i do it??

I tried the below code

 DataClassesDataContext dc = new DataClassesDataContext();

        var notice = from c in dc.NoticeAndOtherInfos select c.Description;
        Editor1.Content = notice.ToString();

but it is displaying the query and not the data.

Plz Help..


Viewing all articles
Browse latest Browse all 5678

Trending Articles