Jump to content
Xtreme .Net Talk

Recommended Posts

  • Administrators
Posted

What do you mean by items being sent to a listbox? What is sending them?

If you are just responding to user input and adding them to the list then you could just set the textbox at the same time, if this ischecking a database just set the textbox to the item as you add it to the list box.

Perhap if you gave a bit more detail and indicated if this is web or windows app people may be able to offer more help.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
What do you mean by items being sent to a listbox? What is sending them?

If you are just responding to user input and adding them to the list then you could just set the textbox at the same time, if this ischecking a database just set the textbox to the item as you add it to the list box.

Perhap if you gave a bit more detail and indicated if this is web or windows app people may be able to offer more help.?

 

I am writing this in a windows app. There is a client version and server version, and main client sends strings to the server and then out to a lstbox in the other clients. I want to have the latest item that is sent to the client, then sent to a txtbox from the lstbox. Is this possible.

Posted

what u could do is to refresh the items.

 

There are few approaches u could use. Can u please let me know whether you are using databases for storing the items?

 

and if there is databases, how you send the items to the client side?

 

My idea is if you are using databases, try to create a dataset for the items in server side and send it over the client side (of course with serilization). But, if the size is big, you need to do some algorithm to send only latest item and client side will display/add the latest item into the listbox.

 

If u don't mind, please describe you workflow for this transaction so that mates can have a better view on your problem.

George C.K. Low

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...