Questions tagged as 'c#'

1
answer

Pass data from an object created in a secondary form to another formprincipal?

I need to run a program in C # that has a MainForm, with a list of customer data and a button to add customer data. In turn if I click on this button, I should open another form where you can enter customer data, click accept and then close the...
asked by 02.06.2018 / 17:32
0
answers

When the cookie expires, it renders a view within my form when making a post. Why is this happening?

I have the following problem, which is not why it happens or how to fix it. Next I expose the case. I have a web application built with asp.net mvc5 which has a cookie that lasts x minutes, at the time of expiration and is about to submit som...
asked by 31.05.2018 / 20:59
0
answers

Send mail from HTML form, C #

I have a problem sending an email from an html form, I have my credentials for sending, the problem is that when I get to the "smtp.send (mail) part"; an exception is generated, and the error message is empty, that is the reason why I do not ide...
asked by 30.05.2018 / 18:34
0
answers

block input submit consulting a bbdd

I have a question as to how I can make an input that is making me submit to be blocked until a check is made on a previous page that I have? In simple words I am saving a form that is going to be saved directly to the DB and if the origin is...
asked by 30.05.2018 / 19:04
0
answers

Access components of a scene from another scene

In a game I'm doing, I have two scenes defined: 1.- start : has several panels, to show a basic options menu (run game, configuration, credits, exit). These panels have 50% transparency 2.- game : The game itself. Among other things, it...
asked by 30.05.2018 / 18:06
0
answers

How to load a dataGridView linked to data (DataTable) that already has columns and sizes defined by code?

When executing the program, the DataGridView is loaded with the linked data, but after the sixth column ... which causes only the empty rows in the DataGridView to be seen ... Here goes the code: private void CargarGridDetalle(){ Detalle d...
asked by 30.05.2018 / 21:40
1
answer

Get array of a sqlite table

Oigan I wanted to ask you how to individually obtain the objects of a sqlite table, essentially I need to obtain the date of this appointment to compare it with the current date, but I have problems to fetch this data ... What really interests m...
asked by 21.06.2018 / 17:49
0
answers

PDF to Word with code

Good day, I've been looking for a lot and I could not find any reference code to convert PDF to Word, all I find are DLLs that are usually paid (between 500 and 100 dollars). So I would like to know if anyone has knowledge of how I can do the co...
asked by 21.06.2018 / 18:41
0
answers

How to Concatenate DataGridView cells to export to Excel? C #

Good day, I want to export a DataGridView to an Excel file, I just want to accommodate the columns in a different way to how it appears in my DataGridView. I hope you can help me. This is my code: namespace ImportarExcelToDatagridview {...
asked by 31.05.2018 / 00:01
1
answer

Create a matrix and find the largest value of each row and column

I have a question in a program Basically the program says the following: Finding the largest value of each row, of each column and the largest of the entire matrix, is a 4x7 matrix. Actually the program is a menu with more options but I already...
asked by 31.05.2018 / 00:55