Click here to Skip to main content
15,912,069 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reading the Caption(Title) of another Window Pin
0x3c06-Feb-09 5:34
0x3c06-Feb-09 5:34 
AnswerRe: Reading the Caption(Title) of another Window Pin
Giorgi Dalakishvili6-Feb-09 5:48
mentorGiorgi Dalakishvili6-Feb-09 5:48 
QuestionGet SelectedListViewItemCollection threadsafe [modified] Pin
Tobesucht6-Feb-09 4:07
Tobesucht6-Feb-09 4:07 
AnswerRe: Get SelectedListViewItemCollection threadsafe Pin
Tobesucht8-Feb-09 21:11
Tobesucht8-Feb-09 21:11 
QuestionSystem.Data.SqlClient.SqlClientpermission,System, publickey token='......' failed exception Pin
praveenvkumarv6-Feb-09 3:53
praveenvkumarv6-Feb-09 3:53 
AnswerCP: REPOST Pin
EliottA6-Feb-09 4:14
EliottA6-Feb-09 4:14 
GeneralRe: CP: REPOST Pin
musefan6-Feb-09 4:30
musefan6-Feb-09 4:30 
QuestionRefreshing Datagrid/BindingSource Pin
Muammar©6-Feb-09 3:44
Muammar©6-Feb-09 3:44 
Hi,
I have a datagridview control that has the datasource attribute set to my binding source bndSrc. Two buttons with the below code are filling the datagrid successfully with the datatable data whenever clicked but the problem is I still get columns from the previous table that I just cant get rid of by clearing the binding source, the dataset or by refreshing the datagrid or resetting it's datasource!

Please help guys.

private void button1_Click(object sender, EventArgs e)
{
    FistTableAdapter.Fill(dataSet1.Table1);
    bndSrc.DataSource = dataSet1.Table1;

}

private void button2_Click(object sender, EventArgs e)
{
    SecondTableAdapter.Fill(dataSet1.Table2);
    bndSrc.DataSource = dataSet1.Table2;

}



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

AnswerRe: Refreshing Datagrid/BindingSource Pin
Lodeclaw6-Feb-09 5:36
Lodeclaw6-Feb-09 5:36 
AnswerRe: Refreshing Datagrid/BindingSource Pin
howlettt6-Feb-09 6:03
howlettt6-Feb-09 6:03 
GeneralRe: Refreshing Datagrid/BindingSource Pin
Muammar©6-Feb-09 18:55
Muammar©6-Feb-09 18:55 
GeneralRe: Refreshing Datagrid/BindingSource [modified] Pin
howlettt7-Feb-09 6:03
howlettt7-Feb-09 6:03 
GeneralRe: Refreshing Datagrid/BindingSource Pin
Muammar©7-Feb-09 18:57
Muammar©7-Feb-09 18:57 
Questionproblem in C# Pin
raju00036-Feb-09 3:39
raju00036-Feb-09 3:39 
AnswerRe: problem in C# Pin
Guffa6-Feb-09 5:46
Guffa6-Feb-09 5:46 
QuestionWindows Application Pin
mrithula86-Feb-09 3:35
mrithula86-Feb-09 3:35 
AnswerRe: Windows Application Pin
musefan6-Feb-09 3:46
musefan6-Feb-09 3:46 
AnswerRe: Windows Application Pin
vaghelabhavesh6-Feb-09 4:06
vaghelabhavesh6-Feb-09 4:06 
AnswerRe: Windows Application Pin
harold aptroot6-Feb-09 4:27
harold aptroot6-Feb-09 4:27 
QuestionHide password decryption Pin
William Engberts6-Feb-09 3:14
William Engberts6-Feb-09 3:14 
AnswerRe: Hide password decryption Pin
EliottA6-Feb-09 3:37
EliottA6-Feb-09 3:37 
GeneralRe: Hide password decryption Pin
William Engberts6-Feb-09 4:25
William Engberts6-Feb-09 4:25 
GeneralRe: Hide password decryption Pin
musefan6-Feb-09 4:33
musefan6-Feb-09 4:33 
AnswerRe: Hide password decryption Pin
Ennis Ray Lynch, Jr.6-Feb-09 5:00
Ennis Ray Lynch, Jr.6-Feb-09 5:00 
GeneralRe: Hide password decryption Pin
William Engberts6-Feb-09 5:07
William Engberts6-Feb-09 5: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.