25,782 questions with .NET-related tags

Sort by: Updated
1 answer

datagridview row with a combobox column not inserting in database

Hi! I added a DataGridView to my windows form. The grid is data bound and one of it's columns is of type DataGridViewComboBoxColumn and the column is also data bound. This datagrid is connected to another datagrid in parent-child relationship. Following…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 20 Reputation points
answered 2024-10-06T19:06:15.2266667+00:00
KOZ6.0 6,395 Reputation points
1 answer

datagridview row with a combobox column not inserting in database

Hi! I added a DataGridView to my windows form. The grid is data bound and one of it's columns is of type DataGridViewComboBoxColumn and the column is also data bound. This datagrid is connected to another datagrid in parent-child relationship. Following…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 20 Reputation points
answered 2024-10-06T19:06:15.2266667+00:00
KOZ6.0 6,395 Reputation points
1 answer

How to fix a Errror Handling for Blazor Hybrid MAUI and WebApi

Hi, I've reference an WebApi to my Blazor Hybrid App. The database that I used is SQLite When I run the app "Windows machine" the response is Html The WebApi run well!!I've checked with swagger the response is OK. I suppose that the problem…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
asked 2024-10-05T17:29:37.3866667+00:00
sblb 1,231 Reputation points
commented 2024-10-06T16:58:40.3066667+00:00
sblb 1,231 Reputation points
1 answer

Blazor App Redirecting API response to login page

I am building a Blazor Server app on .NET. The app was started using the Visual Studio .NET8 Web template for Blazor server with individual authentication turned on. In the second step, I added an API controller to the app, with the [Authorize]…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
asked 2024-10-05T17:18:09.84+00:00
Amjad Khan 41 Reputation points
commented 2024-10-06T16:16:50.52+00:00
Bruce (SqlWork.com) 65,206 Reputation points
1 answer

Blazor App Redirecting API response to login page

I am building a Blazor Server app on .NET. The app was started using the Visual Studio .NET8 Web template for Blazor server with individual authentication turned on. In the second step, I added an API controller to the app, with the [Authorize]…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
asked 2024-10-05T17:18:09.84+00:00
Amjad Khan 41 Reputation points
commented 2024-10-06T16:16:50.52+00:00
Bruce (SqlWork.com) 65,206 Reputation points
0 answers

Performance when loading list elements

I have about one hundred entries in a list. These are of data type DataA. A single entry within this list is of the data type DataB. DataB is derived from DataA. During debugging, I see in the output window that for all list elements of the data type…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,772 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,917 questions
asked 2024-10-06T15:08:00.5766667+00:00
Heiko 1,236 Reputation points
commented 2024-10-06T15:10:38.1233333+00:00
Heiko 1,236 Reputation points
0 answers

WPF TextBox Style Customization: CaretBrush Disappeared After Trigger Setup

Seeking assistance with customizing the style properties of a TextBox in WPF: Background: MouseOver #505050 & not MouseOver #303030 Foreground: #FFFFFF BorderBrush: MouseOver #868686 & not MouseOver #666666 CaretBrush Despite setting up…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,772 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,917 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
809 questions
asked 2024-10-06T11:49:55.66+00:00
StreamingMoon 0 Reputation points
0 answers

Custom splash screen

I have an Image And I want this image, to be the splash screen of my app. my image is 405 x 405 Right now I have this And I have an android 12 and I do not see Anything, also the image gets cut of I see it too small for a Splash in the emulator …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,487 questions
asked 2024-10-06T01:06:18.14+00:00
Eduardo Gomez Romero 525 Reputation points
edited the question 2024-10-06T10:53:24.9966667+00:00
Eduardo Gomez Romero 525 Reputation points
0 answers

Publishing MAUI Project on Windows: Grayed Out Option

I want to publish my MAUI project on the Windows platform, but the publishing option is grayed out. What steps can be taken to resolve this issue? Here's my C# project configuration: <Project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,487 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,917 questions
asked 2024-10-05T14:00:54.4366667+00:00
Smith Tom 65 Reputation points
commented 2024-10-06T05:55:02.46+00:00
Smith Tom 65 Reputation points
1 answer One of the answers was accepted by the question author.

How to Use a Collection in Multiple Windows

I have a Public Module named "GlobalElements" that contains a Public ObservableCollection(Of Widget) named ocWidgets. I want to use ocWiddgets as a ItemsSource for ComboBoxes on multiple wpf windows. In the XAML for such a window I tried what…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,772 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,725 questions
asked 2024-10-05T20:45:31.9433333+00:00
RogerSchlueter-7899 1,301 Reputation points
accepted 2024-10-06T04:28:48.5933333+00:00
RogerSchlueter-7899 1,301 Reputation points
1 answer One of the answers was accepted by the question author.

How to create the controller with Blazor Hybrid Maui and SQLite?

Hi, I use blazor hybrid maui project . I've created the classlibrary to create ApplicationDbContext.cs and model to do the migration with Ef core that involved SQLite I don't know much about blazor hybrid maui & sqlite; now my question is that I…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
asked 2024-10-03T15:58:57.2866667+00:00
sblb 1,231 Reputation points
accepted 2024-10-05T18:42:08.8666667+00:00
sblb 1,231 Reputation points
2 answers One of the answers was accepted by the question author.

I have a Blazor App for .NET using the server mode. I now want to add wasm mode to it as well. What changes are required?

I started my project that uses the Blazor Server template from Visual Studio 2022 for .NET8. I now realize I want to add a wasm project to it as well so can take advantage of auto mode. What changes are required in the server project so my components can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,553 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
asked 2024-08-30T06:26:59.27+00:00
Amjad Khan 41 Reputation points
accepted 2024-10-05T17:20:15.23+00:00
Amjad Khan 41 Reputation points
0 answers

Microsoft Visual C++ X64 Minimum Runtime Error, (Not Installing. Missing the .MSI file.)

Receiving this error when trying to install VC_redist.x64 (2).exe C:\ProgramData\Package Cache{221D6DB4-46E2-333C-B09B-5F49351D0980}v14.13.26020\packages\vcRuntimeMinimum_amd64\

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,723 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,159 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,608 questions
asked 2024-10-05T17:11:44.6266667+00:00
Gary 0 Reputation points
edited the question 2024-10-05T17:13:01.1266667+00:00
Gary 0 Reputation points
1 answer

MAUI iOS app is getting crashed while opening a custom bottom sheet page and the same bottom sheet page is working fine in android

NET 8 MAUI iOS app is getting crashed while opening a custom bottom sheet page and the same bottom sheet page is working fine in android Please see the crash logs and help me out in debugging the issue on iOS Incident Identifier:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,487 questions
asked 2024-10-05T14:21:08.91+00:00
Satya 125 Reputation points
edited an answer 2024-10-05T16:33:48.5233333+00:00
Bruce (SqlWork.com) 65,206 Reputation points
0 answers

Change the color of the selected element

How to change the background of the element that was clicked in the "CollectionView" what can be done so that the selection animation affects the inner area of ​​the clicked element.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,487 questions
asked 2024-10-05T16:30:59.3966667+00:00
валера карманов 141 Reputation points
1 answer One of the answers was accepted by the question author.

How do I undo sync with Active documents in my visual studio?

I recently clicked on the Sync with Active Document in my Visual Studio Project, and now I want to remove it, how do I do that please? I found that there is some kind of lock beside my files in the solution explorer. Please what does it mean when I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
asked 2024-10-05T03:39:45.9066667+00:00
Donald Symmons 2,881 Reputation points
accepted 2024-10-05T15:59:23.6366667+00:00
Donald Symmons 2,881 Reputation points
1 answer One of the answers was accepted by the question author.

How do I undo sync with Active documents in my visual studio?

I recently clicked on the Sync with Active Document in my Visual Studio Project, and now I want to remove it, how do I do that please? I found that there is some kind of lock beside my files in the solution explorer. Please what does it mean when I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
asked 2024-10-05T03:39:45.9066667+00:00
Donald Symmons 2,881 Reputation points
accepted 2024-10-05T15:59:23.6366667+00:00
Donald Symmons 2,881 Reputation points
0 answers

How to fix dynamic MAUI flyout menu in iOS showing "More"

public async static Task AddFlyoutMenusDetails() { AppShell.Current.FlyoutHeader = new FlyoutHeaderControl(); AppShell.Current.FlyoutBackgroundColor = Color.FromArgb("FFEF5023"); var parentDashboardInfo =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,487 questions
asked 2024-10-05T15:35:03.5866667+00:00
Daniel Omilegan 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to read data from Serial Ports on Android using MAUI

Hi everyone, I'm working on a .NET MAUI app for Android and I’m having some trouble. Right now, my code just displays the connected USB devices info, but I actually need to read data from serial ports instead. Here's the code I have so far: #if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,487 questions
asked 2024-09-28T13:43:25.7+00:00
Yusuf-3141 45 Reputation points
accepted 2024-10-05T13:14:55.65+00:00
Yusuf-3141 45 Reputation points
2 answers One of the answers was accepted by the question author.

How to make start menu transparent in Win11.

The ui used by Windows11 feels very special, but I have been unable to achieve it by using the method of setting transparency before. May I ask, what api should I use to set transparency of Windows11 start menu?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,613 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,608 questions
asked 2022-12-10T14:28:31.033+00:00
XUWANBIN 201 Reputation points
commented 2024-10-05T08:55:52.6866667+00:00
gluetheknot 0 Reputation points