Click here to Skip to main content
14,770,510 members
Home » Discussions » C#
   

C#

 
AnswerRe: own Printer service on c#.net Pin
vikas amin30-Jul-08 11:50
Membervikas amin30-Jul-08 11:50 
GeneralRe: own Printer service on c#.net Pin
vikas amin30-Jul-08 11:52
Membervikas amin30-Jul-08 11:52 
GeneralRe: own Printer service on c#.net Pin
balu1234531-Jul-08 0:31
Memberbalu1234531-Jul-08 0:31 
GeneralRe: own Printer service on c#.net Pin
vikas amin1-Aug-08 6:37
Membervikas amin1-Aug-08 6:37 
GeneralRe: own Printer service on c#.net Pin
vikas amin1-Aug-08 7:15
Membervikas amin1-Aug-08 7:15 
GeneralRe: own Printer service on c#.net Pin
vikas amin19-Aug-08 6:41
Membervikas amin19-Aug-08 6:41 
QuestionArrayList ....Where is problem? Pin
zeeShan anSari30-Jul-08 7:30
MemberzeeShan anSari30-Jul-08 7:30 
AnswerRe: ArrayList ....Where is problem? Pin
Wendelius30-Jul-08 7:44
mveWendelius30-Jul-08 7:44 
Hi,

You actually create only one Dept object which is added to the list many times. So switch from
...
Dept d = new Dept();                
while (datareader.Read())                
{
...

to
...
Dept d;
while (datareader.Read())                
{
   d = new Dept();
...

Hope this helps,

Mika

p.s. Do not cross-post
GeneralRe: ArrayList ....Where is problem? Pin
zeeShan anSari30-Jul-08 7:52
MemberzeeShan anSari30-Jul-08 7:52 
QuestionRe: ArrayList ....Where is problem? Pin
Wendelius30-Jul-08 7:54
mveWendelius30-Jul-08 7:54 
AnswerRe: ArrayList ....Where is problem? Pin
zeeShan anSari30-Jul-08 8:09
MemberzeeShan anSari30-Jul-08 8:09 
GeneralRe: ArrayList ....Where is problem? Pin
Wendelius30-Jul-08 8:22
mveWendelius30-Jul-08 8:22 
GeneralRe: ArrayList ....Where is problem? Pin
Alaric_30-Jul-08 8:31
professionalAlaric_30-Jul-08 8:31 
GeneralRe: ArrayList ....Where is problem? Pin
zeeShan anSari30-Jul-08 8:47
MemberzeeShan anSari30-Jul-08 8:47 
GeneralRe: ArrayList ....Where is problem? Pin
Wendelius30-Jul-08 8:58
mveWendelius30-Jul-08 8:58 
QuestionInvisible Form Labels [modified] Pin
#realJSOP30-Jul-08 7:12
mva#realJSOP30-Jul-08 7:12 
QuestionRe: Invisible Form Labels Pin
Wendelius30-Jul-08 8:07
mveWendelius30-Jul-08 8:07 
AnswerRe: Invisible Form Labels Pin
#realJSOP30-Jul-08 8:28
mva#realJSOP30-Jul-08 8:28 
GeneralRe: Invisible Form Labels [modified] Pin
Wendelius30-Jul-08 8:39
mveWendelius30-Jul-08 8:39 
GeneralRe: Invisible Form Labels Pin
#realJSOP30-Jul-08 8:47
mva#realJSOP30-Jul-08 8:47 
GeneralRe: Invisible Form Labels Pin
Wendelius30-Jul-08 9:09
mveWendelius30-Jul-08 9:09 
AnswerRe: Invisible Form Labels Pin
DaveyM6930-Jul-08 10:35
professionalDaveyM6930-Jul-08 10:35 
GeneralRe: Invisible Form Labels Pin
#realJSOP30-Jul-08 11:43
mva#realJSOP30-Jul-08 11:43 
GeneralRe: Invisible Form Labels Pin
DaveyM6930-Jul-08 12:45
professionalDaveyM6930-Jul-08 12:45 
GeneralRe: Invisible Form Labels Pin
#realJSOP30-Jul-08 13:05
mva#realJSOP30-Jul-08 13:05 

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.