Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: network programming Pin
Abhinav S31-Jan-10 10:07
Abhinav S31-Jan-10 10:07 
AnswerRe: network programming Pin
mehrdad33331-Jan-10 12:48
mehrdad33331-Jan-10 12:48 
AnswerRe: network programming Pin
Rod Kemp31-Jan-10 19:10
Rod Kemp31-Jan-10 19:10 
QuestionHow do delegates work? Pin
Neo1010131-Jan-10 9:12
Neo1010131-Jan-10 9:12 
AnswerRe: How do delegates work? Pin
Abhishek Sur31-Jan-10 9:55
professionalAbhishek Sur31-Jan-10 9:55 
GeneralRe: How do delegates work? Pin
Neo1010131-Jan-10 10:12
Neo1010131-Jan-10 10:12 
AnswerRe: How do delegates work? Pin
PIEBALDconsult31-Jan-10 15:25
mvePIEBALDconsult31-Jan-10 15:25 
Question"BindingSource.ResetBindings" is not working Pin
Said Ali Jalali31-Jan-10 7:07
Said Ali Jalali31-Jan-10 7:07 
Rose | [Rose]
Hi.
I'm saving data in one of table with OLEDBCOMMAND.And i have a DataGridView
bound to this table with "BindingSource".
When i use BindingSource.ResetBindings(false); it dosen't show the new records that i saved.
When i close my form and show it againg it show new records.
private void buttonX2_Click(object sender, EventArgs e)
       {
           if (IsEmpty.Empty(this))
           {
               if (saveEdit == SaveEdit.Save)
               {
                   dataBase.Save(dataBase.SetDictionary(this), "Anbar_Kala");//(Oledb Commad)
                                                          anbarKalaBindingSource.ResetBindings(true);

               }
           }
       }

And also when i use Insert property with TableAdapter is dosen't work too.
private void buttonX2_Click(object sender, EventArgs e)
        {

 anbar_KalaTableAdapter.Insert(TName.Text, TBDate.Text, TFrom.Text, Convert.ToInt32(Tcount.Text), TVahed.Text);
                    anbarKalaBindingSource.ResetBindings(true);
//and also           anbarKalaBindingSource.ResetBindings(false);

}

Can you tell what to do?
Thank you.
Rose | [Rose]

CanI

QuestionGet visible part from a Form / Control Pin
shantz31-Jan-10 6:27
shantz31-Jan-10 6:27 
AnswerRe: Get visible part from a Form / Control Pin
OriginalGriff31-Jan-10 10:22
mveOriginalGriff31-Jan-10 10:22 
AnswerRe: Get visible part from a Form / Control Pin
Luc Pattyn31-Jan-10 14:33
sitebuilderLuc Pattyn31-Jan-10 14:33 
QuestionAccessing data without using database (.Net 2005). Pin
priyamtheone31-Jan-10 5:39
priyamtheone31-Jan-10 5:39 
AnswerRe: Accessing data without using database (.Net 2005). Pin
Not Active31-Jan-10 5:43
mentorNot Active31-Jan-10 5:43 
GeneralRe: Accessing data without using database (.Net 2005). Pin
priyamtheone31-Jan-10 6:15
priyamtheone31-Jan-10 6:15 
GeneralRe: Accessing data without using database (.Net 2005). Pin
Not Active31-Jan-10 6:34
mentorNot Active31-Jan-10 6:34 
GeneralRe: Accessing data without using database (.Net 2005). Pin
Saksida Bojan31-Jan-10 7:37
Saksida Bojan31-Jan-10 7:37 
AnswerRe: Accessing data without using database (.Net 2005). Pin
DaveyM6931-Jan-10 7:37
professionalDaveyM6931-Jan-10 7:37 
Questionhow to convert Urdu Language in english language? Pin
roheen31-Jan-10 2:19
roheen31-Jan-10 2:19 
AnswerRe: how to convert Urdu Language in english language? PinPopular
OriginalGriff31-Jan-10 2:35
mveOriginalGriff31-Jan-10 2:35 
GeneralRe: how to convert Urdu Language in english language? Pin
DaveyM6931-Jan-10 4:43
professionalDaveyM6931-Jan-10 4:43 
GeneralRe: how to convert Urdu Language in english language? Pin
Luc Pattyn31-Jan-10 5:03
sitebuilderLuc Pattyn31-Jan-10 5:03 
AnswerRe: how to convert Urdu Language in english language? Pin
dan!sh 31-Jan-10 2:47
professional dan!sh 31-Jan-10 2:47 
QuestionSelect word in richtextbox control Pin
salamonty8631-Jan-10 1:56
salamonty8631-Jan-10 1:56 
AnswerRe: Select word in richtextbox control Pin
#realJSOP31-Jan-10 2:04
professional#realJSOP31-Jan-10 2:04 
GeneralRe: Select word in richtextbox control Pin
salamonty8631-Jan-10 2:07
salamonty8631-Jan-10 2:07 

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.