上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: 实现附件的上传:需要使用TIdMultiPartFormDataStream控件, uses IdMultipartFormData; 例子: procedure TClientForm.Button42Click(Sender: TObject);var paramStream: TIdMulti 阅读全文
posted @ 2017-07-26 14:49 坤霸天下 阅读(4373) 评论(2) 推荐(0)
摘要: 自定一个dialog,在子窗体中写一个方法,然后通过iframe进行调取function createwindowoktext(title, addurl,width,height,oktext,canceltext) {width = width?width:700;height = height 阅读全文
posted @ 2017-07-26 14:31 坤霸天下 阅读(4172) 评论(0) 推荐(0)
摘要: jeecg中的dictSelect本质是生成了很多input标签和div标签组成的,input存储的对应的就是字典中的code,div存储的就是字典中的name, 下面是取出code和那么的实例: 例子: var domainIds = new Array();var domainNames = n 阅读全文
posted @ 2017-07-26 14:29 坤霸天下 阅读(5928) 评论(0) 推荐(0)
摘要: 如图,点击Package Explorer面板上的双向箭头图标即可 阅读全文
posted @ 2017-07-26 14:21 坤霸天下 阅读(2683) 评论(0) 推荐(0)
摘要: java: import antlr.StringUtils;import org.jeecgframework.core.util.StringUtil; import java.security.SecureRandom; import javax.crypto.Cipher;import ja 阅读全文
posted @ 2017-07-25 14:46 坤霸天下 阅读(1570) 评论(0) 推荐(0)
摘要: import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class MD5Utils { //静态方法,便于作为工具类 public static String getMD5( 阅读全文
posted @ 2017-07-25 14:41 坤霸天下 阅读(413) 评论(0) 推荐(0)
摘要: Function StrList_Del(StrList,DelStrList:String):String; //将DelStrList中包含的元素,从Strlist中删除,如果在Strlist中存在的话 Var _StrList,_DelStrList,_RtnStrList:TStringLi 阅读全文
posted @ 2017-07-25 14:12 坤霸天下 阅读(283) 评论(0) 推荐(0)
摘要: Function StrList_Join(StrListA,StrListB:String):String; //将两个Strlist合并,求交集 (保留相同的) var SListA,SListB,SListC:TStringList; i:Integer; begin Result := '' 阅读全文
posted @ 2017-07-25 14:11 坤霸天下 阅读(936) 评论(0) 推荐(0)
摘要: Function StrList_Merge(StrListA,StrListB:String):String; //将两个Strlist合并,求并集 var SListA,SListB,SListC:TStringList; i:Integer; begin Result := ''; Try S 阅读全文
posted @ 2017-07-25 14:10 坤霸天下 阅读(393) 评论(0) 推荐(0)
摘要: delphi调用http接口直接使用idhttp就可以了,但是调用https接口的时候就需要和IdSSLIOHandlerSocket1控件一起使用。 截图中是两个控件的具体配置,需要注意的是IdSSLIOHandlerSocket1.Method属性,否则会报错! 其中还会用到libeay32.d 阅读全文
posted @ 2017-07-25 14:01 坤霸天下 阅读(8650) 评论(4) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 下一页