if (dtTmp.Rows.Count > 0) { if (dtTmp.Columns.Contains(tc.Text)) { ddl.DataSource = dtTmp.DefaultView. ddl.DataTextField = tc.Text; ddl.DataValueField = tc.Text; ddl.DataBind(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)