Posts by Márcio Cristian • 399 points
16 posts
-
2
votes1
answer28
viewsA: Select not to duplicate information
In this case, you can use SELECT DISTINCT, for example: <select class="form-control" id="inserir_fabricante2"> <option value="" ></option> <?php $query_d = "SELECT DISTINCT…
-
1
votes0
answers113
viewsQ: Visual Studio 2017 only recognizes new code if restarted
Good guys, I’m having a problem with VS 2017 when compiling or even when pulling a code via Git... VS 2017 only recognizes the new code if I do some of the following: close and open it again, insert…
-
4
votes1
answer67
viewsA: Common events?
If I understand correctly, you want to associate a same event to N different Abels, right? If this is it, I believe the code below will give you at least one light. Example: void…
c#answered Márcio Cristian 399 -
1
votes1
answer43
viewsA: Runs splitting over and over
Good guys, I managed to find a very interesting answer on stackoverflow gringo where it said that variables of this type can cause problems, because Openxml separates texts like this, which have…
-
0
votes1
answer43
viewsQ: Runs splitting over and over
Good guys, I’m having a problem that is disturbing me a little, I’ve searched about and found nothing to help me. I’m researching certain variables in one Word Template to be able to perform a…
-
1
votes2
answers168
viewsA: Security failure (PHP, JS, API, MYSQL)
According to the code, you are missing to use Session and validate on the page if Session exists, and if it exists, you allow the user to pass. NT: You need to startar a Session first of all in…
-
0
votes1
answer540
viewsA: Losing Session after Request
Good guys, I just needed to change the httpRuntime to make it work. Apparently the application for some reason, updated the web config. and that made the pool of IIS restarted every time a new…
-
0
votes1
answer540
viewsQ: Losing Session after Request
Good guys, I have a problem that so far could not solve. It only starts to occur after a ajax request, in which I submit a document and return to url in a json, to be caught in the javascript, be…
-
1
votes1
answer940
viewsA: Naval battle program c#
So you can do it in different ways... There may be easier way, but I would do it in a Datagridview, using Rows and Columns to make the map. To fill the map with the proper ships, you can create…
-
2
votes1
answer514
viewsA: How to put subtitles at the bottom of the Chart?
According to this reply, just set the Interval = 1, because it will force the display of Labels regardless of the sizes. Ex: ChartID.Areas("myChartAreaName").AxisX.LabelStyle.Interval = 1…
-
3
votes1
answer98
viewsA: Winform - Tabcontrol bug with Metroframework
I finally found the solution... What happens is that there must be some error related to Metrotabcontrol, then the solution found basically says that you have to fill the Tabpage with a…
-
0
votes0
answers82
viewsQ: Metroframework - scrollbar only style after click event
Good guys, there is a bug in the layout that when I load the Grid, the scrollbar (horizonal and/ or vertical) is not stylized until after some click event. For example: Scrollbar before the event:…
-
3
votes1
answer129
viewsA: How to use loop for?
If you are creating at runtime, the code would have to be like this: for(int i = 0; i < 10; i++) { var metrotile = new MetroTile(); metrotile.UseCustomBackColor = true; //aqui vc adicionaria em…
c#answered Márcio Cristian 399 -
6
votes1
answer98
viewsQ: Winform - Tabcontrol bug with Metroframework
So I’m having a little problem when I use Tabcontrol customized by Modern UI Metroframework. It turns out that a bar appears on the upper left (scroll bar) and only disappears if I click on it. Ex:…
-
0
votes0
answers96
viewsQ: Windowsform - How to add two Datagridviewbuttoncell in the same Ell?
Is it possible to add two Datagridviewbuttoncell type buttons in the same cell in a Datagridview? I’ve done a lot of research and so far I haven’t been able to find any solution. Edit 1: For…
-
4
votes1
answer155
viewsQ: Is Visual Studio 2013 compatible with SQL Server 2014?
I connected the SQL table with Visual Studio, but at the time of moving the table appeared a message saying that SQL Server was not compatible. If not, I’ll have to download another Visual Studio or…