TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Black Diamond
NA
236
108.6k
Insert Textbox value to a specific row and column?
Aug 4 2017 5:01 AM
Good day,
I have a problem inserting a data or a text from textbox in a specific column and a specific row in datagridview without database using add button.
I have a code her but the problem of this code it insert string text in all the column selected.
I want only one row in a specific column should be inserted...please help..thank
for (int i = 0; i < DatagridVoucher.Rows.Count; i++)
{
DataGridViewRow row = DatagridVoucher.Rows[i];
row.Cells[3].Value = this.txtVat.Text;
}
I'm attaching file for more details thank you .
Attachment:
Insert_text_in_a_datagrid.zip
Reply
Answers (
6
)
sending notification failed with payload in c#
How to show database values in pie chart using ASP.NET