Thursday 15 April 2010

c# - Find value from the dataview using column name -


I am trying to find value from the dataview using the column name. My dataset shows the value but my condition is false. I am using c # in asp.net.

I have tried with a different code I am trying to get value in this way

  dv [0] .dataViewable Column [0]. Ostring (). This includes ("52") // return falls or DV [0] .Equals ("52") // // Return Follows   

OR

 < Code> DV [0]. Search ("52") // // Return incorrect   

The following is my dataset If

  DV [0] ["GBA_Nbr_GBAccount"]. ToString () Trim (). Equal ("52");    

No comments:

Post a Comment