原创 Asp.Net的控件如何與Server交互

以前寫asp的程序的時候,知道只有type設置爲submit的按鈕,才能觸發表單提交數據給服務器端。如:Asp.Net中的Button就是等於<input type="submit">.但是現在Asp.Net的好多控件都可以任意的和服務器

原创 [django]Django部署在apache上

1、安裝apache 2.0.59http://mirror.vmmatrix.net/apache/httpd/binaries/win32/apache_2.0.59-win32-x86-no_ssl.msi2、安裝mod_pytho

原创 [django]Manipulator解惑

代碼下載:/Files/maplye/django/Study914.rarManipulator英語翻譯成“操縱器”,你可以用它來創建,修改,驗證你的一個實體對象,並結合FormWrapper可以自動生成頁面上Html代碼(注:Form

原创 InterDev調試asp頁面和自定義activex all

正在做一項目,將以前asp+dll的項目轉成asp.net的,所有的業務邏輯都需要從原來的asp代碼中去找。所以就用到了調試asp的工具InterDev和調試dll的VB1、講自定義的dll的給反註冊掉。(以便系統運行的是VB調試的dll

原创 GridView使用一些記錄

現在有個項目開始使用ASP.NET 2.0開發,在開發過程中關於GridView的使用的一些零星的記錄1.TemplateField中的綁定 <asp:TemplateField>                        <Ite

原创 一個email正則表達式的解析

以前對正則表達式的使用,就是用的時候將正則表達式的語法文檔打開,再重新一個一個的參考對照,用過了也就拋置腦後,所以每次用過就忘記,每次都要重新來過,怪

原创 [django]總結Django中的用戶權限模塊

此文是總結Django官方網站裏面的Document的文章 User authentication in Djangohttp://www.djangoproject.com/documentation/authentication/ 該

原创 NHibernate中使用generator爲assigned的問題

Hibernate version: 1.0.2.0 Mapping documents: Parent.hbm.xml  <?xml version="1.0" encoding="utf-8" ?><hibernate-mapping

原创 C#方法中的params參數類型

我有一方法如下: public string GetByCriteria(params string[] strs)        {       

原创 [django]學習Model API的實例

今天看了一下Django的Model API 文檔英文:http://www.djangoproject.com/documentation/mode

原创 [轉]Python下載百度新歌100的代碼

#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2006 UbuntuChina <http://www.ubuntu.org.cn> # License: GPLv2

原创 NHiernate中自定義Generator

我的這個自定義的Generator設置如下: <generator class="HYLQ.Core.Domain.StreamGenerator, HYLQ.Core">        <param name="ObjectName"

原创 [django]Django輸出頁面方式的補充

1、直接輸出 -- HTTPResponse helloworld.pyfrom django.utils.httpwrappers import HttpResponsedef index(request): return HTTP

原创 Asp.Net中的ViewState知識

ASP.NET ViewState 初探http://www.microsoft.com/china/msdn/archives/library/dn

原创 IBatis.Net中爲什麼Output的paramMap的class設置爲int就獲取不到值

上篇文章解答了使用IBatis.Net獲取存儲過程的返回值,其中我寫了一個注意必須要將paramMap的class設置爲hashtable,只說了注意,沒有說明具體原因,所以心裏老是有個疙瘩!於是,再看了一下DataMapper的源代碼,