Hi Guys..
Please help me on this..
What's the difference between Convert.ToString(Object) method and Convert.ToString(Object,IFormatProvider).
And how to implement the method Convert.ToString(Object,IFormatProvider) in my code.
I get the following error when testing my code with FxCop:
"MyClass makes a call to System.Convert.ToInt32(System.Object) that does not explicitly provide an IFormatProvider. This should be replaced with a call to System.Convert.ToInt32(System.Object,System.IFormatProvider)"
Ex: This is how I've implemented my code.
Id= Convert.ToInt32(dataRowItem["FlPlnCmpntDefID"]);
Thanks in Advance.
Yogi

Convert.ToString(Object,IFormatProvider)
R.Tutus
Tianyu Li
hope this gets you started
http://msdn2.microsoft.com/en-us/library/system.object.tostring.aspx
http://msdn2.microsoft.com/en-us/library/system.iformattable.aspx
http://msdn2.microsoft.com/en-us/library/system.iformatprovider.aspx