Download nhạc từ các trang nhạc lớn của Việt Nam

16 Tháng Sáu 2006
@ 07:58
(Được đăng bởi: Phạm Đức Hải)

CheckExistNews chứa trong package PKG_Test

    FUNCTION CheckExistNews(newsurl IN VARCHAR2) RETURN NUMBER AS
    checkvalue NUMBER;
    BEGIN
        
         SELECT COUNT(*) INTO checkvalue
         FROM InfoRetrieved where InfoRetrieved.URL=newsurl;
         RETURN checkvalue;
    END;

C# function :

public bool CheckExistNews(string url)
        {
            bool ret = false;
            int ok=0;
            OracleCommand myCommand = new OracleCommand("PKG_Test.CheckExistNews", connection);
            myCommand.CommandType = CommandType.StoredProcedure;
            myCommand.Parameters.Add(new OracleParameter("newsurl", OracleType.VarChar, 500));
            myCommand.Parameters["newsurl"].Value = url;
            myCommand.Parameters.Add(new OracleParameter("checkvalue", OracleType.Number,1));
            myCommand.Parameters["checkvalue"].Direction = ParameterDirection.ReturnValue;
            
            try
            {
                if(connection.State!= ConnectionState.Open)
                    connection.Open();
                myCommand.ExecuteScalar();
                ok=Convert.ToInt32(myCommand.Parameters["checkvalue"].Value);
                if (ok!=0)
                    ret = true;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message,"CheckExistNews : Error");
            }
            finally
            {
                connection.Close();
            }
            return ret;
        }

Ý kiến [0] - Chuyên mục: .NET |  CSharp | Oracle

Referred by:
call oracle funtion + .net (search.yahoo.com) [Referral]
http://stackoverflow.com/questions/1020348/oracle-select-fro... [Referral]
"oracle function return table" (www.google.com) [Referral]
cache:XcQewHh3eQQJ:www.experts-exchange.com/Database/Oracle/11.x/Q_23223379.html bind variables c# (webcache.googleusercontent.com) [Referral]
"oracle" and "call package from function" (www.google.co.il) [Referral]
http://yandex.ru/yandsearch?text=.net+oracle+package&lr=54 [Referral]
GetReturnValueParam (www.google.com.vn) [Referral]
"GetReturnValueParam" (www.google.com.vn) [Referral]
Package C# (www.google.com.vn) [Referral]
How use OracleBoolean OracleParameter C# (www.google.cz) [Referral]
executing oracle package from C# (www.google.com) [Referral]
http://yandex.ru/yandsearch?text=package+oracle+c%23&clid=48... [Referral]
c# how to call oracle function return boolean (www.google.mn) [Referral]
c# call oracle function (www.google.co.za) [Referral]
oraclecommand function (www.google.com) [Referral]
call oracle function in c# (www.google.ca) [Referral]
call oracle function from java (www.google.com.vn) [Referral]
c# oracle pakage function (www.google.com.vn) [Referral]
c# oracle package function (www.google.com.vn) [Referral]
c# calling oracle function (www.google.lt) [Referral]
call oracle fucntion in c# (www.google.ca) [Referral]
oracle command to call function (www.google.co.in) [Referral]
package oracle .net c# (www.google.gr) [Referral]
calling oracle function from c#.net (www.google.co.in) [Referral]
http://www.google.pl/ [Referral]
C# ORACLECOMMAND function (www.google.com.hk) [Referral]
oraclecommand function return (www.google.nl) [Referral]
How to Call Package Oracle from C# (www.google.co.id) [Referral]
http://www.google.co.th/ [Referral]
C# call oracle package (www.google.com.hk) [Referral]
c#.net get value from oracle function OracleCommand package function (www.google.be) [Referral]
how tu use oracle function in c# (www.google.com.tr) [Referral]
c# oracle function in package (www.google.pl) [Referral]
c# call oracle package (www.google.com) [Referral]
c# with oracle package (www.google.com) [Referral]
oraclecommand function (www.google.com) [Referral]
http://www.google.com/ [Referral]
OracleCommand (www.google.com.vn) [Referral]
Call "oracle package" from c#.net (www.google.co.in) [Referral]
call oracle package from c# (www.google.com) [Referral]
c# package oracle (www.google.com) [Referral]
calling package in .net C# oracle (www.google.com) [Referral]
oracle + .net + ebook (www.google.com.vn) [Referral]
http://www.google.com.pk/ [Referral]
OracleCommand function (www.google.pl) [Referral]
http://www.google.com.vn/ [Referral]
oracle function c# (www.google.fr) [Referral]
c# oracle 包 (www.google.com.hk) [Referral]
c# oraclecommand package (www.google.com) [Referral]
c# oracle function (www.google.pl) [Referral]
calling oracle package functions in .net (www.google.com.pk) [Referral]
c# execute oracle package (www.google.com.uy) [Referral]
oracle procedure "return table" c# (www.google.it) [Referral]
c# oracle package (www.google.cl) [Referral]
execute package of oracle in c# (www.google.com.mx) [Referral]
.net call oracle package (www.google.co.in) [Referral]
c# + call a oracle package function (www.google.co.uk) [Referral]
ejecutar funcion oracle en c# (www.google.es) [Referral]
C# + Oracle command + functions (www.google.co.uk) [Referral]
c# call oracle function (www.google.cz) [Referral]
call function oracle from .net (www.google.com.co) [Referral]
oracle package c# (www.google.cl) [Referral]
c# and function in oracle (www.google.com.vn) [Referral]
call oracle function in c#.net (www.google.com.vn) [Referral]
http://www.google.de/ [Referral]
OracleCommand package (www.google.com) [Referral]
OracleBoolean c# (www.google.fr) [Referral]
c# cache ebook (www.google.com.vn) [Referral]
execute oracle function in c# (www.google.com) [Referral]
call oracle function from C#.net (www.google.co.in) [Referral]
package oracle + C# (www.google.com.co) [Referral]
"c#" oracle package (www.google.co.in) [Referral]
call function sql from C# (www.google.com.vn) [Referral]
package oracle C# (www.google.com.vn) [Referral]
c# oracle stored procedure package (www.google.de) [Referral]
function oracle C# (www.google.com) [Referral]
OracleCommand Function (www.google.com) [Referral]
use function oracle in c# (www.google.com.vn) [Referral]
c# oracle + select with parameters (www.google.pt) [Referral]
c# oracle package (www.google.ru) [Referral]
c# execute oracle package (www.google.com.br) [Referral]
csharp oracle package execute (www.google.co.jp) [Referral]
http://www.google.co.in/ [Referral]
oracle package .net C# (www.google.com) [Referral]
function return boolean c# (www.google.com.vn) [Referral]
c# oracle function parameter (www.google.de) [Referral]
ORACLE + ExecuteScalar + c# (www.google.co.uk) [Referral]
c# oracle call function (www.google.fr) [Referral]
funcion con paquete oracle (search.conduit.com) [Referral]
c# how to call oracle function (www.google.pl) [Referral]
oracle package function c# (www.google.nl) [Referral]
c# oracle oraclecommand (www.google.com) [Referral]
http://yandex.ru/yandsearch?text=C%23+oracle+function+&lr=21... [Referral]
c# oracle Package (www.google.de) [Referral]
c# oracle function bolean (www.google.it) [Referral]
execute package C# (www.google.fr) [Referral]
csharp call oracle package (www.google.ca) [Referral]
http://www.google.com.ar/ [Referral]
C# call packet in oracle (www.google.com.vn) [Referral]
OracleCommand function (www.google.com.br) [Referral]
execute oracle function from c# (www.google.com) [Referral]
function in C# (www.google.com.vn) [Referral]
how to call a oracle function from c#.net (www.google.co.in) [Referral]
c# oracle function call (www.google.com.tr) [Referral]
ejecutar package desde function (www.google.cl) [Referral]
ejecutar package oracle C# (www.google.com.mx) [Referral]
oracleCommand C# storedProcedure (www.google.pl) [Referral]
execute function in package oracle c# (www.google.com.ar) [Referral]
c# oracle package (www.google.com) [Referral]
c# calling function from oracle (www.google.mu) [Referral]
oraclecommand function (www.google.com.br) [Referral]
procedure oracle PACKAGE c# (www.google.com.br) [Referral]
call oracle package net (www.google.com) [Referral]
c# net oracle package (www.google.com) [Referral]
call FUNCTION from package oracle in c# (www.google.pl) [Referral]
ejecutar una funcion oracle desde c# (www.google.cl) [Referral]
VS 2010 C# CALL ORACLE FUNCTION (www.google.co.cr) [Referral]
how to call function in package (www.google.co.th) [Referral]