Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
QuestionProgram Working Very Slow Pin
mohammadkaab9-Sep-12 4:54
mohammadkaab9-Sep-12 4:54 
AnswerRe: Program Working Very Slow Pin
Eddy Vluggen9-Sep-12 5:41
professionalEddy Vluggen9-Sep-12 5:41 
GeneralRe: Program Working Very Slow Pin
mohammadkaab9-Sep-12 6:33
mohammadkaab9-Sep-12 6:33 
Questionremove items from Listbox Pin
scottichrosaviakosmos9-Sep-12 4:38
scottichrosaviakosmos9-Sep-12 4:38 
AnswerRe: remove items from Listbox Pin
Eddy Vluggen9-Sep-12 5:39
professionalEddy Vluggen9-Sep-12 5:39 
GeneralRe: remove items from Listbox Pin
scottichrosaviakosmos9-Sep-12 5:55
scottichrosaviakosmos9-Sep-12 5:55 
GeneralRe: remove items from Listbox Pin
Eddy Vluggen9-Sep-12 5:57
professionalEddy Vluggen9-Sep-12 5:57 
GeneralRe: remove items from Listbox Pin
scottichrosaviakosmos9-Sep-12 9:07
scottichrosaviakosmos9-Sep-12 9:07 
Ok, let me explain in details.

I have a form which has 2 listboxs, textbox and 2 buttons.

lst1 and lst2. Also has 2 buttons "add" and "Remove".

lst1 is populated from a database table which has 2 fields : "Name" ad "emailid".

lst1 will show items "name" from table column "name". eg: ronny, danial...

when i select an item(name) in lst1 and click Add button then the name will be added in lst2(lst2 is not connected to datasource). Also the displayvalue member or emailid with respect to the name selected in lst1 will be added to the textbox.(this is working fine).

Now, when i select an item in lst2 which was added from lst1 and then click on Remove button then the item(name) should be removed from lst2(this is also working fine) and also the emailid corresponding to the value(name) selected in lst2 should be removed from textbox.

emailid on selectitem of lst2 is not getting removes since the lst2 is connected to database. lst is adding its item from lst1.

I hope now the scenario is clear.!Hmmm | :|

Cheers
GeneralRe: remove items from Listbox Pin
Eddy Vluggen9-Sep-12 21:32
professionalEddy Vluggen9-Sep-12 21:32 
GeneralRe: remove items from Listbox Pin
scottichrosaviakosmos12-Sep-12 20:55
scottichrosaviakosmos12-Sep-12 20:55 
GeneralRe: remove items from Listbox Pin
Eddy Vluggen12-Sep-12 21:17
professionalEddy Vluggen12-Sep-12 21:17 
Questionhow to find all elements of a webpage Pin
hosseinDolat9-Sep-12 1:09
hosseinDolat9-Sep-12 1:09 
AnswerRe: how to find all elements of a webpage Pin
jschell9-Sep-12 4:04
jschell9-Sep-12 4:04 
GeneralRe: how to find all elements of a webpage Pin
hosseinDolat9-Sep-12 15:53
hosseinDolat9-Sep-12 15:53 
GeneralRe: how to find all elements of a webpage Pin
jschell10-Sep-12 8:48
jschell10-Sep-12 8:48 
GeneralRe: how to find all elements of a webpage Pin
hosseinDolat10-Sep-12 14:36
hosseinDolat10-Sep-12 14:36 
GeneralRe: how to find all elements of a webpage Pin
jschell11-Sep-12 8:28
jschell11-Sep-12 8:28 
QuestionDatagridview Empty space Click Events Pin
mohammadkaab9-Sep-12 0:57
mohammadkaab9-Sep-12 0:57 
AnswerRe: Datagridview Empty space Click Events Pin
Alan N9-Sep-12 3:19
Alan N9-Sep-12 3:19 
QuestionWindows 7 Files Explorer - New Folder In Tree Pin
fakir4458-Sep-12 22:57
fakir4458-Sep-12 22:57 
AnswerRe: Windows 7 Files Explorer - New Folder In Tree Pin
Eddy Vluggen9-Sep-12 0:29
professionalEddy Vluggen9-Sep-12 0:29 
GeneralRe: Windows 7 Files Explorer - New Folder In Tree Pin
fakir4459-Sep-12 5:14
fakir4459-Sep-12 5:14 
GeneralRe: Windows 7 Files Explorer - New Folder In Tree Pin
Eddy Vluggen9-Sep-12 5:35
professionalEddy Vluggen9-Sep-12 5:35 
GeneralRe: Windows 7 Files Explorer - New Folder In Tree Pin
fakir4459-Sep-12 9:24
fakir4459-Sep-12 9:24 
QuestionIs it OK to implement Repository Pattern with Singleton in C# and EntityFramework ? Pin
Mohammad Dayyan8-Sep-12 21:52
Mohammad Dayyan8-Sep-12 21:52 

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.