string path = Request.Url.Segments[2]; DataTable dt1= dsAccessdenied.Tables[0]; bool flage= false; foreach (DataRow row in dt1.Rows) { string URL = row.ItemArray[0].ToString() if (path == URL) { flage = true; } }
row.ItemArray.Length
1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)