Questions tagged as 'c#'

1
answer

How to install SharpDX.XImput on another computer

I just finished a program which uses SharpDX.XImput and to share it I copied directly the folder debug that creates Visual Studio when compiling the program. On my computer the program runs without any problem but when I...
asked by 11.11.2018 / 13:40
0
answers

ProgressBar in WPF

I am developing an interface with WPF and C # that searches recursively and shows all the files that have a certain extension within a certain directory selected by the user. I already have this part ready and working correctly. What I want now...
asked by 08.11.2018 / 16:55
1
answer

SQL Server connection from xml file

my question is this I must pass my current connection string, which is this: internal Clsconexion() { cadena = ConfigurationManager.ConnectionStrings["ConSicap"].ConnectionString; } But they ask me to improve it and pass...
asked by 14.11.2018 / 13:44
1
answer

How to display the data of a query in a gridview

I'm doing a project and in a part of the project I need to see a gridview and select what I'm going to do. I already got him to show me the complete table. protected void buscar_Click(object sender, EventArgs e) { string s = System.Configu...
asked by 09.11.2018 / 04:25
1
answer

How to save the data of a tags?

I'm doing a practice, I can not find how to take the values and then send them by ajax to the controller, I'm working with C # MVC, I have these tags now what I want is to save those tags in a variable but not as; this is the rest     
asked by 06.11.2018 / 06:07
0
answers

I get this error The playback failed to find the control with the given search properties

public HtmlButton UILoginButton { get { if ((this.mUILoginButton == null)) { this.mUILoginButton = new HtmlButton(this); #region Search Criter...
asked by 05.11.2018 / 14:28
1
answer

'Error in the XML document (2, 2).' Not expected info xmlns = ''

Performing the example of this thread I find an error when deserializar the object location and room: static void Main(string[] args) { Location locations = new Location(); Room rooms = new Room(); X...
asked by 09.11.2018 / 16:51
0
answers

error start with application C # mvc 4

I have an application created with the MVC 4 template with Visual Studio 2012, which after creating it, gives me the following error Server error in the application '/'. Access denied. Description: Error accessing the resources needed to com...
asked by 09.11.2018 / 15:38
1
answer

How to replace empty spaces in a doubles array? - C #

I hope you can help me with a problem I have in c #. I'm creating a program for pseudorandom numbers, and all these numbers are stored inside a doubles array. The problem that I present, is that once I execute the program, it tries to look insid...
asked by 04.11.2018 / 19:25
0
answers

How to decrypt a string

Hello everyone I have a function that encrypts the password using sha1, and makes it perfect, what I do not know now how to decrypt it, someone could help me, this is my code to encrypt: public static string EncryptPassWord(string passwd)...
asked by 06.11.2018 / 02:04