C#,vb.net,MVC,Jquery,javascript,jscript,vbscript,html,vb,sharepoint,COM,WPF,WCF,Wwf,Asp,Asp.net,questions & answers,

Latest in Sports

Friday, July 20, 2012

Scribble Pad-project requirement to implement an scribble pad which saves and retrieves Unicode data from SQL server 2005

Hi All,
 
We have an project requirement to implement an scribble pad which saves and retrieves Unicode data from SQL server 2005.
Please let me know if anyone has performed this kind of activity.
 
Scribble pad –is nothing but textbox which takes input in any language and save to database
 
Thanks,
Datta

1 comment:

  1. Hi Balaji,

    There are many ways to pass the XML data to client; which protocol you are using in WCF?

    Simple way to pass the XML, load the XML file and pass that value as string to client, after retrieve in the client side convert as XML file, example program

    [ServiceContract]
    public interface ISampleService
    {
    [OperationContract]
    string XMLdata();
    }


    public class Service : ISampleService
    {
    public string XMLdata()
    {
    XmlDocument xDoc = new XmlDocument();
    xDoc.Load("test.xml");
    return xDoc.InnerXml;
    }
    }

    Or, if you want to pass XML Serializer/SOAP format, please have a look following site
    http://www.codeproject.com/Articles/166763/WCF-Streaming-Upload-Download-Files-Over-HTTP
    http://www.codeproject.com/Articles/37057/File-Transfer-using-WCF-and-Socket

    -Oli

    ReplyDelete