In datagridview has a date field in the format yyyyMMdd and needs to display formatted in the correct form.
I tried this:
dgvRequisicao.Columns["data"].DefaultCellStyle.Format = "dd/MM/yyyy";
But instead of showing me the f...
Hello everyone, I'm having problems with a listing.
I have a DataGridView loading a list of products automatically and a combobox with the names of the categories, the idea is that when selecting a category and clicking the list button, DataG...
I have DataGridView and it contains checkbox , I need to write the value in the database, how can I do this insert in the database, the field in the database is like
0=false e 1=true,
Only the parameter in my code is passing...
I'm trying to select the last row in a DataGridView after adding a new item. For this I am executing the following code:
dgwVenda.ClearSelection()
dgwVenda.Rows(dgwVenda.Rows.Count - 1).Selected = True
If dgwVenda.Controls(1).Visible = True Th...
Good afternoon, I'm facing a problem when generating an Excel file, I was able to make the information appear in Excel and be shown on the screen, but I found myself with doubts when I try to generate only one file with the information, my doubts...
Hello, I'm trying to do something that looks simple but I'm not getting it, I want to click a button to add the data from a grid go to another form that is already open. The problem is that I am only able to load a new form. This is not what I w...
How can I do this, see what I have so far:
DataGrid, I need to load comboBox and valor unitário with values that I previously saved in a txt
RecordProductsbutton,savename-priceprivatevoidbtnGravar_Click(objectsender,E...
Good morning, I have a doubt, I have a datagridviwer, I have cleared the option to change the fields, and I need to do that when the user clicks on the change button I release the grid to change, how can I do this?