- 浏览: 1000949 次
最新评论
-
ITOYO1234567890:
[flash=200,200][url][img][/img] ...
《在线音乐网站系统》开发全程回忆 -
sanrenxing_1:
我觉得这种东西自己开发太麻烦了,就别自己捣鼓了,找个第三方,方 ...
tornado websocket
文章列表
准备工作:须要有spring的poi包支持
第一步:定一个方法将数据写入到Excel文件中,以输入流的形式返回给Action进行接受
public classIStudentServiceImpl {
public InputStream getInputStream(){
// HSSFWorkbook hw = new HSSFWorkbook();
HSSFWorkbook hw = new HSSFWorkbook();
// HSSFSheet sheet = hw.createSheet("sheet1");
...
- 2010-05-08 12:06
- 浏览 339
- 评论(0)
第一种方式:
public static String getRandomString(int length){
String str = "abcdefghijklmonpqrstuvwxyzABCDEFGHIJKLMONPQRSTUVWXYZ0123456789";
StringBuffer sb = new StringBuffer();
Random random = new Random();
for(int i=0; i<length; i++){
//从0-61中产生一个随机的数
int number ...
- 2010-05-08 11:25
- 浏览 874
- 评论(0)
HTML代码:
<asp:GridView ID="GridView1" runat="server" DataKeyNames="ckdh" Height="183px" Style="left: 0px; position: relative;
top: -18px; font-size: small;" Width="864px" AllowPaging="True" AllowSorting="True" AutoGe ...
- 2008-11-16 13:05
- 浏览 755
- 评论(0)
web.sitemap的代码:
?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="退库管理" description="单击此进行退库管理"> <siteMapNode url="" title=& ...
- 2008-11-16 13:01
- 浏览 337
- 评论(0)
HTML核心代码如下:
<asp:TextBox ID="TextBox1" runat="server" Style="position: relative" Width="200px" AutoPostBack="true" OnTextChanged="TextBox1_Changed"></asp:TextBox> <asp:Button ID="Button1" runat="server" ...
- 2008-11-16 12:47
- 浏览 400
- 评论(0)
String sqlconn = "Data Source=wei//SQLEXPRESS;Initial Catalog=HISDB;Integrated Security=True"; SqlConnection weida = new SqlConnection(sqlconn); weida.Open(); //********************* string sql = "SELECT tkdh FROM tkxx WHERE checked = 'True' AND tkdh='" + ckdh + "'"; Sq ...
- 2008-11-12 21:43
- 浏览 328
- 评论(0)