Questions tagged as '.net'

1
answer

There is a duplicate section 'system.web.extensions / scripting / scriptResourceHandler' defined

I downloaded a project, and I wanted to import it into my pretty much everything, but by copying and pasting your webconfig into mine, that's when I run: Há uma seção 'system.web.extensions/scripting/scriptResourceHandler' duplicada definida...
asked by 21.02.2015 / 23:24
1
answer

How do I know if a function was called by another form?

How do I tell if a function has been called by another form? For example: On my form 1, I have a method that calls another form: private void btnFormulario2_Click(object sender, EventArgs e) { frmFormulario2 frm2 = new frmFormulario...
asked by 17.11.2014 / 14:45
1
answer

String translation problem in Timespan

In the system I am developing a user sends me a TimeSpan via Post, but when I get the String it should be TimeSpan and I apply a TimeSpan.Parse it gives the error:    "Could not parse TimeSpan because at least one of the...
asked by 19.11.2014 / 12:08
1
answer

Parameters of SqlCommand and ExecuteReader [closed]

I can not get values from the database and direct a form according to what "profile" is in the users table, if I take the% login , however, I need to verify the user's profile, my code looks like this: using System; using System.Collection...
asked by 23.12.2014 / 01:11
1
answer

WebService REST request POST error

When ordering from POST, I get this error message: O servidor remoto devolveu um erro: (400) Pedido incorrecto. IService is defined as follows: [WebInvoke(Method = "POST", UriTemplate = "insert/?id={id}&v={v}&dt={dt}&qt={qt}"...
asked by 28.03.2014 / 18:22
2
answers

execute / call a page remotely

I want to run a remote page, I do not care what this page does, I just need to run it and expect it to load 100% to run another, and so on. I do not need to retrieve any information from this page. Can be in Windows.Form, Console App. with...
asked by 27.03.2014 / 15:40
2
answers

How do I get the BitRate Mode from an MP3 in C #?

The audio that I have is CBR (Constant bit rate), VBR (Variable bit rate) or AVR (Average bit rate), I tried to use ffmpeg, but it does only the conversion does not return me the mode information of the bitrate?     
asked by 31.03.2014 / 23:24
1
answer

Query Dynamica Linq

I need to create a dynamic query, in which the% L DayOfWeek.Monday variable is dynamic, how can I define it? DataClassesPDataContext pe = new DataClassesPDataContext(); var qry = from p in pe.R join q i...
asked by 03.04.2014 / 10:25
1
answer

How to change settings for a binding Source?

How do I run an application that is binding to a local database to use binding on any machine.     
asked by 31.01.2014 / 12:31
2
answers

.NET Code Protection

I have a C # application that I developed, it will be installed on multiple clients. The problem is that I have to protect the code of the application, because I did some tests with the application ILspy and all the source code is exposed. Anyon...
asked by 20.07.2016 / 19:42