DataGridView Returning Values from Cells


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: DataGridView Returning Values from Cells

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    10

    DataGridView Returning Values from Cells

    Need some help. I am using datagridview in 2005 with C#. I am calling a web service and filling the datagridview with the data returned. This all works fine. Next step is to take a value from one of the cells in the datagridview and return it back with some other values in an object for another webservice call. The problem is I dont know how to access a cell in a datagridview to do this. Im pretty sure you have to do it thru the binding source for the datagridview but I dont know how. I have the datagridview setup for no multiselect so only one row can be selected and I know I will probably need to write something to return which row is selected in the gridview and send it to the bindingsource to tell it and return the value in the cell I need. Can someone help please. Thanks.

  2. #2
    Join Date
    Jul 2006
    Posts
    7
    Look at the following link. You will find a lot of helpful articles on this topic.

    http://www.netomatix.com/DataGridSeries.aspx

Similar Threads

  1. how to clone database using mysql
    By zarien in forum Database
    Replies: 1
    Last Post: 05-17-2006, 04:27 AM
  2. Returning all values in a select box to asp
    By LordWabbit in forum ASP.NET
    Replies: 0
    Last Post: 06-13-2002, 06:35 AM
  3. Returning stored proc values
    By Yog in forum Database
    Replies: 5
    Last Post: 04-05-2001, 02:10 PM
  4. Returning values from a command or program
    By Robert Mullis in forum VB Classic
    Replies: 0
    Last Post: 06-02-2000, 12:25 PM
  5. identifying values in TABLE cells
    By russ in forum Web
    Replies: 1
    Last Post: 05-24-2000, 02:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center