Questions tagged as 'c#'

3
answers

Run .exe from the apache server

Good morning, I have an application which when clicking a button should open my computer's scanner, to start a scan, but I have several problems: PHP does not allow to connect from the server to the local computer (or if someone knows so...
asked by 17.01.2017 / 15:37
1
answer

Error webmethod with form

I have found why I get an error when calling a webmethod , and it is because of taking a variable of text that is inside a <form runat="server"> . The code of method is as follows: using System.Web.Script.Se...
asked by 10.01.2017 / 16:55
1
answer

How to recover a Mongo binary with C #?

I have saved images in a Mongo collection and now I need to recover that binary, my collection is called photos. These are my advances: string conn = "mongodb://localhost"; var client= new MongoClient(conn); var server = client.GetSer...
asked by 11.01.2017 / 06:00
0
answers

The service does not respond after a while in WCF + EntityFramwork

I have the following service: [OperationContract] [WebGet(UriTemplate = "Banks", BodyStyle = WebMessageBodyStyle.WrappedRequest, ResponseFormat = WebMessageFormat.Json)] List<BankModel> GetBanks(); public List<BankModel> GetBank...
asked by 10.01.2017 / 21:06
1
answer

Filter DropDownList data with another DropDownList

At the moment of selecting a data in the first DropDownList1 , in the second DropDownList2 , it will filter with an query of SQL and the new data will be placed in its list. At the moment I only have this method: public void d...
asked by 18.01.2017 / 16:32
1
answer

Inquiry about c # mvvm and patterns [closed]

For a while now I've been looking at c# , mvvm and wpf , and every time I get more into the subject I also lose more. I clarify that I love how the mvvm works and the theme of undocking things. I have read that it sh...
asked by 28.12.2016 / 22:44
0
answers

Where to login web, c # or javascript?

I have the following code to verify a CIF: namespace PortalClientes.Account { public partial class OlvidarContra : System.Web.UI.Page { protected void btn_enviar_Click(object sender, EventArgs e) { /...
asked by 30.12.2016 / 10:27
1
answer

Properties of the ToolStrip in C #

I would like to give properties to my ToolStrip options. That when passing the mouse for the options increase the size of the text ( Label ). private void requestmenu_MouseEnter(object sender, EventArgs e) { Label requ...
asked by 23.12.2016 / 20:25
0
answers

Error sending mail C Sharp

For 16 RAM servers I have no problems, mail is sent normally, but with servers with less RAM, I can not send emails. I have added the following as the waiting time but the problem persists. SmtpClient client = new SmtpClient();...
asked by 06.01.2017 / 04:18
0
answers

Oracle Entity Framework - map tables of different schemes

I have several schemes (ESQ1, ESQ2, ESQ3, etc) and each scheme is for a different context, but there are cases in which I need to access tables of different schemes, and at the time of mapping the tables I can only see the tables of the user wit...
asked by 05.01.2017 / 13:11