第一套是 AgDataGrid Suite,是表格Grid介面的套件
http://www.devexpress.com/Products/NET/Controls/Silverlight/Grid/
第二套是 NetAdvantage for Silverlight,是統計圖表的套件
http://www.infragistics.com/hot/silverlight.aspx
第一套是 AgDataGrid Suite,是表格Grid介面的套件
http://www.devexpress.com/Products/NET/Controls/Silverlight/Grid/
第二套是 NetAdvantage for Silverlight,是統計圖表的套件
http://www.infragistics.com/hot/silverlight.aspx
這個網站可以依需求產生各式各樣ajax loading圖示,工作時會用的到。
Create easily your own ajax loader icon :
Select the type of indicator you want Enter the background code color you want
(tick “Transparent background" if you don’t want one Enter the foreground code color you want Press “Generate it"
傳值:
Response.Redirect(“網頁2.aspx?變數名稱=" & 內容值)
例:Response.Redirect(“IdReport.aspx?id=" & DropDownList1.SelectedValue)
接值:
Request(“變數名稱")
例:Request(“id")
程式碼如下:
利用欄位名稱,取得 GridView 中指定資料列的欄位值。
要取得 GridView 中所繫結的欄位值,需要在 GridView 做 DataBind 之後,所以可以在 RowDataBound 取得每筆 Row 所繫結的欄位值。
繼續閱讀 →
透過 FormView 或 DetailsView 的 DataItem 屬性,取得控制項上所繫結的所有欄位值。
繼續閱讀 →
這個範例示範了如何將檔案存入資料庫中的 Image 欄位及如何由 Image 欄位取出該檔案。
假設資料表 Tb_File 有 ID,ExcelFile 兩個欄位,ID 欄位型態為Integer,ExcelFile 欄位型態為 Image,先加入一筆記錄,ID=1,ExcelFile=Null,範例中將Excel檔案利用Update寫入ID=1的記錄中及由此記錄讀取Image欄位內容並儲存成檔案。
繼續閱讀 →
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
‘只針對資料列做處理
If e.Row.RowType = DataControlRowType.DataRow Then
‘滑鼠移至資料列上的顏色
e.Row.Attributes.Add(“onmouseover", “this.style.backgroundColor=’blue'")
‘滑鼠離開資料列上的顏色
e.Row.Attributes.Add(“onmouseout", “this.style.backgroundColor=’white'")
End If
End Sub