Click here to Skip to main content
15,904,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image viewer over the entire screen (including the taskbar) Pin
Pete O'Hanlon1-Jul-09 8:48
mvePete O'Hanlon1-Jul-09 8:48 
QuestionHow to sort dataview?and how to assign dataview to datatable? Pin
swetha_insoft27-Jun-09 0:43
swetha_insoft27-Jun-09 0:43 
AnswerRe: How to sort dataview?and how to assign dataview to datatable? Pin
padmanabhan N27-Jun-09 0:57
padmanabhan N27-Jun-09 0:57 
Questionhow to create dataview for datatable???? Pin
swetha_insoft26-Jun-09 23:49
swetha_insoft26-Jun-09 23:49 
AnswerRe: how to create dataview for datatable???? Pin
padmanabhan N26-Jun-09 23:56
padmanabhan N26-Jun-09 23:56 
QuestionCreate database Pin
Isaac Gordon26-Jun-09 22:06
Isaac Gordon26-Jun-09 22:06 
AnswerRe: Create database Pin
Manas Bhardwaj26-Jun-09 22:21
professionalManas Bhardwaj26-Jun-09 22:21 
AnswerRe: Create database Pin
onlyx27-Jun-09 5:00
onlyx27-Jun-09 5:00 
AnswerRe: Create database Pin
Ravi Bhavnani27-Jun-09 6:46
professionalRavi Bhavnani27-Jun-09 6:46 
Questionprint Pin
Sudhirg kumar26-Jun-09 21:27
Sudhirg kumar26-Jun-09 21:27 
AnswerREPOST Pin
dan!sh 26-Jun-09 21:33
professional dan!sh 26-Jun-09 21:33 
AnswerRe: print Pin
Enver Maroshi26-Jun-09 21:33
Enver Maroshi26-Jun-09 21:33 
AnswerRe: print Pin
Christian Graus26-Jun-09 22:03
protectorChristian Graus26-Jun-09 22:03 
Questionproducer / cosumer Pin
nona_toti26-Jun-09 21:23
nona_toti26-Jun-09 21:23 
QuestionHow to move values from one listbox to another listbox?can anyone help me? Pin
swetha_insoft26-Jun-09 21:20
swetha_insoft26-Jun-09 21:20 
AnswerRe: How to move values from one listbox to another listbox?can anyone help me? Pin
Christian Graus26-Jun-09 21:24
protectorChristian Graus26-Jun-09 21:24 
GeneralRe: How to move values from one listbox to another listbox?can anyone help me? Pin
swetha_insoft26-Jun-09 21:32
swetha_insoft26-Jun-09 21:32 
private void firstlistbox_DoubleClick(object sender, EventArgs e)
{
if (firstlistbox.Items.Count > 0 && firstlistbox.SelectedItems.Count > 0)
{
secondlistbox.Items.Add(lst_ApplicantGroups.Text);

dtCompanyForm.Rows.RemoveAt(firstlistbox.SelectedIndex);
firstlistbox.DataSource = dtCompanyForm;
//lst_ApplicantGroups.Items.Remove(lst_ApplicantGroups.Text);
}
}

//Above code is working fine

//but secondlistbox_doubleclick is not working.

//can anyone help me



private void secondlistbox_DoubleClick(object sender, EventArgs e)
{
if (secondlistbox.Items.Count > 0 && secondlistbox.SelectedItems.Count > 0)
{
string currentItemText = secondlistbox.SelectedItem.ToString();
int currentItemIndex = secondlistbox.SelectedIndex;
dtCompanyForm.Rows.Add(currentItemText);
secondlistbox.Items.RemoveAt(lstSelected.Items.IndexOf(lstSelected.SelectedItem));
firstlistbox.DataSource = dtCompanyForm;
}
GeneralRe: How to move values from one listbox to another listbox?can anyone help me? Pin
Christian Graus26-Jun-09 23:41
protectorChristian Graus26-Jun-09 23:41 
JokeRe: How to move values from one listbox to another listbox?can anyone help me? Pin
Uwe Keim27-Jun-09 10:24
sitebuilderUwe Keim27-Jun-09 10:24 
AnswerRe: How to move values from one listbox to another listbox?can anyone help me? Pin
dan!sh 26-Jun-09 21:30
professional dan!sh 26-Jun-09 21:30 
GeneralRe: How to move values from one listbox to another listbox?can anyone help me? Pin
swetha_insoft26-Jun-09 21:37
swetha_insoft26-Jun-09 21:37 
GeneralRe: How to move values from one listbox to another listbox?can anyone help me? Pin
dan!sh 26-Jun-09 21:55
professional dan!sh 26-Jun-09 21:55 
GeneralRe: How to move values from one listbox to another listbox?can anyone help me? Pin
swetha_insoft26-Jun-09 22:18
swetha_insoft26-Jun-09 22:18 
GeneralRe: How to move values from one listbox to another listbox?can anyone help me? Pin
dan!sh 26-Jun-09 22:22
professional dan!sh 26-Jun-09 22:22 
GeneralRe: How to move values from one listbox to another listbox?can anyone help me? Pin
swetha_insoft27-Jun-09 0:23
swetha_insoft27-Jun-09 0:23 

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.