Questions tagged as 'c#'

0
answers

HTTP POST for Invoice

Expensive, Good Afternoon. I need to send an XML via post to the webservice function of Nota Fiscal Paulistana. However, the XML is correct, it just returns a message that is very generic, so there is not much to say to you. I'd just like you to...
asked by 03.02.2016 / 19:59
0
answers

Admob not working in unity?

Imported the plugin as admob site , plugin link I used the following code to test using System; using UnityEngine; using GoogleMobileAds; using GoogleMobileAds.Api; public class GoogleMobileAdsDemoHandler : IInAppPurchaseHandler { p...
asked by 29.01.2016 / 16:12
1
answer

Receiving Database Search with SQL Reader

Facebook is a class where I store user information, but I do not know how to use ExecuteReader to get the information. Can anyone help me with this? (I'm new to C # language) public Usuario buscarUsuario(int id){ Usuario usuario...
asked by 10.03.2016 / 10:55
2
answers

Best way to retrieve data for a Datagridview?

What is the best way to retrieve data from a table directly to a DataGridView? I have a lot of doubts, because a lot of people do not recommend using UnitOfWork, which makes it much easier and makes the code much cleaner. var unitOfWork...
asked by 10.03.2016 / 21:04
1
answer

iis ado.net version

Good, I have the following code: private void AspNet35() { String sWebSite = "W3SVC/1"; DirectoryEntry site = new DirectoryEntry("IIS://localhost/" + sWebSite + @"/Root"); try { PropertyV...
asked by 23.03.2016 / 10:16
1
answer

How to perform a CRUD in C # with MySQL and ADO [closed]

I need to do the relationship between tables 1: N and N: N. Table produto : public int id {get; set;} public string produto {get; set;} public list<tamanhos> tamanhos {get; set;} Table tamanhos : public int produto_id...
asked by 23.03.2016 / 04:39
0
answers

Creating and Editing Dynamic Objects

Greetings galera. I have a "problem" and wanted some ideas on how I can solve it. My goal is to make a selection "animation" on several Buttons, so that when one of the Buttons is clicked, a Panel will be created on it (and, in case anothe...
asked by 08.04.2016 / 21:01
1
answer

Direct image upload in MySQL DB using C #

I'm creating a WEB application using C # and a MySQL DB. I need to upload an image to the Bank and then retrieve it. I am a beginner in this world, but what I have so far: IhaveafupCPFfieldthatreceivestheimage,thenIexecutetheInsertbelow:s...
asked by 08.04.2016 / 15:55
0
answers

Windows Phone: Sale with credit card

I need to carry out the sale with a credit card through my application. I would not like the customer to enter their data on the phone, the sale would be made in person. It does not serve the sale by a "little" "type" type of PagSeguro becaus...
asked by 19.01.2016 / 19:40
1
answer

Number of hits per page

Hello, can anyone tell me if IIS has some feature that I can see how many hits each page had?     
asked by 21.01.2016 / 14:41