Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Change cell text in a datagrid URGGGGGGGGGGGGGGGGENT!!!!!!!!!!

Posted on 2005-03-29
Medium Priority
Last Modified: 2011-10-03
I just can't work it out!!!

I'm using VB.NET version 2003, i have a datagrid, i know the cell and row at which i am at. I would like to change the text within that cell. I need a reliable way to do it for the application must be stable.

Simple yet complex as! It seems the new version of VB.NET comes with a "better" datagrid control, but that's not an option.

sample code would be really helpful. i MUST be able to change text using the column/row index.


Question by:undyshelts
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 34

Accepted Solution

Brian Crowe earned 1000 total points
ID: 13658418
have you tried

myDatagrid(row)(column) = myString

I know you can get the value this ways...not sure if you can set it the same.  Typically I address the underlying datasource instead of the datagrid directly.  Is this an option for you?


Author Comment

ID: 13658436
Thank you so much, here i was trying to complicate the situation!

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question