Questions tagged as 'c#'

1
answer

Filter in DataGridView c #

I have a DataGridView whose DataSource is a DataTable with an already defined schema, it has 6 columns, Id , Computer_name , Serial , ... What I want to do is filter this DataGridView and show me only the rows that meet my conditi...
asked by 16.11.2017 / 01:31
1
answer

Links or Controllers

Design a web page, with boostrap, in fact download a template. I have a menu, Home, Us, Team, Contacts, etc. <li><a href="#about" >Nosotros</a></li> The problem is that this menu is part of the main template, _Lay...
asked by 18.12.2017 / 00:36
1
answer

Generate controls by programming C #

I want to generate textBox or listBox by pressing a buttom on a selected form. (From the secondary to the Principal). through Codigo, It consists of generating notes and adding them in a TabControl, which contains a TabPage, in this desire to ad...
asked by 30.11.2017 / 06:45
1
answer

Web services c # + java

I am trying to use a web service created in c # from visual java. I'm trying to use them, but I get the following error:    incompatible when trying to convert from int to string type private void jButton1ActionPerformed(java.awt.event.Act...
asked by 29.11.2017 / 05:26
1
answer

Get a single row of the datagridview

What I do is get a row from another datagridview1 just send it to call the list of the other datagridview2 and place it in the datagridview1. What I want to do is get only one row from the list, not all the data. I'm working with 3 layers. this...
asked by 23.11.2017 / 05:01
1
answer

how to generate an asynchronous timer?

I need to control user sessions, for this reason I have thought about the login to ask if there is any session in the database related to the user that is being achieved. If an active session exists, you must ask if you want to change it (if...
asked by 20.11.2017 / 18:34
1
answer

How do I insert an excel in a sql server table without inserting repeated data in the table?

someone could help me with something that has been stuck for some days, what happens is that I have to insert the records of a document in excel in a table in sql server, but I have to verify that the records that I insert, do not repeat with th...
asked by 03.01.2018 / 23:43
2
answers

Collect the exception value in numericUpDown

I have several controls of type numericUpDown, the fact is that each of them has a minimum value and another maximum value by default. The user has a keypad where he presses a button with a number from 1 to 9 and a special button to erase the la...
asked by 03.01.2018 / 13:05
1
answer

Store file in SQl Server 2008 database AJAX C # ASP.NET

I am developing this part of a page where I need to save a file (.xls, .docx, .png, etc) on a SQl Server basis, too I need to get the properties of this file as its name, type, size; I think I almost have it, but I still get this error from...
asked by 01.11.2017 / 19:17
2
answers

How to pick up a thread when it falls?

I have a thread that controls another thread, the problem is that I need the other thread to restart every x time and when I try to start it again I can not make it start.    System.Threading.ThreadStateException: 'Thread running or terminate...
asked by 30.10.2017 / 12:53