Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 565041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:49:49+00:00 2026-05-13T12:49:49+00:00

How from ASP.NET I can call a stored procedure in an Oracle package that

  • 0

How from ASP.NET I can call a stored procedure in an Oracle package that accepts a VArray. The VArray will pass a list of keys that the stored procedure will use to modify appropriate records. I know I could send the keys in separate calls or send a delimited list, but I’d rather use an array.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:49:50+00:00Added an answer on May 13, 2026 at 12:49 pm

    Assuming you’re using ODP.NET (you shouldn’t be using System.Data.OracleClient anyway), here’s how to do it:

    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    
    class SomeClass
    {
        void SomeMethod(string connectionString, int[] anArrayOfKeys)
        {
            using (var con = new OracleConnection(connectionString))
            using (var cmd = con.CreateCommand())
            {
                cmd.CommandType = CommandType.StoredProcedure;
                cmd.CommandText = "StoredProcedureNameGoesHere";
                cmd.Parameters.Add(
                    "ParameterNameGoesHere",
                    OracleDbType.Array,
                    anArrayOfKeys,
                    ParameterDirection.Input);
    
                con.Open();
                cmd.ExecuteNonQuery();
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In asp.net mvc, you can easily call/add a controller from a view, but what
From Richard Kiessig's ultra fast asp.net book, Head section can't contain any tags that
I'm trying to update a table via a stored procedure from asp.net. I get
My requirement is to call WCF web service from ASP.NET code behind and pass
I have this exact issue ASP.net can’t update page from event handler and it's
how i can send sms from asp.net?any idea about it?or any resource through which
I'm new to ASP.net, how can I read parameters passed from ASP.net page (
How can I use ASP.NET inline tags from within a block of JavaScript? For
I can't read dates from ajax calendar control after date selection http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx I don't
How can I access metadata (dataannotations attributes) in my asp.net mvc model class from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.