• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 589
  • Last Modified:

about DataGridView in c#

hi all
i am buliding my project using WCF (Windows Communication Foundation) by c#
the project about dynamic examination thats teacher can see the student exam progress dynamically.
as shown in the image i upoaded datagridview(Exam Progress).
when the student start the exam it must notice the teacher that student is started the exam
thats means the datagridview(Exam Progress) will updated instansuly.
my idea when the student start the exam the client software will pass a parameter holds student id and the state whether he is started or finished the exam.
the problem is :
how to update the datagridview by the student id like we do in sql command
update table_name set completed ="Exam Started" while StudentID = "5270019"
please help
1 Solution
There are many ways. Here is one way to handle that. Use DataTable as your data source for DataGridview. Then, use Foreach DataRow to match the Student ID and update the "Completed" status.
EricxxpAuthor Commented:
thanks NetCitizen sorry but how can i update it xan u give an exmaple please?

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now