Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2007, 06:30 AM
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to pro10
Default From gridView in matrix

I traing to write dates from dataGridView1 in matrix but I can't. this algorithm working when just l=c (l-lines, c-columns).

k = new int[l,c];

             for ( int i = 1; i <l ; i++)
             {
                 for (int j = 1; j < c; j++)
                 {

                     k[i,j] =int.Parse(dataGridView1[i,j].Value.ToString());

                 }
             }






Similar Threads
Thread Thread Starter Forum Replies Last Post
Get GridView Cell Value Based on GridView Column stublair C# 2008 aka C# 3.0 0 September 4th, 2008 08:30 AM
Matrix problem anothervbaddict Reporting Services 0 August 2nd, 2007 02:18 AM
Sum of sub-matrix of a matrix Gromlok Java Basics 0 March 4th, 2007 03:45 PM
Matrix operators Ravel99 Pro VB 6 0 April 28th, 2006 03:45 AM
hadamard matrix detfella Visual C++ 0 February 19th, 2004 02:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.