Questions tagged as 'c#'

2
answers

expiration time window form c #

Good I know that they are going to close the question to me or it is going to be terrible: I would like to ask you a question, I do not know if you can place in window form in c # to the program an expiring time that is to say. If I create my sy...
asked by 06.04.2017 / 23:22
1
answer

Microsoft Project Oxford (Face API) - Add a Person Face

I am new to C # and also on this site. I am testing the Microsoft API called Face API , however, I can not do the following program in C #, which is in the following web page . I created the group, and I have also created three people,...
asked by 03.04.2017 / 18:54
1
answer

How to create a ListView in WPF with groupers and element counter in each group?

Based on this tutorial I created a ListView with different groupers. But I need to show the amount of elements within each group and the description of each, I am not allowed to use the generic word "Element (s)" in the groups, it has to be...
asked by 05.04.2017 / 01:15
1
answer

Validate Image when displaying asp.net

I'm doing a sample of an image stored in a SQL Server database but as a search, I explain to you to show you have to search by a date and an office. And when it finds it is shown. The truth if I get to leave but when in the search is not the ima...
asked by 30.03.2017 / 00:16
0
answers

Error trying to access a file in XP

private string obtenerMD5(string sArchivo) { string sMd5 = ""; Process compiler = new Process(); compiler.StartInfo.FileName = "c:\sys\progs\md5 "; compiler.StartInfo.Arguments = sArchivo; compile...
asked by 30.03.2017 / 17:16
1
answer

Sockets Xamarin Android

I wanted to ask you, yes Does Xamarin Android support System.Net.Sockets'? I have tried it in the following way (this is a part of the code) IPAddress ipAd = IPAddress.Parse("192.168.1.4"); // use local m/c IP address, and // use...
asked by 27.03.2017 / 02:38
1
answer

Send data to the controller

I defined a default value in a form that I have in a view (@ Value="afar1793") and I set it disabled so that it could not be modified but when it gets to the controller it becomes null. I have this in my code: View: <div class="form-g...
asked by 26.03.2017 / 23:33
1
answer

Datetime C # - Timestamp Postgresql

I have a problem inserting the date in PostgreSQL, I have the following: parametros.Add("descripcion", this.descripcion); parametros.Add("fecha", this.fecha); parametros.Add("estado", this.estado); Program.da.SqlQuery("insert into schtiempos....
asked by 26.03.2017 / 14:11
2
answers

How to Count The repetition of a Word in C # [duplicated]

Hello Good afternoon, I have tried several ways to find a way to tell the most repeated word in a sentence and I can not solve it. Console.WriteLine("Ingrese una frase: "); String texto = Console.ReadLine(); What was the most repeated w...
asked by 25.03.2017 / 16:08
1
answer

problem GridView

LíneaFactura idLineFactura amount ProductID product ProductID name reference unit price idCategory SELECT L.cantidad, P.nombre , P.precioUnitario, (L.cantidad * P.precioUnitario) as precioSubTotal FROM lineaFactur...
asked by 14.04.2017 / 23:01