Lost your password?

Blogs about: Aspnet

特色網誌

FLV Streaming in .NET

BlueSky wrote 4 months ago: 之前整左好耐既flv streaming, 加左mime 都係唔得~~ 究竟係咩問題呢~~ >_<~ 最終搵到一個web 係講.net 同flv streaming….. 原來 … more →

Tags: Flash, FLV Streaming, flv, .NET

get from databind value and pass in querystring

BlueSky wrote 5 months ago: <asp:Hyperlink runat=”server” Text=’<%#DataBinder.Eval(Container.DataItem, … more →

Tags: QueryString, DataBind

Datalist ([Eval("XXX") ])

BlueSky wrote 5 months ago: <asp:DataList ID=”DataList3″ runat=”server” DataSourceID=”SqlDataSo … more →

Tags: Database, datalist, sqldatasource

break sql statement

BlueSky wrote 6 months ago: 係一句sql statement , 係前面加 @ , 咁就可以直接click enter 分行~~ OleDbCommand cmd1 = new OleDbCommand(@”INSE … more →

Tags: Database, SQL, sql statement

QueryString

BlueSky wrote 6 months ago: private void btnSubmit_Click(object sender, System.EventArgs e) { Response.Redirect(“Webform2. … more →

Tags: QueryString

pass value in query string via grid view

BlueSky wrote 6 months ago: pass value in query string via grid view  and change the format for the value, and add image ~~ < … more →

Tags: Database

Database connection using the Add Parameter

BlueSky wrote 6 months ago: Database connection using the Add Parameter SqlConnection sqlcon; string strCon = “connection … more →

Tags: Database

Pass Value from aspx to another aspx

BlueSky wrote 7 months ago: .net 好就好左有呢d 咁easy 既funciton~~ 不過back button click 左, 再forward button, 依然都仲有d 資料係度…..唔識整走佢tim … more →

Tags: Pass Value from aspx to another aspx

print function in asp.net

BlueSky wrote 7 months ago: call 個print function 出來 Response.Write(“<script language=’javascript’> {wind … more →

Tags: HTML, print function

generate random unique code

BlueSky wrote 7 months ago: String UCode = String.Format(“{0:d9}”, (DateTime.Now.Ticks / 10) % 1000000000); 呢個係d for … more →

Tags: generate random unique code

authentication mode="Windows" 問題( iis setting)

BlueSky wrote 7 months ago: 我成日都遇到呢個問題, 係當我copy 一個folder 係個virtual directory, 想run 個site 時就會出現咁既問題~~~: 佢話係iis 既setting 未set 好   … more →

Tags: iis, iis setting, Windows, authentication mode

Pass parameter from html to ASP.NET

BlueSky wrote 7 months ago: HTML page : <a href =”Form.aspx?sendEmail=abc@yahoo.com“> Click this LINK</a … more →

Tags: HTML, pass parameter, pass value, html to ASP.NET

只可輸入數字,+或-符號 RegularExpressionValidator

BlueSky wrote 7 months ago: 我唔識用ajax, 又唔識d expression, 自己砌出來ga~~ 唔知呢個係咪最好 ^[\d\+-]+$ 請指教 <asp:RegularExpressionValidator ID= … more →

Tags: RegularExpressionValidator, number

close ie window without popup

BlueSky wrote 7 months ago: 平時close ie window, 會出一個alert, 問你係咪close, 而家就算係ie7 都不怕了~~以下是code: Response.Write(“<script la … more →

Tags: HTML, Close window, no popup, window.close()

.NET中的Exception处理(C#) (轉貼)

BlueSky wrote 7 months ago: 轉貼: http://www.legalsoft.com.cn/docs/docs/15/615.html 摘要: 本文以C#为编程语言,讨论了 .NET 中的异常处理方式,主要包括 try/catc … more →

加background image 係td

BlueSky wrote 7 months ago: 加background image 係td (其中一個cell 度), 玩左好耐都唔得, 原來係一個space~~阻住  background-image:SPACEurl(path); <td … more →

Tags: HTML, background image, TD, Table

search, filter, paging, sorting in gridview via ADO.NET(code)1 comment

BlueSky wrote 8 months ago: 噫~~這是我的code, 大家會覺得我寫得很傻, 特別是在bind() ,本來想做到, 不用criteria 時, sql statement 會不同。但當我將sqlstr 化為variable, 它 … more →

Tags: GridView, Search, Filter, Paging, Sorting, ADO.NET, Code, Export to Excel, Excel

search, filter, paging, sorting in gridview via ADO.NET

BlueSky wrote 8 months ago: 看完了書之後, 明白了database 的運作~~而且還找到了一個好site!!在這裡有一個export to excel function, 真的不錯~不過, 當加上sorting 及paging … more →

Tags: Search, search + filter+paging+sorting in gridview + export to, flter, aging, Orting, ridiew, eport to excel

load data in gridview via ADO.NET

BlueSky wrote 8 months ago: 研究了兩了, 試過之前提及的search , 亦做過filter, paging 及sorting 都做到, 不過以上3項function 都是分開3個files 來做, 一combine就出現了奇怪 … more →

Tags: GridView, Search, Filter, Paging, Sorting


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS