SOURCES:
Multiple sources
public static void PrepareGV ( ref System.Web.UI.WebControls.GridView table_list_gv,
ref System.Data.DataSet rds )
{
if (table_list_gv != null)
{
foreach (System.Data.DataColumn dc in rds.Tables[0].Columns)
{
BoundField nameColumn = new BoundField ( );
nameColumn.DataField = dc.ColumnName;
nameColumn.HeaderText = dc.ColumnName ;
nameColumn.SortExpression = dc.ColumnName;
table_list_gv.Columns.Add ( nameColumn );
} //eof foreach col in the ds
table_list_gv.DataSource = rds.Tables [ 0 ];
table_list_gv.AllowPaging = true;
table_list_gv.AllowSorting = true;
table_list_gv.EnableSortingAndPagingCallbacks = false;
table_list_gv.Visible = true;
table_list_gv.DataBind ( );
}
else
{
throw new Utils.CustomException ( "a null table_list_gv was passed !!!" );
}
} //eof private static void PrepareGV (ref System.Web.UI.WebControls.GridView table_list_gv )
WebView2: Waiting for Document Loaded
-
[image: Is It Ready Yet]
When building hybrid Web applications where .NET code interacts with
WebView HTML content, one of the biggest sticking points of...
2 days ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!