Questions tagged as 'c#'

1
answer

Error: Build Solution - Visual Studion

When trying to build the solution VS2013 presents the following error: Error 1; Could not copy the file "obj / Debug / Win8AppBoX.exe" because it was not found. I noticed that the .exe file is deleted from the folder at the time of the...
asked by 14.06.2014 / 19:34
2
answers

Error adding value sum into the footer of a gridview

I'm trying to include in the footer of a gridview the sum of two columns, but I'm having trouble creating the method that performs this function. I have already set the ShowFooter property to true , now I have to implement...
asked by 16.06.2014 / 04:54
2
answers

When concatenating in LINQ I get error

I made this LINQ. In the concatenation between DDD and phone number, which I call phone1, it is flicking. var agendamento = ( from pdv in db.T_PDV from tarefa in db.T_TarefaParceiro.Where(trf => trf.CNPJ == pdv.CNPJ).DefaultIfEmpt...
asked by 16.06.2014 / 20:54
1
answer

List Human Interface Devices using C #

I'm having trouble figuring out how to list and access a device on the PC, remembering that although the input is USB it's recognized as an HID human interface device type mouse or keyboard. > I've already seen several and several of the mos...
asked by 30.05.2014 / 22:13
1
answer

Connection via PHP to a SQL Server 2012 database

My problem has some variants: I have a website built on joomla, which is hosted on a linux server. The administrator where I have hosted my website, has informed me that will not install any php extension, so as not to get conflicts or pro...
asked by 05.06.2014 / 16:44
1
answer

AjaxToolkit and HtmlEditorFieldExtender. Content Demo

<asp:TextBox ID="txtDescricao" runat="server" TextMode="MultiLine" Rows="5" Width="100%" Height="100%"></asp:TextBox> <asp:RequiredFieldValidator SetFocusOnError="True" runat="server" ControlToValidate="txtDescricao...
asked by 03.06.2014 / 14:27
1
answer

Doubt about insert in bank with foreign key using linq

I have a question, how to insert data into a mysql table, using linq, I have the tables below: I'm using the method below to insert: public void inserirCarteira(float cpf, string codigo, double valor, int quant, double vtotal) {...
asked by 11.06.2014 / 04:12
1
answer

Append the items to a dropdown control attached to a database

I have a dropdown control attached to a DB and wanted to add an item to force the user to choose an option. How can I add another item (choose / select / --------) to the control in order to force the user to make the choice? I have...
asked by 04.06.2014 / 04:32
1
answer

How to convert address in coordinates in Windows Phone?

I need to create a route on the Windows Phone map. The place of departure is the location of the phone, which I capture through the Geolocator and Geoposition classes. The place of arrival is an address already premeditated, but will not be in c...
asked by 30.05.2014 / 03:37
1
answer

How to correct the error: Schema specified is not valid

I modified the DB for my project and did the update of my edmx file, but now when I try to compile the error is appearing:    No Entity Framework provider found for the   ADO.NET provider with invariant name 'MySql.Data.MySqlClient'.   Make s...
asked by 31.05.2014 / 23:44