Click here to Skip to main content
15,124,736 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: comment box Pin
Morgs Morgan11-Aug-11 3:36
MemberMorgs Morgan11-Aug-11 3:36 
GeneralRe: comment box Pin
Not Active11-Aug-11 4:01
mentorNot Active11-Aug-11 4:01 
GeneralRe: comment box Pin
bhujith12-Aug-11 7:49
Memberbhujith12-Aug-11 7:49 
GeneralRe: comment box Pin
Not Active13-Aug-11 6:43
mentorNot Active13-Aug-11 6:43 
Questionhide repeating data Pin
Hum Dum11-Aug-11 0:09
MemberHum Dum11-Aug-11 0:09 
AnswerRe: hide repeating data Pin
Shahriar Iqbal Chowdhury/Galib11-Aug-11 0:44
professionalShahriar Iqbal Chowdhury/Galib11-Aug-11 0:44 
AnswerRe: hide repeating data Pin
Anurag Gandhi11-Aug-11 1:41
professionalAnurag Gandhi11-Aug-11 1:41 
AnswerRe: hide repeating data Pin
Morgs Morgan11-Aug-11 3:35
MemberMorgs Morgan11-Aug-11 3:35 
hi,

You can use a List collection to store the data whilst reading from the db.
i don't know where you are getting the data from or how so i will assume its from the database and u are using TSQL

C#
/// Your sql reader
SqlDataReader = reader.ExecuteQuery ( commandText ) ;
/// Your list
ArrayList aList = new ArrayList ( ) ;
while ( reader.Read ( ))
{
   if ( ! aList.Contains ( ( string )reader[ "rowname" ] ) )
   {
      /// Add the row to table
   }
   /// else, oh snap! skip me already been added

}


Good luck
QuestionVisual Studio Team Suite UNIT TESTING Pin
Satish_S10-Aug-11 21:55
MemberSatish_S10-Aug-11 21:55 
AnswerRe: Visual Studio Team Suite UNIT TESTING Pin
R. Giskard Reventlov10-Aug-11 23:50
MemberR. Giskard Reventlov10-Aug-11 23:50 
GeneralRe: Visual Studio Team Suite UNIT TESTING Pin
Richard MacCutchan10-Aug-11 23:56
mveRichard MacCutchan10-Aug-11 23:56 
GeneralRe: Visual Studio Team Suite UNIT TESTING Pin
Shameel11-Aug-11 5:59
professionalShameel11-Aug-11 5:59 
AnswerMy Vote of 1 Pin
Keith Barrow11-Aug-11 0:13
professionalKeith Barrow11-Aug-11 0:13 
QuestionHow to take Multiple instance of same Web User Control on Same PAge ...? Pin
_Tushar Patil10-Aug-11 1:47
Member_Tushar Patil10-Aug-11 1:47 
AnswerRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Shameel10-Aug-11 3:22
professionalShameel10-Aug-11 3:22 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
_Tushar Patil10-Aug-11 3:24
Member_Tushar Patil10-Aug-11 3:24 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Shameel10-Aug-11 5:24
professionalShameel10-Aug-11 5:24 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Not Active10-Aug-11 6:46
mentorNot Active10-Aug-11 6:46 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Not Active10-Aug-11 7:04
mentorNot Active10-Aug-11 7:04 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Shameel10-Aug-11 10:36
professionalShameel10-Aug-11 10:36 
QuestionNUnitTest Pin
Satish_S10-Aug-11 0:55
MemberSatish_S10-Aug-11 0:55 
AnswerRe: NUnitTest Pin
Shameel10-Aug-11 3:20
professionalShameel10-Aug-11 3:20 
QuestionASP:Menu Text labels Pin
Christopher Hill9-Aug-11 7:20
MemberChristopher Hill9-Aug-11 7:20 
AnswerRe: ASP:Menu Text labels Pin
Morgs Morgan9-Aug-11 21:45
MemberMorgs Morgan9-Aug-11 21:45 
GeneralRe: ASP:Menu Text labels Pin
Christopher Hill10-Aug-11 5:33
MemberChristopher Hill10-Aug-11 5:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.