Re: SQL Data Base Example does not wowrk

  •  08-19-2010, 8:40 PM

    Re: SQL Data Base Example does not wowrk

    Please follow steps:
    1. open link http://cutesoft.net/example/howto.aspx, click highlight text "Using a Sql Server database as the file storage", this is online demo
    2. click "Download source code", you will can download its source code
    3. unzip the download package
    4. in folder "sqlsample", you can find "fsitems.sql", please create one database called "test", and then execute "fsitems.sql" in this database, the uploaded images will be stored in this db
    5. open visual studio,click "File"==>"Open Website"==>point folder to the unzipped download package
    6. open file "app_code\sqlsample\sqlfilestorage.cs",update the following connection string to the actual string: public static string ConnectionString=@"Server=(local);database=customfileprovider6.6;uid=cute;pwd=cute;";
    7.click "build web site"
    8. after compile is successful,right click "usesql.aspx", click "view in browser", you will can run the cuteeditor and upload image to database
    Regards,
    Eric

     

View Complete Thread