Questions




Answers
2
How to solve error "save changes is not permitted" in sql server?

I am using SQL server 2012 and when trying to edit design of already saved table, i am getting this error

Saving changes is not permitted. The change you have made requires the following table to be dropped and re-created. You have either made changes to a table that can't be recreated or enabled the option prevent saving changes that require the table to be re-created.

Here is the image of the error

...

Read More
Answers
3
Getting error 'A transport-level error has occurred when receiving results from the server.'

When I am trying to Load page of my clients web application, which has shared connection string, I am getting the below error

A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable)

...

Read More
Answers
3
Best extension to convert C# Class to Typescript Interface Class

Hi, i just wanted to seek advice what is the best extension to reuse and convert my C# Class to Typescript Interface Class without coding it again. 

I've seen many extesions out there. Just copy and paste and it will produce typescript class, but I don't know what is the best of them. I also want a converter that convert accurately. Thanks, Happy Coding! :)

...
Read More
Answers
1
Save User Workflow in ASP.NET C# by showing workflow charts in javascript HTML

Hi guys, i just wanted to know how can i make a workflow like in sharepoint (not necessarily like that but the logic behind that).

In my example, let say i have a process on my website which is to tell if my request will going to be approve or not. Let say, the user requested an approval 

but it will go through to 5 steps (depend on how many steps i create) before his/her request to be approved. In each steps there is yes or no (disapprove or approve). Now, how can i make diagram of it in javascript, html and css to visualize the user where his/her request going on. Then save those workflow and steps in database. So i can update the status of his/her request. 

Thanks, Happy Coding!

 

...
Read More
Answers
5
Display google pie Chart data per record in MVC

I have a survey in my MVC app and I need to display its results to a pie chart. This is what I have done by so far (according to this)

I would like to ask if it possible to bring the data for my Survey Model

...
Read More
Answers
2
How can I Enumerate an enum in C#?

How can I Enumerate an enum in C#? Here is my current code, and it does not works:

...
Read More
Answers
1
How to strip out only Text from HTML string using javascript?

Suppose I have an HTML string like below:

...
Read More
Answers
1
how do I Check if a checkbox is checked using jquery or javascript?

Hello,I would like to get check if checkbox is checked or not on button click and Change the form action url according to it, how do it using javascript or jquery?

Right now using this code

...
Read More
Answers
2
SQL server 2012 - Error: attempted to read or write protected memory

When I am trying to Edit my tables on my newly installed SQL server management studio, I am getting the error below

Exception has been thrown by the target of an invocation. (mscorlib)
 Additional information:
   Attempted to read or write protected memory. This is often an indication that 
   other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)

Here is the image of the error

...

Read More
Answers
3
How to insert C# variable value in between string properly?

Hello, I am trying to pass this string from back-end C# to front end, and want to render it as HTML, when passing this string to the front-end, it doesn't look proper, here is my current C# code.

...
Read More

Page 33 of 54