Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 27th, 2007, 03:52 AM
Authorized User
 
Join Date: Jan 2007
Location: Islamabad, Punjab, Pakistan.
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default ListBox problem

I m loading data in to ListBox.I have performed event on SelectedIndexChnaged.It works well for data upto 255 or so characters. But as data length increases, it throws exception. Please tell me how can I load data of length 1000 into listbox Items.

Regards


__________________
Regards,
Ali Irfan
  #2 (permalink)  
Old May 28th, 2007, 12:15 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: Amman, , Jordan.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

man what do u mean by loading data up to 255 charachters!! i don't think there such a thing in .net :)anyway y don't you post the exception? it will help a lot :)

Nothing is impossible. The impossible only takes longer. "Digital Fortress, Dan Brown"
  #3 (permalink)  
Old May 28th, 2007, 06:38 AM
Authorized User
 
Join Date: May 2007
Location: pune, maharashtra, India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actully friend your Question is somewhat ambiguious, let it be but if you want to load items up 1000 in listbox then that should not be the problem. Your exception is surly not due to that so try to catch that exception.

good luck.

Amol Chikurte
  #4 (permalink)  
Old May 28th, 2007, 06:45 AM
Authorized User
 
Join Date: Jan 2007
Location: Islamabad, Punjab, Pakistan.
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default

Friend, I know that there is no problem in loading 1000 items. I m talking about lenght of each item.

  #5 (permalink)  
Old May 28th, 2007, 07:14 AM
Authorized User
 
Join Date: May 2007
Location: pune, maharashtra, India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes Friend,

I have just tried out your Query and i got that there is no such type of problem occurance. i have taken 1020 characters line and successfully populated it in to listbox.
So now i am sure that u r facing some another kind of problem. if i got i'll surly help u out.

Bye .

regards
AMOL

Amol Chikurte
  #6 (permalink)  
Old May 28th, 2007, 08:39 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: Amman, , Jordan.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

MATE SEND US THE EXCEPTION! :) there shouldn't be any problem with the size of the iteam :) not as far as I know at least :)




Nothing is impossible. The impossible only takes longer. "Digital Fortress, Dan Brown"
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Listbox Problem Brendan Bartley Access 4 November 26th, 2007 01:34 PM
listbox problem faizee36 Access VBA 4 April 27th, 2006 09:58 AM
ListBox Problem spacy ASP.NET 1.x and 2.0 Application Design 2 October 18th, 2004 05:45 AM
A ListBox problem csc820203 C# 6 June 15th, 2004 06:45 PM



All times are GMT -4. The time now is 10:41 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.