Is it possible to delete a blog from the "I read these blogs" list?
FW: ADO.NET - Filtering DataSet
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > .Net Development > FW: ADO.NET - Filtering DataSet 27 January 2004 16:52:50

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

FW: ADO.NET - Filtering DataSet

Vince P 27 January 2004 16:52:50
 Anyone know a good ADO.NET list?

I have a (strongly typed) populated DataSet. Is there any convenient method
or class to get the Distinct values of all the data in a certain column
without having to back to the database?

===================­=======
Vince P

Add comment
Greg Robinson 27 January 2004 16:27:05 permanent link ]
 Try to CLR listserv.

Select on DataTable may be what you want.

-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps
and controls [mailto:D­OTNET-WINFORMS@DISCUSS.DEVELOP.COM]On Behalf Of
Vince P
Sent: Tuesday, January 27, 2004 8:13 AM
To: DOTNET-WINFORMS@DIS­CUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] FW: ADO.NET - Filtering DataSet


Anyone know a good ADO.NET list?

I have a (strongly typed) populated DataSet. Is there any convenient method
or class to get the Distinct values of all the data in a certain column
without having to back to the database?

===================­=======
Vince P

Add comment
Jshanki 27 January 2004 16:52:50 permanent link ]
 We did it in client side ourselves (as long as the dataset does not contain
more rows)

DataTable dtConstraint = dtSource.Clone();
dtConstraint.Constr­aints.Add(<columns>)­

foreach(Datarow row in dtSource.Rows)
{
Try
{
dtConstraint.Rows.A­dd(row.ItemArray)
} catch (ConstraintExceptio­n)
{
// do nothing.
}
}

HTH
Shankar

-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps and
controls [mailto:D­OTNET-WINFORMS@DISCUSS.DEVELOP.COM] On Behalf Of Vince P
Sent: Tuesday, January 27, 2004 6:43 PM
To: DOTNET-WINFORMS@DIS­CUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] FW: ADO.NET - Filtering DataSet

Anyone know a good ADO.NET list?

I have a (strongly typed) populated DataSet. Is there any convenient method
or class to get the Distinct values of all the data in a certain column
without having to back to the database?

===================­=======
Vince P

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > .Net Development > FW: ADO.NET - Filtering DataSet 27 January 2004 16:52:50

see also:
Graphical data visualization for…
bytea operator bugs (was Re: [GENERAL]…
Testing for int64 (was Re: [COMMITTERS]…
пройди тесты:
Do you know women?
see also:
LIFE TOOK ME A LITTLE FAR AWAY. MY ONLY…
THE TIME MY SISTER STARTED HIDIN SOME…
I knew my sister was acting strange...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .