-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: atul
Message 1 in Discussion

Hi, We are working on a WinForm Application.We have a strange problem while working 
with .Net Framework 1.0 data tables containing more than 800 records. We are using the 
Select method of the data table to filter records based on the primary key column 
which is of type unique identifier. dt.Select (�Id='" & m_Id.ToString() & "')   The 
above line returns the required row from the data table if the Culture on the machine 
where this code is executed is set to any Culture except Norwegian. If the culture is 
set to Norwegian the above line of code does not return the required row even if the 
row is present in the data table. The row filter property of data view also gives the 
same problem for �Norwegian� culture   The following lines of code work for any 
culture:    For Each dr In dt.Rows ()          If m_ID.ToString ().Equals (dr.Item 
(�Id�).ToString()) Then             Temp=dr.Item(�Name�)             Exit For          
End      Next   I have also tried using CultureInfo.InvariantCulture but it doesn't 
work for Norwegian culture.   Is this a known bug with Select property of data tables 
containing more than 800 records when used in �Norwegian� culture?  Is there any other 
fix for this or some patch for .Net framework 1.0 that takes care of this problem?


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to