Click here to Skip to main content
15,914,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: AppDomain pains: Specifying a relative directory not working fully. Pin
iAmEntity8-Feb-09 8:08
iAmEntity8-Feb-09 8:08 
Questionhow to write coding for login page in ASP dot net with c# coding???? Pin
karthimca1437-Feb-09 8:55
karthimca1437-Feb-09 8:55 
AnswerRe: how to write coding for login page in ASP dot net with c# coding???? Pin
DaveyM697-Feb-09 10:11
professionalDaveyM697-Feb-09 10:11 
QuestionEfficient Image loading Pin
RanCohen7-Feb-09 8:45
RanCohen7-Feb-09 8:45 
AnswerRe: Efficient Image loading Pin
Luc Pattyn7-Feb-09 9:15
sitebuilderLuc Pattyn7-Feb-09 9:15 
GeneralRe: Efficient Image loading Pin
RanCohen7-Feb-09 9:43
RanCohen7-Feb-09 9:43 
AnswerRe: Efficient Image loading Pin
Luc Pattyn7-Feb-09 10:34
sitebuilderLuc Pattyn7-Feb-09 10:34 
GeneralRe: Efficient Image loading Pin
RanCohen7-Feb-09 10:36
RanCohen7-Feb-09 10:36 
AnswerRe: Efficient Image loading Pin
Alan Balkany9-Feb-09 4:17
Alan Balkany9-Feb-09 4:17 
GeneralRe: Efficient Image loading Pin
RanCohen10-Feb-09 4:41
RanCohen10-Feb-09 4:41 
Questionhow to make .exe file in C# Pin
jananiSreedhar7-Feb-09 7:50
jananiSreedhar7-Feb-09 7:50 
AnswerRe: how to make .exe file in C# PinPopular
Anthony Mushrow7-Feb-09 7:57
professionalAnthony Mushrow7-Feb-09 7:57 
JokeRe: how to make .exe file in C# Pin
Luc Pattyn7-Feb-09 9:17
sitebuilderLuc Pattyn7-Feb-09 9:17 
QuestionPlugins and Abstract classes. Pin
iAmEntity7-Feb-09 6:45
iAmEntity7-Feb-09 6:45 
AnswerRe: Plugins and Abstract classes. Pin
Anthony Mushrow7-Feb-09 7:54
professionalAnthony Mushrow7-Feb-09 7:54 
RantRe: Plugins and Abstract classes. Pin
iAmEntity7-Feb-09 8:05
iAmEntity7-Feb-09 8:05 
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 

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.