Questions tagged as 'c#'

0
answers

Consume web service from c #?

Friends I have to consume a web service from c #, this web service was developed by an external company which gave me the methods to test them, from the postman probe program the web service and it works well. Now in postman in the body I have t...
asked by 06.02.2018 / 05:05
0
answers

Load Excel in DatagridView

using the package nuget ExcelDataReader v.2.1.0 Excel upload button: using (OpenFileDialog ofd = new OpenFileDialog() { Filter = "call_center|*.xlsx",ValidateNames = true }) { if (ofd.ShowDialog() == DialogResult....
asked by 05.02.2018 / 22:22
0
answers

Is it possible to run an .exe from a web service hosted on an iis server?

I wanted to know if there is any way to run a .exe from a web service c #, I have the service already done and working but I would like to add the code that is below to generate a file .txt . But I do not know if it is possible or i...
asked by 30.01.2018 / 16:33
0
answers

error "Access to the path 'MyPathLocal' is denied." when downloading an FTP file to Local c #

I have to download a file from an FTP server to Local, but this error appears: "Access to the path 'Path Local donde quiero descargarlo' is denied.". My code is this: public static bool FtpDownloadFile(string username, string password,...
asked by 26.01.2018 / 10:10
2
answers

How to create a table from C #?

I have an application in C # which I made a button, to create a table in my new sqlexpress I have seen some codes but I have no idea where I should declare them (I imagine that in my "create" button), and the next problem I see is to give my...
asked by 26.01.2018 / 09:39
0
answers

Security Wcf Authentication Username c #

I'm doing a web service with WCF of c # good when I run the service it appears like this and does not ask for any validation or authentication. I would like to put an authentication when you consume that service requires to request a...
asked by 27.01.2018 / 18:03
0
answers

Duda Try nested catch

My question is if I have a try catch inside another which prioritizes, an example: try { try { ... //aqui se da un error } catch {...
asked by 24.01.2018 / 20:17
0
answers

Doubt about element in digital signature

Someone knows: What value is the one that is encrypted to assign it to the EncapsulatedTimeStamp element? <xades:EncapsulatedTimeStamp Id="ETS-95964e2f-ce16-485e-a7a0-fd09ff0c0c36"> XXXXXXXXX </xade...
asked by 26.01.2018 / 15:34
0
answers

translate this code from c ++ to c #

Hi, I have problems translating this code to c # I do not know very well how to use the function or do the same as I do in qt. The code is as follows: QFile *archivo; archivo = new QFile(); archivo->setFileName(QApplication::applicationFile...
asked by 26.01.2018 / 16:14
1
answer

Show image in picturebox according to search criteria

public void ShowAssistanceInfo(string Name, string EmployeeNO) { try { string Path = "ruta donde estan las imagenes"; string[] filePaths = Directory.GetFiles(Path, EmployeeNO + "*.jpg");...
asked by 26.01.2018 / 17:48