Click here to Skip to main content
15,921,279 members
Home / Discussions / C#
   

C#

 
GeneralRe: xml serialization problem in c# Pin
ksrs4-Jun-07 5:03
ksrs4-Jun-07 5:03 
GeneralRe: xml serialization problem in c# Pin
Sathesh Sakthivel4-Jun-07 5:54
Sathesh Sakthivel4-Jun-07 5:54 
QuestionRe: xml serialization problem in c# Pin
ksrs5-Jun-07 5:08
ksrs5-Jun-07 5:08 
AnswerRe: xml serialization problem in c# Pin
Sathesh Sakthivel5-Jun-07 15:21
Sathesh Sakthivel5-Jun-07 15:21 
AnswerRe: xml serialization problem in c# Pin
Jaiprakash M Bankolli4-Jun-07 7:16
Jaiprakash M Bankolli4-Jun-07 7:16 
QuestionRe: xml serialization problem in c# Pin
ksrs5-Jun-07 5:17
ksrs5-Jun-07 5:17 
Questionmultiple form indows application in C# Pin
sanki7794-Jun-07 3:09
sanki7794-Jun-07 3:09 
AnswerRe: multiple form Windows application in C# Pin
sanki7794-Jun-07 3:09
sanki7794-Jun-07 3:09 
AnswerRe: multiple form indows application in C# Pin
Colin Angus Mackay4-Jun-07 3:18
Colin Angus Mackay4-Jun-07 3:18 
GeneralRe: multiple form indows application in C# Pin
sanki7794-Jun-07 3:40
sanki7794-Jun-07 3:40 
QuestionWorking with the MS Office Interop Assemblies --- Need help Pin
Xprt4-Jun-07 2:03
Xprt4-Jun-07 2:03 
AnswerRe: Working with the MS Office Interop Assemblies --- Need help Pin
kubben4-Jun-07 2:22
kubben4-Jun-07 2:22 
GeneralRe: Working with the MS Office Interop Assemblies --- Need help Pin
Xprt4-Jun-07 18:51
Xprt4-Jun-07 18:51 
GeneralRe: Working with the MS Office Interop Assemblies --- Need help Pin
SimulationofSai4-Jun-07 22:43
SimulationofSai4-Jun-07 22:43 
GeneralRe: Working with the MS Office Interop Assemblies --- Need help Pin
kubben5-Jun-07 1:44
kubben5-Jun-07 1:44 
GeneralRe: Working with the MS Office Interop Assemblies --- Need help Pin
Xprt7-Jun-07 2:17
Xprt7-Jun-07 2:17 
QuestionMy DataGrid is not feeling well today Pin
Muammar©4-Jun-07 1:29
Muammar©4-Jun-07 1:29 
OracleConnection oraCONNECTION;
OracleDataAdapter oraADAPTER;
string strCommand;


private void rdIndicators_CheckedChanged(object sender, EventArgs e)
{
    if (rdIndicators.Checked)
    {
        dataGrid1.CaptionText = "Population Indicators";
        strCommand = @"SELECT * FROM PPL_INDICATORS";
        popDGrid();
    }
}

private void rdInst_CheckedChanged(object sender, EventArgs e)
{
    if (rdInst.Checked)
    {
        dataGrid1.CaptionText = "Institutional Structure";
        strCommand = @"SELECT * FROM INS_STRUCT";
        popDGrid();
    }

}


private void popDGrid()
{
    oraCONNECTION = new OracleConnection(@"Data Source=orcl; Persist Security Info=True;User ID=DLDSP; Password=DLDSP;Unicode=True");
    oraADAPTER = new OracleDataAdapter(strCommand, oraCONNECTION);

    DSet.Clear();
    oraADAPTER.Fill(DSet);
    dataGrid1.DataSource = DSet.Tables[0];
    dataGrid1.Refresh();
    this.Refresh();
}

Why do I get both tables columns every time I'm firing one of the above events??
Many thanksRose | [Rose]

ps. Hi ChristianBig Grin | :-D




Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)

AnswerRe: My DataGrid is not feeling well today Pin
Christian Graus4-Jun-07 1:43
protectorChristian Graus4-Jun-07 1:43 
GeneralRe: My DataGrid is not feeling well today Pin
Muammar©4-Jun-07 1:52
Muammar©4-Jun-07 1:52 
GeneralRe: My DataGrid is not feeling well today Pin
Christian Graus4-Jun-07 2:19
protectorChristian Graus4-Jun-07 2:19 
AnswerRe: My DataGrid is not feeling well today Pin
blackjack21504-Jun-07 1:51
blackjack21504-Jun-07 1:51 
GeneralRe: My DataGrid is not feeling well today Pin
Muammar©4-Jun-07 1:54
Muammar©4-Jun-07 1:54 
GeneralRe: My DataGrid is not feeling well today Pin
blackjack21504-Jun-07 2:07
blackjack21504-Jun-07 2:07 
QuestionMessenger client with plugin support Pin
Genbox4-Jun-07 1:20
Genbox4-Jun-07 1:20 
QuestionStand by event hook Pin
Shajeel4-Jun-07 0:22
Shajeel4-Jun-07 0:22 

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.