VB.net Tutorial save data in SQL server using VB.net and Prevent duplicate data entry

  Рет қаралды 3,829

Programming for Everybody

Programming for Everybody

Күн бұрын

Пікірлер: 2
@snaveenkumar5812
@snaveenkumar5812 2 жыл бұрын
there @code, @name and is where it means
@piotrsikorski7956
@piotrsikorski7956 Жыл бұрын
@code, @fname, @lname, and @marks are parameters used in an SQL command. The SQL command is trying to insert values into a table named "Table4". In 2022 version it should be in []. It checks if a row exists in the table where the value in the code_student column matches the value of the @code parameter. If there is no such row, the command inserts a new row with values for the code_student, firstname, lastname, and marks columns. The values for these columns are provided through parameters: @code, @fname, @lname, and @marks. These parameters are placeholders in the SQL command that will be replaced with actual values when the command is executed. In the VBA code, these parameters are set using the SqlCommand object's Parameters property. The actual values to be inserted into the table can be set by assigning values to these parameters before executing the command.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
how to create  a save button to save as a text file using vb net
12:53
Visual Basic.NET: insert, update and  delete  data in datagridview without using database
19:58
VBA User Form: Add, Update, Delete and Save
22:47
hay kel
Рет қаралды 66 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 219 М.
VB.NET: Ausführbare Anwendung erstellen
10:56
André Minhorst
Рет қаралды 3,4 М.