Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: Attach scrollbar to listview Pin
DeepakMega25-Jan-10 1:02
DeepakMega25-Jan-10 1:02 
QuestionContext Menu Not Appearing in Correct Location Pin
kodysumter24-Jan-10 8:10
kodysumter24-Jan-10 8:10 
AnswerRe: Context Menu Not Appearing in Correct Location Pin
Som Shekhar24-Jan-10 8:18
Som Shekhar24-Jan-10 8:18 
GeneralRe: Context Menu Not Appearing in Correct Location Pin
kodysumter24-Jan-10 14:08
kodysumter24-Jan-10 14:08 
GeneralRe: Context Menu Not Appearing in Correct Location Pin
Som Shekhar24-Jan-10 18:02
Som Shekhar24-Jan-10 18:02 
GeneralRe: Context Menu Not Appearing in Correct Location Pin
kodysumter25-Jan-10 15:09
kodysumter25-Jan-10 15:09 
GeneralRe: Context Menu Not Appearing in Correct Location Pin
Som Shekhar25-Jan-10 19:20
Som Shekhar25-Jan-10 19:20 
Questioncombobox datasource switch Pin
Erdinc2724-Jan-10 6:18
Erdinc2724-Jan-10 6:18 
hey guys...i have a combobox in my form and i fill it with one column from my db...everything is fine till here...and i open another form if the user wants to add another data different than the db that are in combobox...and in new form user enter new data to a textbox and i write that data to a txt file...and i want to add that data to combobox also..that is why i wrote that function

public void DosyaOku(object sender, EventArgs e)
{
StreamReader read = new StreamReader("Firmalar.txt");
string kelime = read.ReadLine();
while (kelime != null)
{
cmbFirma.Items.Add(kelime);
kelime = read.ReadLine();
}
read.Close();
}

but whenever i try to call it..the program gives error and says combobox has a datasource already
so how can i add new data to combobox ??
thanks for your help
AnswerRe: combobox datasource switch Pin
Abhinav S24-Jan-10 6:22
Abhinav S24-Jan-10 6:22 
GeneralRe: combobox datasource switch Pin
Erdinc2725-Jan-10 4:00
Erdinc2725-Jan-10 4:00 
QuestionXmlAttributeAttribute filter by value ? Pin
GoodIntentions24-Jan-10 4:23
GoodIntentions24-Jan-10 4:23 
QuestionTransferring focus from a textbox to a button Pin
gamer112724-Jan-10 2:49
gamer112724-Jan-10 2:49 
AnswerRe: Transferring focus from a textbox to a button Pin
Som Shekhar24-Jan-10 3:06
Som Shekhar24-Jan-10 3:06 
GeneralRe: Transferring focus from a textbox to a button Pin
Rod Kemp24-Jan-10 3:16
Rod Kemp24-Jan-10 3:16 
GeneralRe: Transferring focus from a textbox to a button Pin
Som Shekhar24-Jan-10 3:18
Som Shekhar24-Jan-10 3:18 
GeneralRe: Transferring focus from a textbox to a button [Modified] Pin
Rod Kemp24-Jan-10 3:34
Rod Kemp24-Jan-10 3:34 
AnswerRe: Transferring focus from a textbox to a button Pin
Jimmanuel24-Jan-10 3:16
Jimmanuel24-Jan-10 3:16 
GeneralRe: Transferring focus from a textbox to a button Pin
gamer112724-Jan-10 3:53
gamer112724-Jan-10 3:53 
GeneralRe: Transferring focus from a textbox to a button Pin
Jimmanuel24-Jan-10 4:23
Jimmanuel24-Jan-10 4:23 
GeneralRe: Transferring focus from a textbox to a button Pin
gamer112724-Jan-10 4:34
gamer112724-Jan-10 4:34 
GeneralRe: Transferring focus from a textbox to a button Pin
gamer112724-Jan-10 4:14
gamer112724-Jan-10 4:14 
AnswerRe: Transferring focus from a textbox to a button Pin
gamer112724-Jan-10 4:18
gamer112724-Jan-10 4:18 
GeneralRe: Transferring focus from a textbox to a button Pin
Jimmanuel24-Jan-10 4:38
Jimmanuel24-Jan-10 4:38 
GeneralRe: Transferring focus from a textbox to a button Pin
gamer112724-Jan-10 5:18
gamer112724-Jan-10 5:18 
GeneralRe: Transferring focus from a textbox to a button Pin
Jimmanuel24-Jan-10 5:32
Jimmanuel24-Jan-10 5:32 

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.