19.2.09

Loop,Iframe.Loader

Loop Through Dataset:

Since this is a c# ng, code is in c# :)

DataSet ds = new DataSet();
foreach(DataRow dr in ds.Tables[0].Rows)
{
Console.WriteLine(dr["ColName"].ToString());
}
==================================================
Loop Through Datareader:
while(r.Read())
{
Console.WriteLine("Column 1: {0}",r.GetString(0));
}
=====================================================

Iframe:

iframe id="frm_control" runat ="server" visible="false" frameborder="0" scrolling="no" height="100%"
width="100%"


frm_control.Attributes["src"] = "AssignPage.aspx?pageid=" + ViewState["grdpgid"].ToString();

==================================================
Loader
rad:AjaxLoadingPanel Style="margin-top: 200px;" enableoutsidescripts="True" ID="LoadingPnl"
runat="server" Height="75px" Width="75px" MinDisplayTime="500" Transparency="10">


-----------------------
LoadingPanelID="LoadingPnl"
==============================================
radA:RadAjaxPanel ID="RadAjaxPanel1" runat="server" EnableOutsideScripts="True"
EnableTheming="True" HorizontalAlign="NotSet" ScrollBars="None" LoadingPanelID="LoadingPnl"

No comments: