detailsview&GridView&Source

GridView: e.NewValue["UserId"]="your value";

Details View:1.e.values["Userid"]="your value";

DataSource :

1. parameter can be :Query String ,Control ,Session......

2.Generate Insert ,update,and Delete statements (must be had a primary key)

3.CancleSelectOnNullParameter "true" 

4.fields has the property of uniqueidentifier  :delete 'Type="Object"'

 

 

search:1.Response.Redirect("www.google.cn/search?q=site:www.yoursite.com"+tbxsearch.text);

            2:Response.Redirect("www.google.cn/search?q="+tbxsearch.text);

 

DropDownList:

1.AppendDataBoundItems   "--None--" "--All--"

2.双向绑定

 

 

posted @ 2008-10-29 20:09  烂仔  阅读(221)  评论(0编辑  收藏  举报