update table in csharp

Code Example - update table in csharp

                
                        command.CommandText = "UPDATE Student 
SET Address = @add, City = @cit Where FirstName = @fn and LastName = @add";