Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Plugins and Abstract classes. Pin
Anthony Mushrow7-Feb-09 9:03
professionalAnthony Mushrow7-Feb-09 9:03 
GeneralRe: Plugins and Abstract classes. Pin
iAmEntity7-Feb-09 9:33
iAmEntity7-Feb-09 9:33 
QuestionChecking for data Pin
ziwez07-Feb-09 5:07
ziwez07-Feb-09 5:07 
AnswerRe: Checking for data Pin
Dave Kreskowiak7-Feb-09 8:54
mveDave Kreskowiak7-Feb-09 8:54 
GeneralRe: Checking for data Pin
DaveyM697-Feb-09 10:14
professionalDaveyM697-Feb-09 10:14 
GeneralRe: Checking for data Pin
Dave Kreskowiak7-Feb-09 11:47
mveDave Kreskowiak7-Feb-09 11:47 
QuestionVoice to text Conversion in windows mobile application Pin
ReachMe@CodeProject7-Feb-09 3:55
ReachMe@CodeProject7-Feb-09 3:55 
QuestionRefreshing datagrid Pin
Muammar©7-Feb-09 3:20
Muammar©7-Feb-09 3:20 
Hi,
I'm trying to switch between two different tables using the same datagrid using two table adapters and one binding source bndSrc

        private void button1_Click(object sender, EventArgs e)
{
               bndSrc.DataMember = "Table1";
               FirstTableAdapter.Fill(this.dataSet1.Table1);
}

        private void button2_Click(object sender, EventArgs e)
{
               bndSrc.DataMember = "Table2";
               SecondTableAdapter.Fill(this.dataSet1.Table2);
}


Considering the binding navigator number of rows, I can see it's working fine except the datagrid is not being refreshed and it's still showing columns from the previous table and when clearing the datagrid's columns before loading, I just get an empty datagrid with a dull gray background and no columns!! still the binding navigator shows the exact number of rows from the bound tableConfused | :confused:

Please help guys Sigh | :sigh:


All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)

AnswerRe: Refreshing datagrid Pin
Muammar©7-Feb-09 3:58
Muammar©7-Feb-09 3:58 
GeneralRe: Refreshing datagrid Pin
Rafone7-Feb-09 5:00
Rafone7-Feb-09 5:00 
GeneralRe: Refreshing datagrid Pin
Muammar©7-Feb-09 18:56
Muammar©7-Feb-09 18:56 
Questionbest choice ? Pin
Xmen Real 7-Feb-09 2:50
professional Xmen Real 7-Feb-09 2:50 
AnswerRe: best choice ? [modified] Pin
DaveyM697-Feb-09 3:25
professionalDaveyM697-Feb-09 3:25 
AnswerRe: best choice ? Pin
Luc Pattyn7-Feb-09 3:48
sitebuilderLuc Pattyn7-Feb-09 3:48 
Questionfile upload error Pin
George_George7-Feb-09 2:43
George_George7-Feb-09 2:43 
AnswerRe: file upload error Pin
Nicholas Butler7-Feb-09 3:34
sitebuilderNicholas Butler7-Feb-09 3:34 
GeneralRe: file upload error Pin
George_George7-Feb-09 22:19
George_George7-Feb-09 22:19 
GeneralRe: file upload error Pin
Nicholas Butler7-Feb-09 23:36
sitebuilderNicholas Butler7-Feb-09 23:36 
GeneralRe: file upload error Pin
George_George8-Feb-09 0:18
George_George8-Feb-09 0:18 
GeneralRe: file upload error Pin
Nicholas Butler8-Feb-09 2:21
sitebuilderNicholas Butler8-Feb-09 2:21 
AnswerRe: file upload error Pin
Hamid_RT15-Feb-09 21:44
Hamid_RT15-Feb-09 21:44 
Questionweb service and desktop client connectivity issue Pin
sailesh_gupta7-Feb-09 1:57
sailesh_gupta7-Feb-09 1:57 
QuestionHow to convert tiff file to text file using tesseract.ocr in C#(Asp.net)" Pin
ChandrakanthGaddam7-Feb-09 1:32
ChandrakanthGaddam7-Feb-09 1:32 
QuestionCombobox selected item issue Pin
laziale7-Feb-09 0:40
laziale7-Feb-09 0:40 
AnswerRe: Combobox selected item issue Pin
sailesh_gupta7-Feb-09 2:03
sailesh_gupta7-Feb-09 2:03 

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.