686 Questions

Voter india
Voter i...
0 Points
0 Posts
I'm first time voter. How do I check my name in voterlist in India Lok Sabha Election 2024?  
Views: 35
Total Answered: 1
Total Marked As Answer: 0
Posted On: 24-Apr-2024 08:49 
 
Prince kumar
Prince ...
0 Points
0 Posts
In my zoom call, my profile is missing. Not when/how it was disappeared. How to enable own profile in the zoom meeting call?
Views: 57
Total Answered: 1
Total Marked As Answer: 0
Posted On: 22-Apr-2024 07:37 
 
sw
sw
Member
134 Points
5 Posts
I'm try to delete following constraint but not to drop it: CREATE UNIQUE NONCLUSTERED INDEX UQ_MyTable_TypeKey ON [dbo].[MyTable]([TypeKey] ASC) WHERE [TypeKey] <> 55555 AND [TypeKey] <> 75555) Here is drop command: ALTER TABLE [dbo].[MyTable] DROP CONSTRAINT UQ_MyTable_TypeKey ...
Views: 49
Total Answered: 3
Total Marked As Answer: 1
Posted On: 21-Apr-2024 22:19 
 
sw
sw
Member
134 Points
5 Posts
I'm trying to create unique key constraint with some condition like following: CREATE UNIQUE NONCLUSTERED INDEX UQ_MyTable_TypeKey ON [dbo].[MyTable]([TypeKey] ASC) WHERE [TypeKey] NOT IN(55555,75555) But it's showing run time error as  Incorrect syntax near 'NOT' Although working fi ...
Views: 55
Total Answered: 1
Total Marked As Answer: 0
Posted On: 19-Apr-2024 03:57 
 
kally
kally
0 Points
0 Posts
I want to be able to create an Authorize attribute to my controller class that I can add roles to from a database, so that I don't have to 'set' the roles during development or compile time, as in [Authorize(Roles="Role1, Role2")] etc. So, I want something like [Authorize(Roles = GetListOfRoles()]
Views: 65
Total Answered: 1
Total Marked As Answer: 0
Posted On: 19-Apr-2024 00:35 
 
Ajay
Ajay
0 Points
0 Posts
I'm using .net 4.7. Showing errow when passing special characters in the url and getting following error: A potentially dangerous Request.Path value was detected from the client (&).","Data":null,"InnerException":null Is there anyway to resolve it?
Views: 95
Total Answered: 3
Total Marked As Answer: 1
Posted On: 16-Apr-2024 06:19 
 
beginer
beginer
Member
1328 Points
43 Posts
I'm using following code to get production version: public string GetProductVersion() { var location = Assembly.GetExecutingAssembly().Location; if (!string.IsNullOrWhiteSpace(location)) return FileVersionInfo.GetVersionInfo(location)?.ProductVersion; else return ...
Views: 86
Total Answered: 2
Total Marked As Answer: 1
Posted On: 12-Apr-2024 00:20 
 
Raj
Raj
Member
496 Points
21 Posts
Getting following error and css not getting loaded in local when env. set to qa: Refused to apply style from 'https://localhost:44314/App.styles.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled. Anyone has any clue? Note: It's workin ...
Views: 114
Total Answered: 3
Total Marked As Answer: 1
Posted On: 07-Apr-2024 23:11 
 
Remu
Remu
0 Points
0 Posts
I tried following SQL command but not one working: IF(NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_NAME ='UQ_TableName_TypeId')) BEGIN CREATE UNIQUE NONCLUSTERED INDEX UQ_TableName_TypeId ON [dbo].[TableName]([TypeId] ASC) WHERE [TypeId] IS NOT NULL E ...
Views: 216
Total Answered: 3
Total Marked As Answer: 2
Posted On: 07-Apr-2024 22:28 
 
ykl
ykl
Member
116 Points
5 Posts
I'm using telerik for blazor in .net 8, telerik form item getting reorder or change in order when appying  conditions of controls on the basis of dropdown selection. For example: @if (HasCinema) { <FormItem Field="@nameof(Model.Cinema)"> <Template> &l ...
Views: 131
Total Answered: 2
Total Marked As Answer: 1
Posted On: 27-Mar-2024 01:45 
 
 Log In to Chat