Posts by Gabriel Miranda • 161 points
7 posts
-
1
votes1
answer98
viewsA: Generating an xlsx file from a Gridview that is powered by a Database
I managed to get result by reusing the code that generated an Excel Window with the data, I only had to add 3 lines that was the file path I passed with parameters to always create a new file and…
-
1
votes1
answer98
viewsQ: Generating an xlsx file from a Gridview that is powered by a Database
Good afternoon, I am facing a problem when it comes to generating an Excel file, I was able to make the information appear in Excel and be shown on the screen, but found me with doubt when I try to…
-
1
votes1
answer516
viewsQ: Passing Date parameters for queries
I am having a problem when passing a parameter. I tried to debug by passing the Date as `string, but the problem arises that one expects a number instead of a character. After that I searched other…
-
2
votes1
answer133
viewsQ: Passing a Connection string dynamically
Well my problem would be trying to pass a connection string from a txt. file which is also used to bring the items from my Combobox, the goal and bring a different database depending on the item…
-
7
votes2
answers138
viewsQ: Combobox is not being filled in by the Items I want
I have a Combobox filled out from a list created with information obtained from a txt file. But instead of being filled in with the file information it is getting inside it ----->…
-
2
votes1
answer45
viewsQ: I would like to assign yesterday as an initial date every time my program is started on a dateTimePicker
I can assign value to it just don’t know how to assign a Yesterday private void Form1_Load(object sender, EventArgs e) { dateTimePicker1.Value = DateTime.Today; }…
-
1
votes1
answer56
viewsQ: I cannot assign a value inside my Label from a List
Good morning, first I would like to say that I am a beginner and I am in doubt when it comes to assigning a value to the property Text of a Label from a list created with information obtained from a…
c#asked Gabriel Miranda 161