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 7991939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:26:05+00:00 2026-06-04T13:26:05+00:00

I am trying to copy a fairly large amount of data (~ 50,000 rows,

  • 0

I am trying to copy a fairly large amount of data (~ 50,000 rows, 200 columns of doubles) from a datagridview to the clipboard. To do this I’m selecting all cells and pressing Ctrl+C, at which point I think datagridview handles the actually clipboard copying internally. The program pauses for several seconds then displays the cryptic message…

“Argument ‘Prompt’ cannot be converted to type ‘String’.”

… then the program quits.

I have copied from datagridview to clipboard tons of times in the past, but never this many cells. Regardless, I don’t believe this is an inordinate amount of data for today’s computers.

This is part of debugging a larger issue, where I’d written a routine that copies an entire datagridview to clipboard, opens a new Excel workbook, and dumps to Excel. If I run that routine for this particular datagridview, I get a System.OutofMemory exception.

  • 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-06-04T13:26:06+00:00Added an answer on June 4, 2026 at 1:26 pm

    Maybe I was too quick to say 50K rows + 200 columns was a manageable amount for the clipboard. That judgment partly came from the ability copy & paste similar amounts in Excel, but after further examination I’m not sure exactly if/when/how Excel makes use of the clipboard. So maybe I am exceeding reasonable memory demands… I’ve switched to a piecemeal approach.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently trying to copy data from table into another by using a SELECT
Im trying to copy over data from one table to another in the same
Im trying to copy data to clipboard using zclip jquery. problem that im facing
I'm trying to copy a continuous block of data from one location in the
I'm trying copy a single file from the Plugin directory inside of my Wordpress
I am trying to copy all format file (.txt,.pdf,.doc ...) file from source folder
I am trying to copy files from a directory that is in constant use
I'm trying to copy the <options> HTML Codes from one select list to another.
I am trying to copy all the methods and attributes from a class to
This is a fairly noob question. I'm trying to set up a dev environment

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.