CACS302 Dot Net Technology

Dot Net TechnologyTU Board 2021

Explain difference between ExecuteReader and ExecuteNonQuery. Provided that a mysql database named "Company" with table named "Product" with following columns (ProductId as int, ProductName as…

10

Explain difference between ExecuteReader and ExecuteNonQuery. Provided that a mysql database named "Company" with table named "Product" with following columns (ProductId as int, ProductName as varchar(20), and UnitPrice as float). Write a C# program to connect to the database and display product records that have UnitPrice is greater than RS. 1000 and update the product record (such as Unit Price 4500) from ProductId whose ProductId=50.

A worked answer is on its wayMeanwhile, read the Dot Net Technology notes for this topic.

Discussion

Loading…

More Dot Net Technology questions

All Dot Net Technology old questions