Posts by Miguel • 15 points
7 posts
-
0
votes1
answer28
viewsA: Good Morning, I made this code to register a user, but I wanted that each time he inserts into the text box an already registered email that he indicates
I never wrote php, but I think the logic will be this: $emailList="Select email from utilizador"; if($email = $emailList ){ echo "Email já inserido" } else{ $insere="Insert into…
-
-4
votes3
answers229
viewsA: Convert the string "5.541.00" to int in C#
Conversion is not working because it does not detect the value format, so try: string ii = "5541.88"; float value = float.Parse(ii, System.Globalization.CultureInfo.InvariantCulture.NumberFormat);…
-
0
votes1
answer17
viewsQ: Do not select any dropdownlist value
Hello I have the following dropdownlist: @Html.DropDownListFor(m => @item4.Status, new List<SelectListItem> { new SelectListItem { Text = "Sem malha", Value = "Sem malha"}, new…
-
0
votes1
answer50
viewsQ: How to put an ID in a variable? ASP.NET MVC
I currently have a view where a Table(Orders) is being loaded another table(Colors) I want each order to be a list of the color that has the same ID as the order. My Tables: public partial class…
-
0
votes1
answer30
viewsA: I need help because I don’t understand why my code isn’t performing date filtering. ASP.NET [Solved]
I finally made it! Nothing like simplifying I leave the code below for those who need to create a search between dates. public ActionResult Index(string startdate = null, string enddate = null) { if…
-
0
votes1
answer16
viewsA: Table edges disappear in printing
Hello, this happens because the function will only print the values for printing, and not the borders because it is part of the code . css . The best will be to search for a converter to generate a…
-
-2
votes1
answer30
viewsQ: I need help because I don’t understand why my code isn’t performing date filtering. ASP.NET [Solved]
When I do the filtering, no value is returned to me my view index page I think the problem is in my Actionresult index, but I don’t know what it is, because I think the references are correct. What…