Questions tagged as 'asp.net'

1
answer

Can you create 1 Visual Basi C # and 1 Web Form in ASP.NET?

I am starting to "program" in ASP.net and the question arises as to whether 2 different Web Forms can be created, that is, each with a "language", one with C # and the other with Visual Basic. And also know if there is much difference between...
asked by 04.06.2018 / 08:11
1
answer

open a new window by clicking on a button in c #

I am trying to create a new function for a web application that I have been creating in C #, what I need to do is that by clicking on a button called guardar , the action of saving the data is performed and apart from that opens a n...
asked by 08.06.2018 / 17:16
1
answer

asp.net mvc doubt with the conditional if with keys and without keys "{...}"

I have a question about what moments or parts of the code you can use a conditional if or another that can be written without the keys { ... } . For what I read this will depend on the amount of code that contains that conditiona...
asked by 09.05.2018 / 17:13
1
answer

Go to another page by pressing the button inside an iframe with Response.Redirect

I have a page called pagina1.html and inside it an iframe.In the iframe I have a form with a button that I want when I press pass from page1.html to another call pagina2.html that will contain another iframe with another form. To change the p...
asked by 20.07.2018 / 13:16
1
answer

How can I add this other property to my SQL Server query?

In ASP.NET WEB I am doing a search filtering for a table depending on the items you choose in 2 different dropdownlists. For now, I can make it work with one. SQLTable = "SELECT * FROM Mitabla"; SQLTable += "WHERE ID='" + Dropdownlist1.Selecte...
asked by 21.07.2018 / 05:42
1
answer

List data in ASP.NET view c #

I have the following method where I bring the data from the database //Traer categoria public List<categoria> listar() { var cate = new List<categoria>(); using (var ctx = new ACME())...
asked by 17.04.2018 / 05:43
3
answers

When I read an email, he does not read me some attachments. I use the IMAP protocol which contains the S22.IMAP dll

I have the following code, in which I use the IMAP protocol that contains the S22.IMAP dll: using (ImapClient client = new ImapClient(imap, 993, usuario, psw, AuthMethod.Login, true)) { foreach (var uid in cl...
asked by 27.03.2018 / 19:55
3
answers

How to get data when you go through a GridView For Each vb.net asp.net

I want to get the data that I'm going through in a GridView For Each Fila As GridViewRow In GCURSO.Rows ceEvaluacion.CursoAlumno = Fila.Cells(0).ToString Next But when using Fila.Cells(0).ToString I do not get the data. Thanks....
asked by 17.03.2018 / 16:25
1
answer

Validate login with JavaScript and ASP.NET

What happens is that I have been trying to validate a login but only validating the password since it is not necessary for the user to use it. I'm doing everything on the client side with javascript in ASP.NET but since I'm new to javascript, I...
asked by 05.02.2018 / 09:16
1
answer

Compare values obtained from the same query

I'm new to C #, I'm doing a web application in VisualStudio 2015, with ASP.NET MVC5 and EF6. I need to compare the values that a linq query throws at me, normally I would do it with a two for , one within the other, although maybe they can...
asked by 15.03.2018 / 15:18