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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:06:08+00:00 2026-05-15T06:06:08+00:00

I’ve never personally used any of the Data controls within Visual Studio. I need

  • 0

I’ve never personally used any of the Data controls within Visual Studio. I need to view and edit a two-dimensional byte array, 16×15 objects. Is there any control capable of editing this information?

I’ve tried to access data with the DataViewGrid, but am not sure how to use it.

It would be great to edit this information via rows and columns, like how you can in Excel.

Thank you!


Times like this I wish I could just use multiple text boxes and assign them each an index value. Oh VB6 how I miss you 😛

  • 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-15T06:06:09+00:00Added an answer on May 15, 2026 at 6:06 am

    Following is part of my Array debug visualizer (ftp://missico.net/ArrayVisualizer.zip)

            //' x is columns
            //' y is rows
    
            //' x is first dimension
            //' y is second dimension
    
            //'create data table
            DataTable oData = new DataTable("Array");
    
            //'handle columns
            for (int x = 0; x <= _array.GetUpperBound(0); x++) {
                oData.Columns.Add(x.ToString(), typeof(string));
            }
    
            //'populate data
            for (int iRow = 0; iRow <= _array.GetUpperBound(1); iRow++) {
                DataRow oRow = oData.NewRow();
                for (int iCol = 0; iCol <= _array.GetUpperBound(0); iCol++) {
                    oRow[iCol] = _array.GetValue(iCol, iRow);
                }
                oData.Rows.Add(oRow);
            }
            oData.AcceptChanges();
    
            //'data source
            __grid.DataSource = oData;
    
            //'handle row index
            int j = 0;
            foreach (DataGridViewRow oRow in __grid.Rows) {
                oRow.HeaderCell.Value = j.ToString();
                j += 1;
            }
    
            //'disallow sorting
            foreach (DataGridViewColumn oCol in __grid.Columns) {
                oCol.SortMode = DataGridViewColumnSortMode.NotSortable;
            }
    
            //'resize everything
            __grid.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);
            __grid.AutoResizeRows(DataGridViewAutoSizeRowsMode.AllCells);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
I have an MVC Razor view @{ ViewBag.Title = Index; var c = (char)146;
I need a function that will clean a strings' special characters. I do NOT
I want to construct a data frame in an Rcpp function, but when I
I have thousands of HTML files to process using Groovy/Java and I need to

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.