#region/// /// 从字符串里随机得到,规定个数的字符串. /// /// /// /// private string GetRandomCode(string allChar,int CodeCount) { //string allChar = "1,2,3,4,5,6,...
分类:
其他好文 时间:
2014-06-29 06:14:25
阅读次数:
190
使用独立模式安装Sharepoint Server 2013,允许配置向导到第8步创建示例数据时,出错了!Exception: System.ArgumentException: The SDDL string contains an invalid sid or a sid that cannot...
分类:
其他好文 时间:
2014-06-29 00:28:15
阅读次数:
376
#region 获取mvc 模型绑定的错误 /// /// 获得某个属性的错误ModelState错误信息 /// /// /// /// public static string Ge...
分类:
Web程序 时间:
2014-06-21 08:48:22
阅读次数:
218
参考自:http://stackoverflow.com/questions/13605166/windows-phone-8-threading-invalid-cross-thread-access出现错误:invalid cross-thread access,后台转到前台ui牵涉到跨线程访问...
分类:
编程语言 时间:
2014-06-20 22:15:02
阅读次数:
257
#Region Project Attributes #ApplicationLabel: SwitchingWindow #VersionCode: 20140615 #VersionName: 'SupportedOrientations possible values: unspecif...
分类:
其他好文 时间:
2014-06-19 07:55:52
阅读次数:
281
public partial class Index : System.Web.UI.Page{public string token = "AAA";//自己的 tokenprotected void Page_Load(object sender, EventArgs e){#region///...
分类:
微信 时间:
2014-06-18 20:55:16
阅读次数:
495
有时在编写struts.xml时会报错,但是找不出有什么她方有问题。也能正常运行MyEclipse有地方去struts的xml进行了验证,经查找把这里的build去掉就可以了
分类:
系统相关 时间:
2014-06-18 16:30:42
阅读次数:
281
#Region Project Attributes #ApplicationLabel: MyFirstProgram #VersionCode: 1 #VersionName: 'SupportedOrientations possible values: unspecified, lan...
分类:
其他好文 时间:
2014-06-18 13:46:13
阅读次数:
254
1 #include "iostream" 2 #include "windows.h" 3 #include "cstring" 4 using namespace std; 5 6 HANDLE g_hSemThreads=INVALID_HANDLE_VALUE; 7 8 static ...
1.枚举所有文件夹(递归)void EnumerateFolders (){ WIN32_FIND_DATA fd; HANDLE hFind = ::FindFirstFile (_T ("*.*"), &fd); if (hFind != INVALID_HANDLE_VALU...
分类:
其他好文 时间:
2014-06-14 23:57:43
阅读次数:
376