Posts by Diogo Sousa • 433 points
15 posts
-
2
votes1
answer32
viewsQ: MVC switch from partial view with select control
I am making an application where the user chooses an option and a different form is shown for each of these options. My problem is that when I change the option, I cannot change to the corresponding…
-
2
votes1
answer65
viewsQ: String Connection to access sql remotely
I have an SQL SERVER database on one desktop and I’m making a program on another PC that will access that database. I wanted to know how to mount my string Connection to access the database…
-
4
votes1
answer748
viewsQ: How to extract content from the Web (Web scraping) with C#?
I recently learned how to make web scraping and I got it on some sites, but others I can’t. I noticed that in some of the ones I can’t get there’s an "#", what that means? Let me give you an example…
-
0
votes0
answers61
viewsQ: Height of my website
Good evening, I made a responsive site and I was testing in Mozilla to see how it looked on mobile devices and it seemed all right, but when I put it on the air it did not look like I expected. This…
-
3
votes1
answer195
viewsQ: Menu for mobile
I’m making a website for the company where I work and I made a Multilevel menu. My problem is that when I open one of the levels, the last item does not appear and when I scroll what moves is the…
-
0
votes0
answers183
viewsQ: Connection to slow database
I have a program in C# that when I start and ask to show me the data entered in Sql Server takes time to open, but after this time is already faster. There’s a way for the first time to be faster?…
-
0
votes2
answers7693
viewsQ: Foreach in SQL to put a value in a variable
My problem is that I have a subquery that works perfectly, but for that I have to insert the id I want in the variables. In the variable @mediaKM_mes I select to the table tblAbastecimento by the…
-
2
votes1
answer118
viewsQ: How to put € symbol on Datagridview
I have a Datagridview with numerical values and some of them represent monetary values, but from the database comes only the number and wanted to put the currency symbol in front of the value. This…
-
1
votes1
answer112
viewsQ: Retrieve data from a created column
Good evening, I have a table with 4 fields and through them I do some calculations and create a new field to show these same results... The problem is that then I want to get those results and I…
-
3
votes2
answers5175
viewsQ: Copy a List to another List without dependencies
How do I copy data from one list to another in a way that is independent of each other? I have a list<> of a class I created where the data inserted in it, appear in a listbox, and I wanted to…
-
2
votes1
answer49
viewsQ: Sqlserver on a network
I have Sqlserver 2014 installed on my laptop and it is in it that I program in visual studio, but I also have a desktop on which is only installed the visual studio because I do not have much space…
sql-serverasked Diogo Sousa 433 -
2
votes3
answers257
viewsQ: Show property value instead of class name in Datagridview
I have a Datagridview that should show data between related tables and I can’t get it to show the data correctly, it shows the namespace name followed by the class name. I saw some things and showed…
-
2
votes1
answer1013
viewsQ: How to do date search through dateTimePicker?
How to search through a dateTimePicker (with Valuechanged event) dates entered in a Data Grid View? When I press the year I want all the records for that year to appear, then press the month and all…
-
3
votes2
answers4607
viewsQ: How to know which button was clicked?
I have three buttons, one for insert, another to alter and one for record. The button of record will work to save data either from an insertion or a change. How to identify which button I pressed to…
-
5
votes1
answer301
viewsQ: Two dependent combobox using Linq to sql
How do I fill two combobox’s with Linq to sql where in a combobox for example I have countries and in another I have cities? How do they automatically change the values? I leave the image below how…