对着月亮唱歌的幸福生活

即便是莲藕内心真空之所,也有根根柔丝穿过。
  博客园  :: 首页  :: 联系 :: 管理

FreeTextBox

Posted on 2008-08-19 16:50  对月而歌  阅读(297)  评论(0)    收藏  举报

对于FreeTextBox(版本3.1.6)在ASP.Net 2.0中使用,需要2个文件:FreeTextBox.DLL和ftb.imagegallery.aspx
1.下载最新版FreeTextBox(版本3.1.6),解压
   FreeTextBox 3.1.6 (2006/07/18)
   博客园本地下载: https://files.cnblogs.com/cleo/FTBv3-1-6.zip
   作者网站下载地址:http://freetextbox.com/download/
2.打开ASP.Net2.0项目,添加引用。(如果添加过以前版本的FreeTextBox,先删除以前版本的引用)
3.拷贝ftb.imagegallery.aspx到你要使用FreeTextBox的目录(当然可以是其他,但是可能要设置路径)
4.将FreeTextBox添加到工具栏。(工具栏〉常规〉选择项〉浏览到DLL文件,添加)
5.可以将工具栏上的控件拖入到你的页面了

6.注意:

3.1.6的问题就出在ftb.imagegallery.aspx这个文件里
注意到没有:
     <form id="Form1" runat="server" enctype="multipart/form-data">  
    
   <FTB:ImageGallery id="ImageGallery1"
    JavaScriptLocation="ExternalFile"
    UtilityImagesLocation="ExternalFile"
    SupportFolder="~/aspnet_client/FreeTextBox/"

    AllowImageDelete=false AllowImageUpload=true AllowDirectoryCreate=false AllowDirectoryDelete=false runat="Server" />
  
</form>
这几行(红色三行),有什么用?管他有什么用呢,反正所有的东西都在FreeTextBox.Dll里,嘿嘿,我猜这是为了给1.1用户用的,删除这三行就可以了
1.插入FreeTextBoxInsert.aspx

Code

 

 

Code

 

2.访问数据库取出  str并显示

Code