Results 1 to 3 of 3

Thread: [2005] [array list]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2007
    Posts
    98

    [2005] [array list]

    Hi friends,

    i have stored some values in arrarylist .. i want to insert the each values to my table in sql server database in row wise.. how to pass the array list to storedprocedure and how to get the count of arraylist in stored procedure.. plz help me ..

  2. #2
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [2005] [array list]

    SQL commands, SQL connections, Select statements.

    Do you have any code right now? If so, please show us so we can help you get it in order.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] [array list]

    Depending on your data integrity needs, you could execute one insert statement for each item in the Arraylist, or you could pass in a comma-separated list to your stored procedure which you then need to split.

    Which one?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width