Posts by d-aguilar • 426 points
9 posts
-
1
votes1
answer182
viewsA: Doubt WPF C# - Setfocus on a Text and leave a button disabled
You access the XAML elements by the same name given to the element in the property x:Name. In this case the element names are button01, txt01. Therefore, to disable the button and put the focus in…
-
4
votes4
answers3300
viewsA: How to make Youtube embed responsive on the site, when opening want Width appear 100%
Using the fitVids library, you should select via jquery the parent element of the iframe that will be responsive. In the documentation it is possible to obtain more details of use, such as ignoring…
-
3
votes1
answer353
viewsA: No effect works CSS
You must set the yellow color for the child element (which in your case is the a element), inside the div with the icons_moveis class. .icons_moveis a:hover{ color: yellow; text-decoration: none; }…
-
7
votes2
answers5707
viewsA: Using single option with radio button
The name of the inputs must be the same. See the example below: <div> <label> Base Anterior <input id="ant" name="base" type="radio" value="S" /> </label> </div>…
-
4
votes1
answer864
viewsA: Browse HTML page and search for links
See if this example using jQuery suits you. Get all links in the address (href) to string "https://site.com/imagens/". With the object of the links you can do whatever you need. In the example…
-
1
votes3
answers2592
viewsA: Switch when hovering the CSS mouse
nav#menu ul{ list-style: none; text-transform: uppercase; position:absolute; top: -10px; left:…
-
0
votes1
answer2364
viewsA: The template item inserted in the dictionary is of type 'System.Collections.Generic.List`
The problem is because it is not possible to convert a List to the Ienumerable type implicitly. You should change your Patient.Getall method (converting the List to Ienumerable type return) or the…
-
0
votes1
answer473
viewsA: Pass Combobox Value to Parameter
You should use the replace the excerpt below: param.Valor = cmBSimNao.Text; For param.Valor = cmBSimNao.SelectedItem.ToString(); Selectedit property obtains or defines the selected item. See…
-
5
votes3
answers6315
viewsA: How to make an "Insert" with Dapper using a class?
Try using the Dynamicparameter public class Teste { public int id; public string nome; public int idade; } //Necessário referenciar o Dapper na sua classe que faz o insert... using Dapper; //No seu…