- 博客(10)
- 资源 (1)
- 收藏
- 关注
原创 黑马程序员-怎样保存小数点后两位
class Program { static void Main(string[] args) { double num1=0.56789; string result1=num1.ToString("#0.00"); //点后面几个0就保留几位 Console.WriteLine(
2014-05-05 20:37:46 1062
原创 黑马程序员-传智播客SQL题
表一:student_info 学号 姓名 性别 出生年月 家庭住址 备注 0001 张三 男 1981-8-9 北京 NULL
2014-05-05 20:09:15 1935
原创 黑马程序员-横表、纵表转换
1)纵表结构 TableA Name Course Grade 张三 语文 75 张三 数学 80 张三 英语 90 李四 语文 95 李四 数学 55
2014-05-05 20:03:27 959
原创 黑马程序员-for remove除去相同元素
string str1 = textBox1.Text; for (int i = 0; i < str1.Length - 1; i++) { for (int j = i + 1; j < str1.Length; j++) { if (st
2014-05-05 19:33:05 896
原创 黑马程序员-我所知道的两种做动态字的方法
1.用for 做动态字 for (int i = 1; i < 600; i ++) { label1.Location = new System.Drawing.Point(i, 10); }
2014-05-05 19:29:22 1098
原创 黑马程序员-类 基姆拉尔森
public class b { int y, m, d; public b(int y, int m, int d) { this.y = y; this.m = m; this.d = d;
2014-05-05 19:25:47 840
原创 黑马程序员-点击按钮之后怎么做
MessageBox.Show("hello","world!",MessageBoxButtons.OKCancel,MessageBoxIcon.Error); 我想在按了 “是”之后 做一些工作,怎么知道我按的是 “是 ”还是“取消”怎么写代码? if (MessageBox.Show("hello", "world!", MessageBoxButtons.OKCancel, Messa
2014-05-05 19:15:42 976
原创 黑马程序员-简单的登录练习
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Dat
2014-05-05 19:10:26 1003
windows核心编程
2013-07-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人