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

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

Programming for Everybody

Programming for Everybody

Күн бұрын

Пікірлер: 2
@snaveenkumar5812
@snaveenkumar5812 Жыл бұрын
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.
check all items in checkedlistbox vb.net
4:25
Programming for Everybody
Рет қаралды 3,6 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 33 МЛН
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 4,2 МЛН
MySQL VB.NET Tutorial 6 : Insert/Save data to database
18:38
ProgrammingKnowledge
Рет қаралды 222 М.
how to create  a save button to save as a text file using vb net
12:53
SQL Create Table and Insert Data - A Complete Tutorial
15:36
The SQL Guy
Рет қаралды 236 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 33 МЛН