Posts by Tomaz Neto • 131 points
13 posts
-
3
votes3
answers27524
viewsA: Place button side by side
A tag does not apply <input> within a tag <a> and in this case it is only necessary to put the buttons in a table: <table border="1"> <tr> <td> <input type="button"…
-
0
votes1
answer355
viewsQ: doubts when mapping nhibernate
I have the following scenario: public class ExemploDTO { public virtual int Id { get; set; } public virtual List<PessoaDTO> Cliente { get; set; } public virtual ServicoDTO Servico { get; set;…
-
0
votes2
answers193
viewsA: Sorting Gridview event, do you doubt?
Good responding to myself rs.. I have reached a solution to this problem, I hope it helps other people who come across the same situation: protected void gvdNomeClientes_Sorting(object sender,…
-
1
votes2
answers2653
viewsA: Update page in a Simple Way
Hello, create a page with the contents to be updated, inside add: <head> <meta http-equiv="refresh" content="30"> </head> and on the main page add an iframe calling the page of the…
htmlanswered Tomaz Neto 131 -
0
votes2
answers216
viewsA: Leave click on A throughout the LI
try this: .duoBtsAnalise a { background-image: url("../imagens/duoAnalise.jpg"); background-repeat: no-repeat; background-position: center; width: 183px; height: 182px; float: left; font-family:…
cssanswered Tomaz Neto 131 -
0
votes2
answers193
viewsQ: Sorting Gridview event, do you doubt?
I have the following scenario in which I have a Gridview but when I want to order disbelief it is not ordering. goes below: protected void gvdNomeClientes_Sorting(object sender,…
-
0
votes3
answers517
viewsA: Create table without border
I would make a CSS class: .table{border:none;}
-
2
votes3
answers31765
viewsA: How do I place a background in a container in Bootstrap?
try like this: .container { background-image: url(img/sua_imagem.png); background-repeat: repeat; } in this case it would be a bg of a uniform tone, if it is an image ex: photograph, engraving,…
-
1
votes4
answers6715
viewsA: How to clear form fields in c#?
Utilize TextBox1.Text = string.Empty; if there are several do so: public void limpaCampos() { TextBox1.Text = TextBox2.Text = TextBox3.Text = TextBoxn.Text = string.Empty; }…
-
2
votes1
answer574
viewsA: Doubt when generating a. doc file with C#
With the help of gypsy-Morrison-Mendez and using the library Docx v1.0.0.14 I solved the problem as follows: public static void gerarRelatorioAtoDoc(string texto) { string fileName =…
-
1
votes1
answer574
viewsQ: Doubt when generating a. doc file with C#
The below method downloads the document that is generated dynamically, but when the file opens it shows a file conversion option, leaving the item marked by default Unicode(UTF-8). What to do not…
-
0
votes1
answer438
viewsA: Panel can’t give a Visible=true on it
Apply true Visible to page load if(!Page.IsPostback) { pnlGrupoCota.Visible = true; }
c#answered Tomaz Neto 131 -
1
votes5
answers8743
viewsA: Center a form vertically
put the form within a new div. <div class="nova"> <!--aqui vai seu html--> </div> <style type="text/css"> .nova{width:800px;height:auto;margin: 0 auto;} </style> Be…