Questions tagged as 'windows-forms'

3
answers

Error updating in windows form

could help me with this error when wanting to update the data private void btnactualizar_Click(object sender, EventArgs e) { int resp; asignarDatosObjeto(); resp = CATCAD.Actualizar(CATCRN); if (resp...
asked by 20.09.2017 / 00:24
1
answer

Error of type System.ArgumentException with MDI forms

I'm doing a program in visual studio, the problem I have is that I get the following error:    Unhandled exception of type System.ArgumentException in    System.Windows.Forms.dll       Additional information: The form specified as MdiPare...
asked by 23.10.2017 / 22:32
1
answer

Find and check checkbox of a node in a treeview

I have a treeview with all the directory and file structure of the PC where the application is running. When I start, I get a list of strings with several routes, for which I need to find the treeview node corresponding to each of them and mark...
asked by 12.07.2017 / 14:28
2
answers

How to use the text stored in one variable as the identifier of another variable [closed]

There is some function that I can use to tell the program that the text within a variable is a reference to an object that I want to instantiate so that it looks for that object using that text as an identifier of it The language I'm using is...
asked by 19.08.2017 / 05:28
2
answers

Show values of a List in Labels

I want to show the values that I get from a query, I keep them in a 'List' but it does not show me anything: private void getValues2() { List<string> list2 = new List<string>(); cn.Open(); SqlCommand cmd = new SqlComman...
asked by 14.06.2017 / 22:11
1
answer

Visual Studio. Notify when a property of an object is being modified

I would like to know if there is any configuration option or something to do debug on an object when it is being modified, I do not mean an object created by the user since that is easy to encapsulate the properties, I mean for example if the te...
asked by 22.05.2017 / 10:56
1
answer

I need help with a project in C #

Good, I'm doing a project in windows form and what it does is upload an excel file pass the data to a dataGridView and save them in a MySQL database, the problem is that this excel shows data of a cycle of 4 months and this is the last month the...
asked by 10.05.2017 / 02:35
2
answers

Sum in real time Textbox

As I can perform a multiplication in real time of two textbox and show the result in a third textbox, I'm doing it this way but the result does not come out. private void txtPrecioUnitario_KeyPress(object sender, KeyPressEventArgs e) {...
asked by 15.09.2017 / 00:08
2
answers

Export Excel multiple asp c #

Good I would like you to help me I'm doing an export of an excel but with a multiple checkbox because one by one if I export but when I select two or more just throws me an excel. since I do not vote any error but I want that when you select sev...
asked by 28.03.2017 / 02:02
1
answer

Error in cycle For, take me out without warning

Currently I have an image fix of PictureBox and I want to go through it to apply an image to the images that are after this month, each image represents a month and I already made the cycle for : Cycle for : for (int MesE = Conv...
asked by 08.03.2017 / 00:36