摘要:
× 上传文件: ... 阅读全文
摘要:
阅读全文
摘要:
{求魔法力 每个魔法学徒的魔法力是不同的, 试编写一个程序,从键盘读入每个学徒的魔法力, 求全部魔法学徒的魔法力总和。当用户输入0时,程序结束。 } var a: string; i,sum : integer; begin read(i); while i0 do begin sum := sum + i; read(i... 阅读全文
摘要:
{电文保密 魔法世界电报局的电文保密的规律是将每个英文字母变成其后的第4个字母,如A变成E,a变成e。 最后的4个大写字母W、X、Y、Z分别变为A、B、C、D。非字母字符不变。输入一行字符,要求输出相应的密码。 } var a: string; i : integer; begin readln(a); for i:=1 to length(a) do ... 阅读全文
摘要:
Entity.Name = Regex.Replace(dt.Rows[i]["行政值日"].ToString().Trim().Replace(" ", "").Replace(" ", ""), @"\s", ""); Entity.Riqi = dt.Rows[i]["日期"].ToString().Trim().ToDateTime().T... 阅读全文
摘要:
http://kb.cnblogs.com/page/73528/ 1、 查询Student表中的所有记录的Sname、Ssex和Class列。 select sname,ssex,class from studentLinq: from s in Students select new { s.S 阅读全文
摘要:
diff --git a/CanDoo.Host/CanDoo.MvcHost/Areas/ShopA/Views/Home/Index.cshtml b/CanDoo.Host/CanDoo.MvcHost/Areas/ShopA/Views/Home/Index.cshtml index dbe87f1..aa4d1cc 100644 --- a/CanDoo.Host/CanDoo.Mvc... 阅读全文
摘要:
http://www.cnblogs.com/william-lin/p/3723752.html 阅读全文
摘要:
SELECT SUBSTRING(replace(replace(replace(CONVERT(varchar, ScanTime, 120 ),'-',''),' ',''),':',''),9,3) ctime, count(1) num FROM [eschool_1].[dbo].kg_Kaoqin group by SUBSTRING(replace(replace... 阅读全文
摘要:
CREATE TABLE snake (name VARCHAR(10 ),type INT,num INT, ctime DATETIME ) INSERT INTO snake VALUES(' 方便面', 1,10 ,'2015-08-10 16:20:05') INSERT INTO snake VALUES(' 香烟A ', 2,2 ,'2015-08-10 18:21:10') IN... 阅读全文
摘要:
实现发送短信验证码后60秒倒计时 https://www.oschina.net/code/snippet_2001568_48247 阅读全文
摘要:
C++中cin、cin.get()、cin.getline()、getline()、gets()等函数的用法 学C++的时候,这几个输入函数弄的有点迷糊;这里做个小结,为了自己复习,也希望对后来者能有所帮助,如果有差错的地方还请各位多多指教(本文所有程序均通过VC 6.0运行) 1、cin 2、ci 阅读全文
摘要:
var sql = @"SELECT TOP 1000 [Id] ,[UserName] ,[Name] ,[HeadimgUrl] ,[PasswordHash] ,[Email] ,[Enable] ,[LoginTimes] ,[LastLoginTime] ... 阅读全文
摘要:
PetaPoco.Core https://www.nuget.org/packages/PetaPoco.Core/5.1.228 阅读全文
摘要:
http://www.cnblogs.com/scottckt/archive/2010/08/11/1797716.html Linq中连接主要有组连接、内连接、左外连接、交叉连接四种。各个用法如下。 注:本文内容主要来自《Linq实战》,本例中用到的对象请见文章底部。 1、 组连接 组连接是与分 阅读全文
摘要:
#include #include #include #include #include using namespace std; string num2str(int i) { stringstream ss; ss= (int)'a' && (int)s >m; while(m--) { cin>>s; ... 阅读全文
摘要:
http://hmbb.hustoj.com/problem.php?id=1005 阅读全文
摘要:
#include #include #include #include using namespace std; int main(){ string s1; string s2; long m,n; m=1; n=1; cin>>s1>>s2; for(int i = 0 ; i< s1.length(); i++) { ... 阅读全文
摘要:
http://oj.lcsyzx.cn/JudgeOnline/problem.php?id=1051 阅读全文
摘要:
#include #include #include #include using namespace std; int main(){ string s; cin>>s; //0-970-82162-4 int m = ((int)s[0] -48) * 1; m += ((int)s[2] - 48) * 2; m += ((... 阅读全文
摘要:
http://oj.lcsyzx.cn/JudgeOnline/problem.php?id=1049 阅读全文
摘要:
漂亮的验证码(.Net MVC) http://blog.csdn.net/hzgang811856054/article/details/38432839 阅读全文
摘要:
http://blog.csdn.net/rightfa/article/details/50462887?locationNum=10 原文链接:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/X-Frame-Options?redirectlo 阅读全文
摘要:
Linq中连接主要有组连接、内连接、左外连接、交叉连接四种。各个用法如下。 注:本文内容主要来自《Linq实战》,本例中用到的对象请见文章底部。 1、 组连接 组连接是与分组查询是一样的。即根据分组得到结果。 如下例,根据publisther分组得到结果。 使用组连接的查询语句如下: //使用组连接 阅读全文
摘要:
private void Form1_Load(object sender, EventArgs e) { Registry registry = new Registry(); registry.Schedule(() =>DoMyJob()).WithName("DoMyJob").ToRunEvery(1).D... 阅读全文
摘要:
NET定时任务执行管理器开源组件–FluentScheduler http://www.cnblogs.com/Irving/p/4053462.html 阅读全文
摘要:
https://blogs.msdn.microsoft.com/scott_hanselman/2014/12/21/asp-net/ 阅读全文
摘要:
http://www.cnblogs.com/youring2/archive/2012/06/04/2532130.html 阅读全文
摘要:
http://jingyan.baidu.com/article/49ad8bcebe5b7d5834d8fa91.html 阅读全文
摘要:
http://blog.csdn.net/lnas_01/article/details/43987259 阅读全文
摘要:
shutdown -r -f -t 0 阅读全文
摘要:
http://jingyan.baidu.com/article/c1a3101e8b34c2de656debbe.html 阅读全文
摘要:
http://www.cnblogs.com/zihuxinyu/articles/extjs_jsonmodelbinder_mvc3_ajax.html 阅读全文
摘要:
最近收集了几篇文章,用于替换MVC中各种json操作,微软mvc当然用自家的序列化,速度慢不说,还容易出问题,自定义性也太差,比如得特意解决循环引用的问题,比如datetime的序列化格式,比如性能。NewtonSoft.json也就是Json.Net性能虽然不是最好的,但是是比较靠前的,其功能是最 阅读全文
摘要:
http://www.it165.net/pro/html/201306/6045.html 阅读全文
摘要:
https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=22973 阅读全文
摘要:
var kaoshiId = this.KaoshiId; DataTable dt = _IChengjiContract.ToChengjiTable(kaoshiId, 0L); NPOIHelper.ExportByWeb(dt,this.Kaoshi.Name, this.Kaoshi.Name); 阅读全文
摘要:
https://github.com/zhblue/hustoj insert into privilege(user_id,rightstr) values('wxy','administrator'); 编译器: https://github.com/zhblue/hustoj/blob/mas 阅读全文
摘要:
装完ubuntu 第一件事情就是连上网,换个源,进行更新操作,但前提条件是要配好ip和dns。 下面把自己配置的过程记录下来,权且当作一份备份,以便不时之需。 一、配置ip ubuntu的网络配置信息放在 /etc/network/interfaces 中, 操作: sudo vim /etc/ne 阅读全文
摘要:
解决方法很简单,使用英文安装就好,可以参考这个帖子:http://forum.ubuntu.com.cn/viewtopic.php?f=77&t=471547&p=3137632 解决方法很简单,使用英文安装就好,可以参考这个帖子:http://forum.ubuntu.com.cn/viewto 阅读全文