23,850 questions with .NET-related tags

Sort by: Updated
1 answer

Retrieving DataRowCollection Using Four of the Five DataTable Keys

Hi, Everybody! I have a five-key DataTable. I wish to retrieve the resulting DataRowCollection based on the first four keys. Is there a simple way to do that? Please advise. Thank-you!

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
asked 2022-03-30T21:13:19.013+00:00
Julio Bello 221 Reputation points
commented 2022-04-01T09:19:55.513+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
0 answers

Question about Datatable

Hello, I want to show payment schedule on datatable like this; so I wrote a code for handling data like this; for (int i = 0; i < Convert.ToInt32(Terms) * 12; i++) { DataRow dataRow =…

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,670 questions
asked 2022-03-28T12:25:18.277+00:00
c00012 716 Reputation points
commented 2022-04-01T08:41:24.84+00:00
c00012 716 Reputation points
2 answers

hide and show control inside reptera based on condition foe each item

I have repeater with 4 labels , I want to show and hide label based on condition from sql commands e.g. select * from Quesions where Question_type='Customize_question' AND Category='Choice' AND Choice_4 IS NOT NULL AND assessmentID = 109" …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 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,569 questions
asked 2022-03-31T07:05:06.197+00:00
Maitha 21 Reputation points
answered 2022-04-01T08:39:08.253+00:00
Albert Kallal 4,651 Reputation points
2 answers

Session error

We have a SSRS report engine application that downloads reports in a different format. When we try to call the reportengine URL from SSIS package, we see the below error. This issue is intermittent and appears when the SSIS package runs for the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 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,229 questions
asked 2022-02-24T10:07:28.867+00:00
Dibya Ranjan Tripathy 21 Reputation points
answered 2022-04-01T08:31:47.433+00:00
Dibya Ranjan Tripathy 21 Reputation points
1 answer One of the answers was accepted by the question author.

Nuget package update: Not compatible with monandroid11.0 when I update Xamarin.AndroidX.anything

Below is the error output when I try to update the Xamarin.AndroidX.anything Restoring packages for C:\Users\VenkatMinchala\Documents\Xamarin_workspace\DooapMain\DooapMain\DooapMobile\src\Dooap.Android\Dooap.Android.csproj... NU1608: Detected package…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2022-03-29T10:21:44.743+00:00
MVS 21 Reputation points
accepted 2022-04-01T08:23:10.76+00:00
MVS 21 Reputation points
0 answers

Disable CBC ciphers in C# application built with .net framework 4.8

Hi, We want to disable CBC ciphers in our client application. The application is built on .net framework 4.8 for windows 10 and uses TLS 1.2 to connect with server. On my exploration, i got some suggestions on disabling using the registry keys, but…

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,229 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,118 questions
asked 2022-03-29T07:07:11.403+00:00
I, Tasmiya Kauser 21 Reputation points
commented 2022-04-01T08:06:16.55+00:00
Jack J Jun 24,286 Reputation points Microsoft Vendor
5 answers

Missing code in MS VS 2022 ASP .NET core WebApp

Hi, I noticed, that new "MS VS 2022 ASP .NET core WebApp" has modified the "Program.cs" file: var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); app.MapGet("/", () => "Hello…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
asked 2022-03-31T09:30:08.74+00:00
JerryM 1,106 Reputation points
answered 2022-04-01T07:24:24.887+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer

How do I read a file from a Webpage Media Library in Xamarin?

I need to read a file (csv or txt) from a media library on a webpage. How do I access the file in Xamarin in order to read the file? I have previously read a file using streamreader from a disk but now need to access one from the web. Just get me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2022-03-29T21:01:29.077+00:00
Bruce Krueger 331 Reputation points
commented 2022-04-01T06:56:59.777+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

how do we get to know Users Android device MTU size ?

We have our application in Xamarin forms for android devices how do we get to know the MTU size of the android device which user is using ? I should be notify user if users device MTU size is not supported to use our application must check the MTU…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2022-03-28T03:02:52.06+00:00
Rashmi E 1 Reputation point
commented 2022-04-01T06:18:40.797+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

xamarin.android sharing view and extending with custom properties?

In Xamarin.Forms we have contentview which we can share between contentpages and i can use custombindable property to extend the view. Is it similar possible in Xamarin.Android? What is the way to follow?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2022-03-25T20:53:10.677+00:00
Emil Alipiev 271 Reputation points
commented 2022-04-01T06:17:57.473+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
4 answers

Issue to project

Hi, The project below is to further put more comment/remark there. How to improve the way to ensure details are saved into table properly? https://1drv.ms/u/s!Ai8CrEskdewXwwIDrlmSTcZnMvPH?e=wcaPGP

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 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,229 questions
asked 2022-03-03T08:35:24.133+00:00
Peter_1985 2,486 Reputation points
commented 2022-04-01T06:12:21.427+00:00
Peter_1985 2,486 Reputation points
4 answers

internal server error 500 and file not downloaded although file creating on server ?

i work on application web api core 2.2 working with ui angular i design page download file file i need to download is create but can't download although i not get any exception error error i get ERROR HttpErrorResponse…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
asked 2022-03-31T18:04:04.987+00:00
ahmed salah 3,216 Reputation points
answered 2022-04-01T04:14:59.873+00:00
SurferOnWww 1,906 Reputation points
0 answers

Help(consulting) with testing/debugging Xamarin Forms app

I've built a Xamarin.Forms app that requires some testing and would benefit from review/input from someone with more app & Xamarin (MVVM etc.) experience than I have. How might I find someone willing to consult and what would fair fees for such help…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2022-03-31T13:28:50.993+00:00
André Clements 1 Reputation point
commented 2022-04-01T02:47:05.837+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

Error when Posting Code

Why do I get this error when I add any code to a new post or an existing post or Reply with code to any post? Access Denied You don't have permission to access "http://learn.microsoft.com/answers/answers/795140/post.html" on this…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
asked 2022-03-31T12:43:24.113+00:00
Qamar, Mo 106 Reputation points
answered 2022-04-01T02:42:24.8+00:00
Yijing Sun-MSFT 7,066 Reputation points
2 answers

I caught huge queries in DB and can not find the source of that

I am actually just looking for opinions if someone had any similar experience rather than an exact solution of my problem. My project is Asp.net core 2.2 mvc project with abp framework, One of my customers has their own servers instead of cloud,…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 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,685 questions
asked 2022-03-31T13:32:59.037+00:00
Ali Özdede 1 Reputation point
commented 2022-04-01T02:39:11.057+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer

How to show the application aspx page in model pop up when click on the button.

I am developing asp.net application. I have two page like page1 and page2. In page1, i have button. When i click the page1 button, it suppose to show the page2 in modal popup.. Is there any example to do like the above

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
asked 2022-03-31T08:52:38.767+00:00
Gani_tpt 1,506 Reputation points
answered 2022-04-01T02:34:30.24+00:00
Yijing Sun-MSFT 7,066 Reputation points
1 answer

How to unblock Microsoft Forms blocked due to potential phishing attempt?

When a Form is blocked due to being identified as a potential phishing attempt by Microsoft 365 Defender, are any additional steps required for the Form to be distributed when the "Unblock" action is selected in email & collaboration…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,826 questions
Windows 365 Business
asked 2022-03-31T13:51:03.767+00:00
Rick 1 Reputation point
answered 2022-04-01T01:39:58.017+00:00
Lu Dai-MSFT 28,341 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.iOS app responses on any URL using deep linking?

Hi, I have developed Xamarin.Andriod app, a sort of custom browser using WebView. De app is in the list of browsers after installation. User can set it as a default browser. It will launch when an URL in email or SMS is clicked. I used deep…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2022-03-27T21:18:46.41+00:00
Yongqing Huang 241 Reputation points
commented 2022-04-01T00:47:52.88+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WPF Image Slide with Animation

I'm preparing an ImageViewer which is rather a bit unusual. I have many images prepared in a specific folder. when the program starts Load the first one of these images It is used as the background image of InkCanvas. And while the user presses…

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,670 questions
asked 2022-03-29T08:15:59.207+00:00
HoneyBee 186 Reputation points
commented 2022-04-01T00:14:57.323+00:00
HoneyBee 186 Reputation points
2 answers One of the answers was accepted by the question author.

How to use ImageAttributes for BitmapImage

I'm working with WPF. I need to work with ColorMatrix on my control's Background ImageSource. The code below works fine. But there is one problem. Finally, at the moment of DrawImage to Graphics It takes a long time. It takes about 0.3 seconds. I…

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,670 questions
asked 2022-03-31T06:18:35.243+00:00
HoneyBee 186 Reputation points
commented 2022-04-01T00:05:44.717+00:00
HoneyBee 186 Reputation points