Questions tagged as 'datatable'

2
answers

If does not compare Char

I created in the codeigniter a helper for the datatable that would return an html with a bootstrap icon. Follow the function: function trata_check($valor) { $ci= & get_instance(); if($valor=='S'){ $html='<spa...
asked by 03.04.2017 / 02:34
1
answer

DataRow.Delete () command by row index not known

To remove Row from a dataGridView using DataTable I can use the DataRow.Delete() command but for example, in the code below it excludes a Row already known, and in this case I need to remove the% Row th...
asked by 08.03.2017 / 18:34
1
answer

DataTable with RowExpansion Editable not from Update - PrimeFaces

I have a DataTable that expands the line to an editable%, in the expansion it is possible to add items, by the "+ Item" button, everything is working correctly, but I can not update the table, added an item, it is already available for ed...
asked by 26.09.2016 / 14:31
1
answer

Get row reference in table with JSF (Primefaces)

I have a scenario that presents something strange and I did not understand the reason for this behavior. Using JSF with Primefaces, I have a Datatable with some (many) values that come from the Database and are displayed in the columns. My s...
asked by 23.09.2016 / 17:00
1
answer

Best method for finding values in a DataTable

In a unit of measure register, I have to check if the unit the user wants to register, if it already exists, then since I have a DataGrid populated by a DataTable , I thought of going through DataTable and check if it already...
asked by 18.08.2016 / 04:53
1
answer

Updating a datagrid with connection to mysql

I can not update a table from a database linked to a datagrid. When I change the data in the cells of the datagrid, although they appear changed during the debug, at the end the table is not updated. Does anyone know what's missing in the code?...
asked by 16.12.2015 / 11:22
1
answer

Report from DataSet created in a Class

How do I create a Visual Studio 2013 Report from a DataTable (or DataSet) created in a method? When fetching the Report.rdlc data source I reference the class where the DataTable is created, but it is not listed as DataSource. I tried to a...
asked by 10.09.2015 / 19:10
1
answer

Is it possible to use copyBulk with datatable to load data into DBMS?

I went through an experience of loading large data from a text file, which needed to be criticized before writing to BD. I used DataTable with copybulk. I realized that loading data into DataTable and later into DB was fast. I have received crit...
asked by 14.04.2015 / 23:47
2
answers

Why can not I load static data in JSF dataTable?

This is my class: package com.algaworks.pedidovenda.controller; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; @ManagedBean @ViewScope...
asked by 11.05.2015 / 17:56
1
answer

Handle the return of a line from a null Datatable

I am accustomed to developing in VB.NET and am starting a new project in C # .net with VS2013. I noticed that in many things there is an expressive difference in syntax and I came across an issue. How do I handle null values of a Datatable, afte...
asked by 31.12.2014 / 03:39