Questions tagged as 'gridview'

2
answers

Problems with special characters in ASP.NET GRIDVIEW

I'm building a dynamic GRIDVIEW, where the information for each TD will be a DIV. exemplo: <td><div id="d1" class="redips-drag t1">z</div></td> I'm filling in the variant as follows: if (dtWorkServiceTimeByWorkerAn...
asked by 20.08.2015 / 13:06
1
answer

Change color of a Row when VB .Net expires

I have a database with the following tables: Data Emissão and Data Expira . So I want that when the date of Data expira is equal to or greater than Data Emissao , row change color to Vermelho and when i...
asked by 29.04.2015 / 20:36
1
answer

Gridview inheriting properties

In all my grid's I have to set many properties, I would like to know if there is any way to set properties only once in a single place. Grid example:     
asked by 27.08.2014 / 22:02
1
answer

load xml in gridview

In my project, I need to select an XML file from some HD folder and then read its contents and show it in a gridview. At this point, I can open the window to select the file , but I can not read that file and iterate over it and show the XML...
asked by 22.06.2015 / 19:22
2
answers

Put a GridView row with red color if a cell has the false value

I would like a particular row of my GridView to be red if the corresponding cell in the closed column is false. My ASP.Net looks like this: div class="GridMain"> <asp:GridView ID="gvInformationPeriod" runat=...
asked by 09.06.2014 / 16:15
2
answers

GridView ASP.NET c # data from the same table

I have the following table in SQL with the following fields (id, name, day, week, active). id the primary key of the integer type; name nvchar day week nvchar; active bit; and I have the following data in the table 1; Joseph; Monday 1; 2; Joseph...
asked by 21.03.2014 / 19:50
2
answers

Layout of images dynamically after photo is captured

How do I create a layout exactly like this (The layout is the same as the left and the right): I will explain how I intend to do this and if possible help me because I do not know how to do this: I'm browsing in my app and pressing a b...
asked by 08.05.2014 / 16:49
2
answers

How to set a GridView read-only line made with DevExpress?

I need to put the lines of my GridView as read-only. That is, I have a GridView that already contains some data, this data can not be edited, however I can add new lines, and these new lines can be edited. But I'm using the...
asked by 05.09.2016 / 20:20
1
answer

Retrieve the ID of a DataTable within a GridView

I'm trying to rescue the ID from my client that is in GridView , but I'm using DataTable to fill GridView . DataTable public DataTable SelecionarDT() { objDAO = new ClienteDAO(); DataRow dr; DataTabl...
asked by 28.04.2014 / 17:00
1
answer

Add buttons in the DataGridView cell

I'm developing a Windows Form C # activity control application for a company, however I would need to display the activities as buttons within the GridView cell. I've tried: DataGridViewButtonColumn uninstallButtonColumn = new Data...
asked by 08.01.2015 / 18:16