Category "c++sharp"

How to use C# 6 with Web Site project type?

Updated an existing Web Site project type Visual Studio 2015, I changed the Framework to 4.6. I then expected to have all those new features available in my co

C# DbContext Connection Type and Server

I have a WinForm application developed on one laptop connected to an SQL server on the same laptop. I have a new laptop and have created a docker setup for an S

create oracle transaction using C#

I am using oracle transaction to insert into multi-tables one master table and two details tables at the same time. so i will insert one record to the master t

Using Socket.IO in C#

I'm trying to read a Socket.IO stream from Wikimedia sites. There is sample code for various languages, but I need to get this working in C# The source link i

Unable to resolve service for type ApplicationContext

I have my ApplicationContext as following :- You can see i am deriving ApplicationContext from ChildContext (child class) that in the end derives from `Identit

C# Winform LiveCharts does not know how to plot

I'm trying to draw a graph with some arrays. I got 4 arrays (Time,Temprature,Speed,Water). I want to add Time array on AxisX. The others are going to be on Axis

Get raw sql string in Sql Kata

I am using SqlKata purely to build sql queries in C#. I am wanting to take the output of my built up Query, get the raw (compiled) sql string, and execute it ag

How do I show a list of group members that belong to a group in blazor?

Below is my groupmember Class namespace MMSProjectShared { public class GroupMember { [Key] public int MemberId { get; set; } p

The same volume can not be used as both the source and destination

I'm creating split archives using the following code: string filename = "FileName.pdf"; using (ZipFile zip = new ZipFile()) { zip.UseZip64WhenSaving = Zip6

Unicode to Arabic Win1256

I have Unicodes in my Database which were encoded from Arabic and I need some source code to convert it to actual Arabic. I have tried a lot of codes but not wo

DataGridView ScrollBars are not working after Thread

I'm setting a dataTable as data source of a datagridview. I do this on a new thread (I don't want my UI blocked while is loading data). My dilema is: the scroll

Create Visual Studio plugin to launch window form application inside visual studio(not standalone)

I have a window based tool which is currently working. I need to add this tool as a plugin/extension in visual studio. So that if user has visual studio install

There are more columns in the INSERT statement than values specified in the VALUES clause [closed]

I want to save new record in SQL table. one of this table field is "username" that I want to add record by using session and other fields are

How to set the form resolution for each screen in C#?

I made a project in C# Form with FormBorderStyle=FormBorderStyle.None Resolution = 1920 x 1080. But, this project is set for 1080p only and takes it offscreen a

Make string comparison case-insensitive for .net winforms application [duplicate]

Need to have string comparison case insensitive for .net winforms application. It is not a problem when strings are compared in my code, but I

.net Windows forms Property Grid

I have a .NET windows forms property grid which is tied to the collection of entities public class Entity { public string A { get; set; } public string B { get

SheetChange event is not getting changes of active excel cell when performing another function

I am coding simple application having one window form using c# in visual studio, app exe will be opened by excel VBA macro and the application will read the val

How to load an application to systemtray using Avalonia

How can I load an Avalonia application to the systemtray and set the menu items?

Formula to make the ends of the arms of a spiral galaxy less dense

I want to make a spiral galaxy in Unity 3D using C# ( i use a derived logarithmic spiral ). I want to set the end of the arms less dense than the middle, but mi

The Name DoEditButtonChecked does not exist in the current context C#

Very new to all this. Was working on my game in unity and got an error. I tried restarting unity, I tried asking for help in other places, and got no response.