DataTable dbTblName = new DataTable(); DataRow drT=new dbTblName(); drT["desp"]="Test/di||SS"; dbTblName.add(drT); bool chkval = ComparestrDB(drT["desp"]); chkval// this is false function bool ComparestrDB(DataRow DrRow["desp"]){ bool called=false; string fone =DrrRow["descp"].ToString(); string snd = Request.QueryString["dest"].ToString(); if(fone==snd) { called=true; } return called; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)