`
DarkWingBoy
  • 浏览: 48100 次
  • 性别: Icon_minigender_1
  • 来自: 青岛
社区版块
存档分类
最新评论
文章列表

MySQL存储过程

http://www.blogjava.net/sxyx2008/archive/2009/11/24/303497.html
http://www.cnblogs.com/yangchao/archive/2011/03/01/2044399.html
http://blog.csdn.net/woailaji1/article/details/4088957 我们以Repeater为例: 1.首先在Repeater中<ItemTemplate>里加入一个服务器控件Label 2.通常情况下在Label中显示字段所用的方法是 <asp:Label runat="server"  Text='<%# Eval("Client_Name")%>' /> 其中Client_Name是要显示的数据表的字段名 3.然后对Client_Name加入逻辑 <asp ...
在一个页面上放一个TextBox1,一个Button1按钮,当输入内容时点击按钮,显示查询到的相关内容, 以下代码已经实现了查询功能,但是没有查询到的匹配信息时,在页面上显示提示信息,希望有高手指点! protected void Button1_Click(object sender, EventArgs e) { SqlConnection Connection = new SqlConnection(@"Data Source=EST-13\SQLEXPRESS;Initial Catalog=wuhanUniversity ...
jsoup 是一款 Java 的 HTML 解析器,可直接解析某个 URL 地址、HTML 文本内容。它提供了一套非常省力的 API,可通过 DOM,CSS 以及类似于 jQuery 的操作方法来取出和操作数据。本文主要介绍如何使用 jsoup 来进行常用的 HTML 解析。 http://www.ibm.com/developerworks/cn/java/j-lo-jsouphtml/
当打开多个Activity(之前的没关闭)时,如何在当前的Activity退出程序呢?我们都知道最简单的是finish(),但这只是关闭当前的Activity,并不是退出整个程序。有人说用System.exit(1),我自己也试过用Process.killProcess(Process.myPid())。但都不理想,有时 work,有时不起作用只是关闭当前的Activity,具体什么原因没去研究过。   最近网上看到一个方法如下   Java代码   final ActivityManager am = (ActivityManager) getSystemService(Context.AC ...
andriod提供了 Handler 和 Looper 来满足线程间的通信。为了研究其中线程机制的问题,写了2个demo: Demo1: package com.mp; import android.app.Activity; import android.os.Bundle; import android.os.Handler; public class MyThread extends Activity { private Handler handler = new Handler(); @Override public void onC ...
/* * ==================================================================== * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * ...
转自http://stackoverflow.com/questions/3152740/android-post-data-and-cookies in Java HttpURLConnection you can set / get a cookie this way (here is the whole connection process): HttpURLConnection conn = (HttpURLConnection) url.openConnection(); ...
1. Timer timer = new Timer(); TimerTask task = new TimerTask() { @Override public void run() { // - - } }; timer.schedule(task, 10000); 2. long time = System.currentTimeM ...
package com.qihoinfo; import java.util.HashMap; import java.util.Map; import org.json.JSONArray; import org.json.JSONObject; import com.qihoinfo.util.ClientService; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler; imp ...
Global site tag (gtag.js) - Google Analytics