Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
GeneralRe: Buffered Stream & OpenRead Pin
OriginalGriff7-Jul-14 9:35
mveOriginalGriff7-Jul-14 9:35 
GeneralRe: Buffered Stream & OpenRead Pin
Eddy Vluggen7-Jul-14 10:32
professionalEddy Vluggen7-Jul-14 10:32 
GeneralRe: Buffered Stream & OpenRead Pin
computerpublic7-Jul-14 9:00
computerpublic7-Jul-14 9:00 
AnswerRe: Buffered Stream & OpenRead Pin
Richard Deeming7-Jul-14 9:08
mveRichard Deeming7-Jul-14 9:08 
AnswerRe: Buffered Stream & OpenRead Pin
Paulo Zemek7-Jul-14 11:18
mvaPaulo Zemek7-Jul-14 11:18 
QuestionPop up error message when I call AS400 Stored Procedures via c# application Pin
JanakaND7-Jul-14 0:43
JanakaND7-Jul-14 0:43 
AnswerRe: Pop up error message when I call AS400 Stored Procedures via c# application Pin
Pete O'Hanlon7-Jul-14 0:52
subeditorPete O'Hanlon7-Jul-14 0:52 
GeneralRe: Pop up error message when I call AS400 Stored Procedures via c# application Pin
JanakaND7-Jul-14 1:11
JanakaND7-Jul-14 1:11 
I mention below code that I use to call AS400 SP
(SP Name-GVSP07

OdbcConnection conOdbc = new OdbcConnection("DSN=GIFT1;UID=GIFT1;PWD=GIFT1;");


C#
public void OpenODBCConnection()
{
    try
    {
        if (conOdbc.State == ConnectionState.Closed)
        {
            //conOdbc.ConnectionString = _con_String1;
            conOdbc.Open();
        }
    }
    catch (Exception ex)
    {
        throw ex;
    }
}



OdbcCommand ODBC = new OdbcCommand("call AMAIN1.GVSP07",conOdbc);
ODBC.Parameters.Add("GR1X", OdbcType.Double, 7);
ODBC.Parameters["GR1X"].Direction = ParameterDirection.Input;
ODBC.Parameters["GR1X"].Value = 3020;

ODBC.Parameters.Add("GUSX", OdbcType.Char, 10);
ODBC.Parameters["GUSX"].Direction = ParameterDirection.Input;
ODBC.Parameters["GUSX"].Value = "g";
ODBC.CommandType = CommandType.StoredProcedure;
ODBC.ExecuteNonQuery();
AnswerRe: Pop up error message when I call AS400 Stored Procedures via c# application Pin
Kornfeld Eliyahu Peter7-Jul-14 1:36
professionalKornfeld Eliyahu Peter7-Jul-14 1:36 
GeneralRe: Pop up error message when I call AS400 Stored Procedures via c# application Pin
Pete O'Hanlon7-Jul-14 2:17
subeditorPete O'Hanlon7-Jul-14 2:17 
GeneralRe: Pop up error message when I call AS400 Stored Procedures via c# application Pin
Bernhard Hiller7-Jul-14 2:52
Bernhard Hiller7-Jul-14 2:52 
GeneralRe: Pop up error message when I call AS400 Stored Procedures via c# application Pin
JanakaND7-Jul-14 16:59
JanakaND7-Jul-14 16:59 
QuestionJoin Table with Data table Pin
Mohammad Soleimani6-Jul-14 23:10
Mohammad Soleimani6-Jul-14 23:10 
AnswerRe: Join Table with Data table Pin
Eddy Vluggen7-Jul-14 0:19
professionalEddy Vluggen7-Jul-14 0:19 
GeneralRe: Join Table with Data table Pin
Mohammad Soleimani7-Jul-14 1:27
Mohammad Soleimani7-Jul-14 1:27 
QuestionRe: Join Table with Data table Pin
Eddy Vluggen7-Jul-14 7:13
professionalEddy Vluggen7-Jul-14 7:13 
AnswerRe: Join Table with Data table Pin
Mohammad Soleimani7-Jul-14 7:59
Mohammad Soleimani7-Jul-14 7:59 
GeneralRe: Join Table with Data table Pin
Eddy Vluggen7-Jul-14 8:49
professionalEddy Vluggen7-Jul-14 8:49 
GeneralRe: Join Table with Data table Pin
Mohammad Soleimani7-Jul-14 16:46
Mohammad Soleimani7-Jul-14 16:46 
QuestionChainedFilter.cs is not available in Lucene.Net 3.0.3? Pin
Shubhanshu Pathak6-Jul-14 18:16
Shubhanshu Pathak6-Jul-14 18:16 
AnswerRe: ChainedFilter.cs is not available in Lucene.Net 3.0.3? Pin
Dave Kreskowiak6-Jul-14 18:21
mveDave Kreskowiak6-Jul-14 18:21 
GeneralRe: ChainedFilter.cs is not available in Lucene.Net 3.0.3? Pin
Shubhanshu Pathak6-Jul-14 19:17
Shubhanshu Pathak6-Jul-14 19:17 
QuestionOpening Sub menu and minimaize main form Pin
KaKoten6-Jul-14 2:43
KaKoten6-Jul-14 2:43 
AnswerRe: Opening Sub menu and minimaize main form Pin
OriginalGriff6-Jul-14 4:04
mveOriginalGriff6-Jul-14 4:04 
GeneralRe: Opening Sub menu and minimaize main form Pin
KaKoten6-Jul-14 12:08
KaKoten6-Jul-14 12:08 

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.