Questions tagged as 'c#'

0
answers

Report in Master View-Detail Report with Text File

I am developing a Report View of the master-detail type. The data source for this report will be a text file. The problem is that in the detail part is repeating the same data several times. I'll leave a link where the project can be downloaded....
asked by 20.06.2018 / 03:09
1
answer

How to generate a report in excel with tables in a database using C #?

How to pass data from a query to the columns and rows of a worksheet in excel? Example: OleDbDataAdapter oda = new OleDbDataAdapter("select * from usuario", conexao.cn); DataTable dt = new DataTable(); oda.Fill(dt);...
asked by 01.07.2018 / 17:12
0
answers

The ViewData item that has the key 'CategoryId' is of type 'System.Int32' but should be of type 'IEnumerableSelectListItem'

When I create a new subcategory I have the following error:    The ViewData item that has the key 'CategoryId' is of type 'System.Int32' but should be of type 'IEnumerable'. Classes you are using: public class SubCategory {...
asked by 01.07.2018 / 21:12
0
answers

Clean Fujitsu Fi-7160 scanner buffer in C #

I'm working on a Company project, C # Windows Form and I'm still new to the dot net platform. I would like to know with my friends, if there is any way I can clean the buffer of the Fujitsu Fi-7160 Scanner, after scanning about 1500 sheets, beca...
asked by 01.07.2018 / 19:44
1
answer

Generate a single page with all the records

I have a query that returns me a list with objects. From this list, I go through each position, define some parameters of the objects and return to a view . What I'm trying to do is: Scroll through all positions in this list and generate...
asked by 06.06.2018 / 21:54
0
answers

Adding items from one grid to another

Can anyone help me? I have a problem as follows I'm using two grids The first one loads a list of items in which, when selecting a record, I add this selected record in the other grid Until then everything works But in the second grid I...
asked by 09.06.2018 / 18:38
1
answer

Change a value of a property after the aspnet

I have all CRUD done, but I would like it when I click the approve button in my View where you are listing the Registered data, just change the Location property. I put it by default, so it always gets "Pending" in the ActionResult Registra...
asked by 06.06.2018 / 20:06
0
answers

Printing non-printer direct with ReportViewr

private void btn_ok_Click(object sender, EventArgs e) { this.LaudoTecnicoTableAdapter.Fill_LaudoPS(this.DSLaudosPS.LaudoTecnico, txt_lote.Text); this.LaudoTecnicoComplementoTableAdapter.Fill_LaudoCom(this.DSLaudosPS.LaudoTecnicoCompleme...
asked by 12.06.2018 / 13:48
0
answers

ReportViewer - Error, how to fix?

I would like to know what the solution to this problem is, I'm breaking my head about reportviewer    Error - Schema information could not be retrieved for the table or   the sam exhibition. What could it be?     
asked by 03.06.2018 / 18:59
1
answer

c # Change control properties of another file

I have 2 forms (the login and the program) by the login of the person I have that one of the 2 panels (inside the program has 2 panes for each type of login: adm and official) go ahead however Login.CS I'm not able to pull the panels in place to...
asked by 07.06.2018 / 21:47