Microsoft Q&A

.NET

20,666 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,666 questions with .NET-related tags

Sort by: Updated
1 answer

Adding currency symbol to gridview bounfield data

Hello, Please is it possible to add a label control to represent currency symbol beside the amount figure in boundfield? *The currency symbol will be fetched from database field and displayed in a label control Just as seen in this image…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,053 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,636 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
619 questions
asked 2023-09-26T06:57:40.0433333+00:00
Donald Symmons 2,006 Reputation points
edited a comment 2023-09-27T10:28:43.9066667+00:00
Donald Symmons 2,006 Reputation points
0 answers

How to open and close menu by event 'onMouseOver&onMouseLeave' in React JS Material ui

I'm beginner to react JS and I want to show a drop-down list of items whenever a user hovers on the button without having to click on the button for this I have tried this below code but it is not working fine. I have referred this example…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,053 questions
asked 2023-09-27T10:12:32.8733333+00:00
Ashok Kumar 141 Reputation points
1 answer

How do I configure Full Text Search for my database

Hi all; I've read this (really helpful), this, & this. I think I understand how to select the varchar columns in my primary class. So for (Entity Framework - code first): public class Event { public int Id { get; private set; } public string…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
585 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,964 questions
asked 2023-09-26T18:22:02.61+00:00
David Thielen 1,406 Reputation points
commented 2023-09-27T09:58:48.2166667+00:00
Yi Yi 0 Reputation points
2 answers

Visual Studio for Mac support .NET 7.0 Bindings to Xcode 15?

Hello, we are in the middle of porting our Xamarin Forms application to .NET MAUI and need to know if Visual Studio for Mac will support .NET 7 binding for Xcode 15, and if so, do you have information about a release date?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,793 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,866 questions
asked 2023-09-20T18:19:55.8+00:00
Miguel Jimenez 0 Reputation points
edited a comment 2023-09-27T09:55:05.8333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,411 Reputation points Microsoft Vendor
0 answers

Server 2022 - Maui app with net .7 is not working

Hi, I installed Maui app on server 2019 with this command and its works but on server 2022 its not work: dotnet publish -f net7.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,866 questions
asked 2023-09-26T15:03:25.4466667+00:00
דני שטרית 1,181 Reputation points
commented 2023-09-27T09:42:55.44+00:00
דני שטרית 1,181 Reputation points
0 answers

Finding parent form and tablelayoutPanel

hello , private void TDlloading_error_Load(object sender, EventArgs e) { HideButtonsInParentFormTableLayoutPanel(); } private void HideButtonsInParentFormTableLayoutPanel() { // Access the parent…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,630 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.
8,980 questions
asked 2023-09-26T10:44:39.0333333+00:00
Shaifali jain 220 Reputation points
commented 2023-09-27T09:38:48.16+00:00
Shaifali jain 220 Reputation points
0 answers

Xamarin Android: Obtain the IMEI from a device with Android 10

One of our customers is updating his Android devices to version 10.0 (API 29). The app that our customer uses is manually installed via APK on each device. The app is NOT released via public stores. Each device is NOT associated with any physical person,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
asked 2023-09-26T14:01:48.5333333+00:00
Carugati 0 Reputation points
commented 2023-09-27T09:33:38.6066667+00:00
Carugati 0 Reputation points
1 answer

Previously created Microsoft from personal to new group - will link change?

I have created a form by accident in my personal form drive and it has been sent out to clients to fill out. However, my colleagues cannot access the new live responses as they update for collaboration and I have to manually download them. If I move…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,630 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,062 questions
asked 2023-09-19T19:06:00.0266667+00:00
April 0 Reputation points
commented 2023-09-27T09:30:45.9933333+00:00
Emily Du-MSFT 34,191 Reputation points Microsoft Vendor
1 answer

Steps to upgrade my Xamarin Forms app to .net MAUI using MAC

Hi, I'm trying to upgrade my Xamarin Forms app to .net MAUI using Mac, but i'm unable to add ".net upgrade assistant" into my nuget extension. Could someone please help me with the steps on how to upgrade using Mac system. Thanks in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,866 questions
asked 2023-09-26T13:54:00.96+00:00
Raghavendra G R 121 Reputation points
edited an answer 2023-09-27T09:23:18.41+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,411 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Xamarin.Forms best Third-Party Controls

Hello and hope doing well. Our team is making a research of which third party controls are better for xamarin forms. We found that till now, existed companys are: Telerik SyncFusion DevExpress Infragistics ComponentOne Steema Has anyone…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
asked 2021-03-21T20:55:32.003+00:00
Dimitris Christoforidis 296 Reputation points
answered 2023-09-27T09:11:08.0166667+00:00
Phenek 116 Reputation points
1 answer

How can I do a [MemberNotNull] for an Entity Framework IncludeAll() method I wrote?

I have the following helper method. This includes all complex properties in my Event DbSet (actually there's 9 properties but I reduced it for clarity): public static IQueryable<Event> IncludeAll(this IQueryable<Event> source) { return…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
585 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.
8,980 questions
asked 2023-09-16T17:40:21.58+00:00
David Thielen 1,406 Reputation points
commented 2023-09-27T09:07:07.66+00:00
Wenbin Geng 321 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to bind Command in ContextMenuItem

Thanks to @Hui Liu-MSFT and @Peter Fleischer (former MVP) ,now I am able to operate my TreeView and do Drag&Drop on it. Also I can ONLY display ContextMenu by right click on the first level of TreeViewItem, which is required. You can see the…

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,477 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.
8,980 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.
688 questions
asked 2023-09-25T10:08:05.2533333+00:00
BabyHai 61 Reputation points
edited an answer 2023-09-27T09:04:59.9966667+00:00
Hui Liu-MSFT 21,451 Reputation points Microsoft Vendor
1 answer

system.drawing.icon from System.Windows.Shapes.Path

<Path x:Key="Icon.Path.ExpandAll" Style="{StaticResource Style.Path.Icon.Base}" StrokeThickness="0.2" Data="M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3…

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,477 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.
8,980 questions
asked 2023-09-23T23:38:51.9566667+00:00
essamce 621 Reputation points
commented 2023-09-27T09:01:53.08+00:00
Hui Liu-MSFT 21,451 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Use Azure Function (.Net 6) with JwtBearer middleware

Hello, I couldn't find any official documentation on the following: I want Azure function to use bearer token authentication. Is it possible to use Azure Function (.Net 6) with JwtBearer middleware? So like in an ASP.NET app, set this code into…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,053 questions
asked 2023-09-19T15:32:07.0833333+00:00
Anita A 50 Reputation points
accepted 2023-09-27T08:57:00.58+00:00
Anita A 50 Reputation points
1 answer

How can I create a Complex View Like this one in WPF DataGridView C#?

I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly. I have SQL Server Database Named EmployeesDB that contains 4 Tables as following: 1.       Employees Table which is the Parent Table in this Example. 2.…

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,477 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,793 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,964 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.
8,980 questions
asked 2023-09-20T09:04:32.94+00:00
Mesh Ka 140 Reputation points
edited a comment 2023-09-27T08:28:06.0766667+00:00
Hui Liu-MSFT 21,451 Reputation points Microsoft Vendor
0 answers

Page.Disappearing and Page.Appearing will not be raised on android 13-API33

Page.Disappearing and Page.Appearing will not be raised on android13-API33 now how can i know app disappear and appear on android13 public partial class MainPage : ContentPage { int count = 0; public MainPage() { InitializeComponent(); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,866 questions
asked 2023-09-27T07:44:58.2466667+00:00
Fei Xu 350 Reputation points
0 answers

Page.Disappearing and Page.Appearing will not be raised on android 13-API33

follow code run on android 12 & android 11 is ok . but on android 13 will not raise disappearing and appearing ? how can i know app disappear and appear on android 13 ? public partial class MainPage : ContentPage { int count = 0; public…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,866 questions
asked 2023-09-27T07:42:34.05+00:00
Fei Xu 350 Reputation points
3 answers One of the answers was accepted by the question author.

Failing to save and display Save and display Images from sql Table in ASP .Net

I am creating a web application in ASP .Net, and I want to save and display pictures from an SQL table. I need help

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,636 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,964 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
987 questions
asked 2023-09-25T11:44:47.3533333+00:00
Lumbo Chenge bin 20 Reputation points
accepted 2023-09-27T07:39:59.3566667+00:00
Lumbo Chenge bin 20 Reputation points
1 answer

Setting XML Root XMLNS

Hi, Everybody! I need to create a Shipment XML root whose xmlns is the following fictitious XSD URL: http://api.company.com/schemas/api/company-api-vN.xsd. <?xml version="1.0"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,053 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.
8,980 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,043 questions
asked 2023-09-19T12:11:16.19+00:00
Julio Bello 201 Reputation points
commented 2023-09-27T07:19:57.61+00:00
Hui Liu-MSFT 21,451 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MAUI: Listview button is partially visible on UI even with HasUnevenRows

I am facing a weird issue with listview. I have a button in my listview and it is not completely visible on UI like below screenshot: My code: MainPage.xaml: <?xml version="1.0" encoding="utf-8" ?> <ContentPage…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,866 questions
asked 2023-09-26T15:24:10.56+00:00
Sreejith Sreenivasan 371 Reputation points
commented 2023-09-27T07:11:49.3266667+00:00
Sreejith Sreenivasan 371 Reputation points