Relative Content

Tag Archive for cvisual-studio-code

add a subtotal to datagridview using c#

private void dataGridView1_CellValueChanged(object sender, DataGridViewCellEventArgs e)
{
// Ensure the event is triggered by changes in Column1 or Column2
if (e.ColumnIndex == dataGridView1.Columns[“Price”].Index || e.ColumnIndex == dataGridView1.Columns[“Qty”].Index)
{
// Get the current row
DataGridViewRow row = dataGridView1.Rows[e.RowIndex];

how to download a libary in C++

im trying to download xlnt in visual studio code and i tryed for so long, i look at youtube, google and even ask chat gpt and still couldnt make a libary to work.

visual studio code not showing correct output

Hello i just started programing.Iam doing c# in vcode.It worked just fine for the first code but after that whenever i try to execute the latest code it just shows me the result of the first code or the name of the project in the terminal and it is pissing me off please telll me how to fix this problem.