随笔分类 - C#每天一例
持续行动,相信坚持的力量。
摘要:2020-05-04 每日一例第46天 1.后台代码 OpenFileDialog op = new OpenFileDialog(); if (op.ShowDialog()==DialogResult.OK) { MessageBox.Show("文字长度:"+File.Open(op.File
阅读全文
摘要:2020-04-28 每日一例第45天 1.后台代码 <HTML><HEAD> 0420HTML中DIV的用法<style type="text/css">a:link{ font:14 宋体; color:blue; text-decoration:none; }a:active { color:
阅读全文
摘要:2020-04-28 每日一例第44天 1.后台代码 <html><head> 0420html中div的用法</head> <body> <div style="width:300px;height:600px;border:1px solid red;"> <div style="width:1
阅读全文
摘要:2020-04-27 每日一例第43天 1.后台代码 <html> <center><head> 0420html中div的用法</head> <body> <div style="color:Red; font-size:50px;background-color:Blue;width:300px
阅读全文
摘要:2020-04-21 每日一例第42天 1.后台代码 string dt = string.Format("{0}/{1}/{2}", textBox1.Text, textBox2.Text, textBox3.Text); DateTime pdt = Convert.ToDateTime(dt
阅读全文
摘要:2020-04-21 每日一例第41天 1.后台代码 <html> <center><head> 0420html中div的用法</head><body><div style="color:Red; font-size:50px;background-color:Blue;width:300px;b
阅读全文
摘要:2020-04-19 每日一例第40天 1.后台代码 MessageBox.Show("今天是:"+DateTime.Now.ToString("dddd"),"提示!"); 2.最终效果
阅读全文
摘要:2020-04-18 每日一例第40天 1.后台代码 double s; if (double.TryParse(textBox1.Text,out s )) { MessageBox.Show("输入的数值正确"); } else { MessageBox.Show("输入的数值不正确!"); }
阅读全文
摘要:2020-04-16 每日一例第39天 1.要求: 2.后台代码: <!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="re
阅读全文
摘要:2020-04-16 每日一例第38天 1.要求: 2.后台代码: <html> <center><head> 邮箱登录</head><body> <table> <form> <tr> <td>邮箱账户: </td> <td><input name="txtname" type="text"/><
阅读全文
摘要:2020-04-15 每日一例第37天 1.要求: 2.后台代码: <html> <center><head> 邮箱登录</head><body> <table> <form> <tr> <td>邮箱账户: </td> <td><input name="txtname" type="text"/><
阅读全文
摘要:2020-04-14 每日一例第36天 1.要求: 2.后台代码: <html> <center><head> 邮箱登录</head><body> <table> <form> <tr> <td>邮箱账户: </td> <td><input name="txtname" type="text"/><
阅读全文
摘要:2020-04-13 每日一例第35天 1.要求: 2.后台代码: <html> <center><head> 邮箱登录</head><body> <table> <form> <tr> <td>邮箱账户: </td> <td><input name="txtname" type="text"></
阅读全文
摘要:2020-04-12 每日一例第34天 1.表格要求: 2.代码: <pre><html> <head><!--标题语句--> <tittle> 学生成绩</tittle><!--标题--> </head><br /><center> <body><!--内容--> <table border="1
阅读全文
摘要:2020-04-11 每日一例第33天 1.新建html文件; <table border="1" height="300" width="300"> <tr> <td>朱仁贵</td> <td>刘晓庆</td> <td>李二贵</td> </tr> <tr> <td colspan="2">朱仁贵
阅读全文
摘要:2020-04-09 每日一例第32天 1.新建html文件; <pre><html> <head><!--标题语句--> <tittle> 表单</tittle><!--标题--> </head><br /> <body><!--内容--> <table border="1"> <tr> <td>
阅读全文
摘要:2020-04-09 每日一例第31天 1.新建html文件; <li>春天</li><!--无序排法> <li>夏天</li> <li>秋天</li> <li>冬天</li> <ol><!--有序排法> <li>听到闹钟</li> <li>关闭闹钟</li> <li>再睡一会</li> </ol>
阅读全文
摘要:2020-04-08 每日一例第30天 1.Html如何加入图片; <img src="D:\1.jpg" border=1 alt="人民艺术" tittle="art of people" width=250 height=250> 2.代码分析 src:接图片地址; alt:图片名字; tit
阅读全文
摘要:2020-04-07 每日一例第29天 1.Html如何加入图片; 超链接:<a href="http://www.baidu.com"> 百度一下</a> 图片:<img src=".jpg"/> 2.完整代码; <pre><html> <head><!--标题语句--> <tittle> X的家
阅读全文
摘要:2020-04-06 每日一例第28天 1.标签表示; 换行:<br/>; 段落:<p></p>; 居中:<center></center>; 加粗:<b></b>; 下划线:<u></u>; 斜体:<i></i>; 字体:<font></font>; 分割线:<hr></hr>; 空格: 
阅读全文
浙公网安备 33010602011771号