Questions




Answers
2
How to access the substring from the string in sql?

I need to access substring from a string using SQL, how can i achieve it in SQL server?

Suppose my string in "Hello World in C" and i want "World" from it, how can i do that using SQL query?

...
Read More
Answers
1
ASP.NET WEB API AND ANGULAR 4 (USING .NET FRAMEWORK NOT .NET CORE 1 OR 2)

Is this possible to implement asp.net web api (.net framework) in angular 4?

I've followed the docs in angular.io and I've already implemented it in my machine, and it has AOT.

By the way I am using Visual Studio Enterprise 2015.

My question is how to config the startup.cs .(net framework asp.net web api) into my angular 4. 

What i always saw was implement angular 4 in asp.net core.

So I can't display the data from web api to my angular 4 project.

 

...
Read More
Answers
3
How to select specific div or Form which does not have specific class?

I want to select an HTML element (form) which does not have a specific class ('Ajax_Stop'), so that I can implement a jQuery function on that, basically when submitting a form I want to check if a form or div doesn't have that specific class using jQuery-javascript, & run a function if it doesn't have that CSS class.

How to do it using jQuery or javascript?

...
Read More
Answers
3
what is the difference between span and div in html?

Hello, I Would like to know what's the actual difference between <span> and <div> tags in HTML?

When we should prefer <span> and when <div>?

...
Read More
Answers
1
Create drop down list in asp.net comparing time field in sql?

I want to load a dropdown list in my web forms based on certain conditions, first here is my Table_columns(With types)

id--Int

food_type --varchar

First_start_time -- time

First_end_time -- time

second_start_time -- time

second_end_time -- time

 

Now I want to load values in which Current_Time > First_start_time

How to do this, it's basic question but I am not able to do it, so please let me know, thanks

...
Read More
Answers
3
How to create social media share buttons using HTML & JavaScript? (no external library)

Hello, I would like to add social media share buttons on a website without using any external javascript plugin, as I am already using external JS plugins which increases page-load time, so I want to create custom social media buttons using HTML,CSS and Javascript or jquery only (without external plugins) to decrease page load time.

Any code help or link will work

thanks

...
Read More
Answers
2
What is the Difference between String and string in C#?

Although I have intermediate knowledge of asp.net & C#, but I am still not clear with what's the difference between String (capital S) and string in C#?

When to use which one?

Example code:

...
Read More
Answers
2
How to bind a dropdownlist to a bootstrap datepicker

Suppose I have a Dropdownlist where the items are coming from database in MVC. Now inside the table from where the Items are coming, there is also a Datetime Field. Those dropdownlist entries are list of employees and entered in a particular date. Now what I want, is, I want to populate that dropdownlist based on another datetimepicker in another view. When I will be selecting a date, the items entered on that day will only be shown in my dropdownlist. How can I do that?

...
Read More
Answers
3
How to open New tab using javascript or jquery and open href in it?

I would like to capture href of anchor tag<a> on click, and open that link in new tab using javascript or jquery, how to do this?

...
Read More
Answers
2
How to write HTML5 data-atrribute in Razor MVC C#?

I am trying to specify HTML5 data-atrribute in my asp.net MVC razor code like below

 @Html.DropDownListFor(m => m.Industry, OnePassV3.utility.OptionList.GetIndustryListSelectList()
                           , new { @class="cs-select cs-skin-slide cs-transparent", @data-init-plugin="cs-select" })

but i am getting error as you can see below in the image.

...

Read More

Page 40 of 54