Click here to Skip to main content
15,885,365 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: comment box Pin
Morgs Morgan11-Aug-11 2:36
Morgs Morgan11-Aug-11 2:36 
GeneralRe: comment box Pin
Not Active11-Aug-11 3:01
mentorNot Active11-Aug-11 3:01 
GeneralRe: comment box Pin
bhujith12-Aug-11 6:49
bhujith12-Aug-11 6:49 
GeneralRe: comment box Pin
Not Active13-Aug-11 5:43
mentorNot Active13-Aug-11 5:43 
Questionhide repeating data Pin
Hum Dum10-Aug-11 23:09
Hum Dum10-Aug-11 23:09 
AnswerRe: hide repeating data Pin
Shahriar Iqbal Chowdhury/Galib10-Aug-11 23:44
professionalShahriar Iqbal Chowdhury/Galib10-Aug-11 23:44 
AnswerRe: hide repeating data Pin
Anurag Gandhi11-Aug-11 0:41
professionalAnurag Gandhi11-Aug-11 0:41 
AnswerRe: hide repeating data Pin
Morgs Morgan11-Aug-11 2:35
Morgs Morgan11-Aug-11 2: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 20:55
Satish_S10-Aug-11 20:55 
AnswerRe: Visual Studio Team Suite UNIT TESTING Pin
R. Giskard Reventlov10-Aug-11 22:50
R. Giskard Reventlov10-Aug-11 22:50 
GeneralRe: Visual Studio Team Suite UNIT TESTING Pin
Richard MacCutchan10-Aug-11 22:56
mveRichard MacCutchan10-Aug-11 22:56 
GeneralRe: Visual Studio Team Suite UNIT TESTING Pin
Shameel11-Aug-11 4:59
professionalShameel11-Aug-11 4:59 
AnswerMy Vote of 1 Pin
Keith Barrow10-Aug-11 23:13
professionalKeith Barrow10-Aug-11 23:13 
QuestionHow to take Multiple instance of same Web User Control on Same PAge ...? Pin
_Tushar Patil10-Aug-11 0:47
_Tushar Patil10-Aug-11 0:47 
AnswerRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Shameel10-Aug-11 2:22
professionalShameel10-Aug-11 2:22 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
_Tushar Patil10-Aug-11 2:24
_Tushar Patil10-Aug-11 2:24 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Shameel10-Aug-11 4:24
professionalShameel10-Aug-11 4:24 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Not Active10-Aug-11 5:46
mentorNot Active10-Aug-11 5:46 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Not Active10-Aug-11 6:04
mentorNot Active10-Aug-11 6:04 
GeneralRe: How to take Multiple instance of same Web User Control on Same PAge ...? Pin
Shameel10-Aug-11 9:36
professionalShameel10-Aug-11 9:36 
QuestionNUnitTest Pin
Satish_S9-Aug-11 23:55
Satish_S9-Aug-11 23:55 
AnswerRe: NUnitTest Pin
Shameel10-Aug-11 2:20
professionalShameel10-Aug-11 2:20 
QuestionASP:Menu Text labels Pin
Christopher Hill9-Aug-11 6:20
Christopher Hill9-Aug-11 6:20 
AnswerRe: ASP:Menu Text labels Pin
Morgs Morgan9-Aug-11 20:45
Morgs Morgan9-Aug-11 20:45 
GeneralRe: ASP:Menu Text labels Pin
Christopher Hill10-Aug-11 4:33
Christopher Hill10-Aug-11 4: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.