this.Dispatcher.BeginInvoke(new Action(()=>
this.textBlock1.Text = DateTime.Now.ToString("HH:mm:ss fff"); }));
分类:
其他好文 时间:
2014-05-12 04:31:05
阅读次数:
251
功能: 1. 在TextView中显示图片,类似于含有表情图片的聊天
2.设置TextView的部分text可以点击说明: SpannableString
实现了CharSequence接口,可以将text的指定部分标记为CharacterStyle对象,如ImageSpan,Clickabl...
分类:
移动开发 时间:
2014-05-12 04:23:52
阅读次数:
625
1.新版的操作的确十分给力2.url如果有中文一定要记得stringByAddingPercentEscapesUsingEncoding否则闪退3.如果服务端头是
text/html的接口manager.responseSerializer.acceptableContentTypes = [NS...
分类:
Web程序 时间:
2014-05-12 04:20:47
阅读次数:
341
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows;using
System.Windows.Controls;using System.Wind...
分类:
其他好文 时间:
2014-05-12 04:19:45
阅读次数:
244
将Object转换为XDocment对象代码如下:C# – Object to XDocument 1
using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using
System.Text; 5 usin...
分类:
Web程序 时间:
2014-05-12 04:11:31
阅读次数:
371
在web项目中,ajax运用非常频繁,今天就给大家展示下DjangoajaxPost的使用方法templates模板---------------------index.html<html>
<header></header>
<body>
<p>name:<inputtype="text"name="nickname"/></p>
<inputclass="nam..
分类:
其他好文 时间:
2014-05-12 03:23:21
阅读次数:
359
SimpleDateFormate sdf = new
SimpleDateFormate("yyyy-MM-dd HH:MM:ss");String s =
sdf.format(Date)然后这个s输出时的月份老是不对后来看了一下API"yyyy-MM-dd HH:MM:ss"这段室友讲究的M代...
分类:
编程语言 时间:
2014-05-12 03:05:56
阅读次数:
249
上传图片,将图片名称插入到数据表中 protected void
btnSend_Click(object sender, EventArgs e) { string Name = txtName.Text; string
pictureName = fupP...
分类:
数据库 时间:
2014-05-12 01:04:51
阅读次数:
293
if (radioButton1.Checked == true) textBox2.Text =
姓名: + textBox1.Text + 性别: + radioButton1.Text + 专业 + comboBox1.Text; else
textBox2.Text = 姓名: + text...
分类:
其他好文 时间:
2014-05-11 16:58:29
阅读次数:
199
Given an array of words and a length L, format
the text such that each line has exactly L characters and is fully (left and
right) justified.You shoul...
分类:
其他好文 时间:
2014-05-11 15:15:29
阅读次数:
287