Questions tagged as 'datagrid'

0
answers

Modify content from a DataGridView and validate update

I am working within C # with Windows Forms, I developed an application where the DataGriedView records are loaded from the database: My question is how I can edit the records from the datagriedview and at the same time give enter valida...
asked by 22.08.2018 / 19:05
1
answer

DATAGRID with empty rows

what I want to do in C # is to call a datagrid, to show me a series of rows (the amount I define in each case) empty to make the form more presentable and then I work in each of the cells thank you very much Pablo     
asked by 03.08.2018 / 19:04
0
answers

How to page GridView in Asp.net C #?

I have a gridview with a pagination, it works fine until page 9 but when I select 10 or more it sends me the error "The index was out of range, it should be a non-negative value and less than the size of the collection." I attach my code &...
asked by 28.07.2018 / 03:06
0
answers

Expander and DataGrid with c #, execute one event inside another

I expose my case, I have an Expander that starts closed, I expand it and with that I fill a DataGrid. My problem: When I click on a row in the DataGrid, I want the Expander to close, so I put in the event SelectedCellsChanged(object se...
asked by 13.06.2018 / 19:16
0
answers

DataGridView with property ColumnHeadersVisible false does not allow selecting cell CheckBoxColumn c #

I have a DataGridView which has no DataSource associated, but it is filled manually. With two columns: Column 1: seleccion Column 2: descripcion . dgrid.Rows.Add(new object[] { true, "ADMINISTRACIÓN"}); d...
asked by 18.05.2018 / 21:18
0
answers

Display MySQL records in a DataGridView

I have a database that stores records from a parent MDI Form, all right there. The problem arises when I require that the records of the BD, are shown in a DataGridView that I have inside a child MDI. I have corroborated different sources:...
asked by 22.04.2018 / 01:58
1
answer

I can not edit or delete

<!DOCTYPE html> <meta charset="UTF-8"> <?php $con = mysqli_connect("localhost","root","gue55me","invensoft") or die("conexion exitosa!"); ?> <html> <head> <meta chrset="UTF-8">...
asked by 12.04.2018 / 03:46
0
answers

AgGrid: Take out 2 different Services in a Master / Detail

I am showing in an AgGrid the data of a project.json and the rows are seen correctly. Showing your Master / detail Same .json does it right ( Without doing an http.get) The problem comes when I want to show the Master / Detail of a .Jso...
asked by 02.05.2018 / 17:47
1
answer

be done and deserializar json then load it in DataGridView

I'm serializing and I want to undo a datagridview inside and I can not find the way .. private void Json() { string sql = @"SELECT cod, Format(fecha, 'Short Date') as fecha,...
asked by 12.03.2018 / 15:43
0
answers

Filter gridview data with a textbox and activate directory

private void loadGrid() { DirectoryEntry direntry = new DirectoryEntry(); direntry.Path = "LDAP://"; DirectorySearcher dirSearcher = new DirectorySearcher(direntry); dirSearcher.PropertiesToLoad.Add("givenName...
asked by 05.02.2018 / 22:29