23,059 questions with .NET-related tags

Sort by: Updated
1 answer

RAM usage in NET 8

Hi, I want in C# .Net 8 to calculate the usage of RAM. Is it the way ? System.Diagnostics.PerformanceCounter _ramCounter = new System.Diagnostics.PerformanceCounter("Memory", "Available MBytes"); RamCapacity =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,163 questions
asked 2024-02-25T14:40:50.5966667+00:00
דני שטרית 2,226 Reputation points
answered 2024-02-26T03:18:44.1966667+00:00
Jiale Xue - MSFT 17,511 Reputation points Microsoft Vendor
1 answer

how to fix System.TypeInitializationException : Инициализатор типа "FlaUI.Core.Tools.SystemInfo" выдал исключение. ----> System.InvalidOperationException : Не удается загрузить данные имени счетчика, поскольку в реестре обнаружен недопустимый индекс "

In university we started to work with Windows Forms и WPF. For each work we're given a pre-work with all files and tests. But when I try to start test, they fall with the same Exception: System.TypeInitializationException : Инициализатор типа…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,800 questions
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,630 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,406 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
320 questions
asked 2024-02-25T19:29:17.4566667+00:00
_cnehle 0 Reputation points
edited an answer 2024-02-26T03:14:31.4533333+00:00
Hui Liu-MSFT 25,431 Reputation points Microsoft Vendor
0 answers

Active X Error

We have a Web application that can generate Excel file. We trigger creating the Excel in the front-end and the services will take care of the Excel creation in the background. Sometimes, we encountered error related to Active X. And sometimes, we…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,163 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 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.
12,262 questions
asked 2024-02-26T01:40:02.1+00:00
Louie 21 Reputation points
commented 2024-02-26T03:10:08.89+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
2 answers

How can upgrade/where on daily basis to own .net /c# knowledge skills and news updates

Hello where/ how can I improve or how can I know new concepts which are released Basic c# and Advanced c# .net basic and advanced /new releases concept, framework , libraries Please help to upgrade me for daily basis for advanced and latest technologies…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,163 questions
asked 2024-02-21T15:11:08.4566667+00:00
Mahammad Rukmudin Chatarki 0 Reputation points
commented 2024-02-26T03:09:12.5166667+00:00
Charlie Wei 470 Reputation points
1 answer

multi filter to apply only two columns Field1 and Field2

Hello This is my code <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <link…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-16T11:50:48.8733333+00:00
RAVI 536 Reputation points
commented 2024-02-26T02:54:50.73+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
2 answers

How do I implement a "mouse double click" for a ListBox?

This xaml code attempts to implement a "mouse double click" for a ListBox "list of cities". xaml <ListBox x:Name="gLBxCities" Margin="10,0,10,10" Foreground="#0000FF" > xaml.cs private 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,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.
9,941 questions
asked 2024-02-25T13:16:24.31+00:00
bhs67 96 Reputation points
answered 2024-02-26T02:52:17.61+00:00
Hui Liu-MSFT 25,431 Reputation points Microsoft Vendor
1 answer

Troubleshooting a Blank Page When Running a .Net Blazor website

I'm running a website in Visual Studio, but when I load it there's just a blank page, not even a loading screen. And with nothing showing up in the inspect tool. Any suggestions on what could be causing this issue?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,010 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,316 questions
asked 2024-02-25T19:35:45.66+00:00
Ryan G 0 Reputation points
commented 2024-02-26T02:50:10.3066667+00:00
Ping Ni-MSFT 1,365 Reputation points Microsoft Vendor
0 answers

Web page problem

Hi, When I click one part (On web page) like it then shows the following to prompt the input. How to achieve this on ASP page?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-15T10:10:14.0666667+00:00
Peter_1985 2,466 Reputation points
commented 2024-02-26T02:47:33.42+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
0 answers

How to pass selected class ids and selected text to post generate button ?

I work on asp.net core razor page . i face issue i can't pass selected ids and selected text from checkboxes from action  so how to pass classIds from action OnGetSubAccountClassName to action post OnPostGenerateCount using hidden field when change event…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,010 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-25T21:06:10.4733333+00:00
Ahmed Salah Abed Elaziz 370 Reputation points
commented 2024-02-26T02:44:56.2533333+00:00
Ping Ni-MSFT 1,365 Reputation points Microsoft Vendor
1 answer

Session Timeout Notification in asp.Net web apps

Hi, in my aspx .net web apps (VB), (devt tool VS 2022), I want to enable session with showing popup message, it must restart the session when the user clicks on any element, this would be performed by jQuery script, ref below my web apps property /…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-11T04:33:33.21+00:00
Aypn CNN 446 Reputation points
commented 2024-02-26T02:42:12.27+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
4 answers

How I can open popup window without using Windows MessageBox?

The MessageBox below shows the alert in local (Visual Studio) but not on a server call. Is there a JavaScript, MVC Controller or ASP.NET form popup windows I can use on the server ? if (helperClass.IsTheUserExist(Employee.Email, Employee.ID)) {…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,163 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
828 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.
9,941 questions
asked 2024-02-09T12:41:15.78+00:00
OneWorld 0 Reputation points
commented 2024-02-26T02:41:21.9833333+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
1 answer

How to align text string header and data bound value in Listview

Instead of using tables i have added Div container to separate elements into associated content. Using css Flex how may i align span and label elements into a two separate columns. So that they align, with equal spaces between to fill Box size. e.g…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-05T15:08:05.6966667+00:00
peter liles 496 Reputation points
commented 2024-02-26T02:39:21.04+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
2 answers

How to use onclientclick with asp:FileUPload

Regarding classic asp.net, I use fileupload. When the button is clicked, is there also a way to fire another event as well, like clearing an asp:label?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,163 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-02T20:02:10.1566667+00:00
Coreysan 1,566 Reputation points
commented 2024-02-26T02:37:35.42+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
1 answer

I am unable to get value of ItemSource in collectionview can anyone help me with that?

public class MyViewModel : BaseViewModel { private ObservableCollection<MyModel> myList; public ObservableCollection<MyModel> MyList { get { return myList; } set { SetProperty(ref myList,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,576 questions
asked 2024-02-23T16:27:13.9566667+00:00
Puri, Sahil 0 Reputation points
edited an answer 2024-02-26T02:31:47.4866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,411 Reputation points Microsoft Vendor
0 answers

How to concatenate string in password.aspx file ?

Hi, For my domain i want to concatenate automaticaly *DOMAIN* + username in password.aspx file : Because many of my users dont write DOMAIN\ and its very boring ! ive already add a value like value="DOMAIN" in the input form but when i put a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-22T14:56:28.91+00:00
Thg 0 Reputation points
commented 2024-02-26T02:31:22.0233333+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
1 answer

how to use NavigationRailView in .net maui android?

how to use it in android?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,576 questions
asked 2024-02-23T13:46:55.43+00:00
mc 3,441 Reputation points
answered 2024-02-26T02:25:47.6166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,411 Reputation points Microsoft Vendor
1 answer

AJAX combo box not searching specific letters in the word (data) in asp.net C#

I am using AJAX dropdown controls for dual purpose (Search and select). I have been facing some issue in that controls. When i search the particular "letter", it wil not be filtered data in the combo box. What is the problem and how to solve…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,173 questions
asked 2024-02-23T08:11:42.64+00:00
Gani_tpt 1,426 Reputation points
edited a comment 2024-02-26T02:18:25.25+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
0 answers

issue with dynamic query

I am working with windows form(Infragistics grid) with ms sql what is my task : I want to store event related data in database see my below data strucuture: this is event_master -> master table SELECT * FROM dbo.EVENT_MASTER WHERE EVENT_ACTIVE =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,800 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.
12,262 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.
9,941 questions
asked 2024-02-25T07:22:15.8933333+00:00
Rahul Patil 26 Reputation points
commented 2024-02-26T01:57:39.8933333+00:00
CosmogHong-MSFT 19,986 Reputation points Microsoft Vendor
0 answers

Why does my public string not change between windows in C# (.net 8) and WPF?

Hi, I am trying to make a note app, so I need to change a public string value between two windows but the string value does not persist across the windows. The strings that are not changing are in the 2nd .cs file, "string edit_File_Name",…

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,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.
9,941 questions
asked 2024-02-26T01:35:43.9066667+00:00
T9 0 Reputation points
edited the question 2024-02-26T01:43:28.04+00:00
Hui Liu-MSFT 25,431 Reputation points Microsoft Vendor
2 answers

Button Click System.InvalidCastException

I encountered a System.InvalidCastException: Unable to cast object of type 'WhereSelectListIterator`2[RateApp.Pages.Index+InQuestion,System.Decimal]' to type 'System.IConvertible'. at System.Convert.ToDecimal(Object value) at…

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,316 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,576 questions
asked 2024-02-22T12:05:07.64+00:00
Maui Learner 300 Reputation points
commented 2024-02-26T01:42:04.91+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor