Questions tagged as 'c#'

1
answer

write an excel cell with a specific format in c #?

When I write a file with this code automatically occupies a "general" format to write it, the problem is that if I want to write numbers that start with 0 this automatically omits, for example if I want to write 0123445 I will 12345 as I can wri...
asked by 26.07.2016 / 01:56
3
answers

Can TCP client reconnect to the same port in a short time in C #?

I have a device in which you must configure your IP and port, and also the IP and port of the PC to which you want to connect and send the data, via TCP. The problem is that the device works as a TCP master and I must start the connection. And...
asked by 15.07.2016 / 07:57
2
answers

Error compiling PocketPC project

I have the following error:    Error 1 Registration or implementation error: 0x8973190d. Failed to open file '% CSIDL_PROGRAM_FILES% \ Microsoft SQL Server Compact Edition \ v3.5 \ Devices \ wce500 \ ARMV4i \ sqlce.ppc.wce5.armv4i.CAB'. Error...
asked by 27.07.2016 / 18:09
1
answer

TextBoxt KeyDown Event

I'm working with Visual Studio 2015, windows forms, the problem I have is that it does not enter the KeyDow event private void txtCondicionPago_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Return) {...
asked by 19.08.2016 / 08:28
1
answer

The origin of a Biding WPF can be updated

to see if they could help me. I have two TextBox each in a different class, and I need that what is written in one is shown in the other. The one that should receive the data, I have it in xaml: <TextBox x:Name="mTxtPuntosLocal" Text="{B...
asked by 18.08.2016 / 10:37
1
answer

Add references to Windows project

I just downloaded a project from the TeamFoundation and the project references are missing, how can I add them? I tried to install packages from the console and I get this error for example. Could it be that some feature of the Visual S...
asked by 07.10.2016 / 12:58
1
answer

Gridview c # does not show data

I have the following problem: I use a rest webservice to fill a list of employees. Then he used that list to fill a Gridview but at the time of running the DataBind he does not paint anything on the form: using System; using System.Collections...
asked by 27.06.2016 / 23:50
1
answer

put the values of the selected fields to null

I am in a project in mvc I have the following. <script> $(document).ready(function () { $("#selecctall").change(function () { $(".checkbox1").prop('checked', $(this).prop("checked")); }); }); </script> <table st...
asked by 23.06.2016 / 10:00
2
answers

I can not put a background image on my form .. in visual studio

This is the code for you to assign background in the designer: internal static Bitmap email_bg { get { return (Bitmap)RuntimeHelpers.GetObjectValue(AutoOffers.My.Resources.Resources.ResourceManager.GetObject("email_bg", AutoOff...
asked by 26.06.2016 / 14:13
1
answer

Giving value to a ListToken is it possible?

I get this error: Use of the local variable not assigned enumerator Code that gives error: private void offertoro_Load(object sender, EventArgs e) { List<JToken> list = JObject.Parse(System.IO.File.ReadAllText("offerids_offer...
asked by 22.06.2016 / 21:25