about DataGridView in c#

Posted on 2009-12-25
Last Modified: 2013-12-17
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
Question by:Ericxxp
    LVL 1

    Accepted 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.

    Author Comment

    thanks NetCitizen sorry but how can i update it xan u give an exmaple please?

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now