datepicker bootstrap issue
Try this code, jQuery.noConflict(); (function ($) { // write your datepicker code here })(jQuery);
View Articlematching brace in visual studio shortcut
If you want to find a matching brace for a curly bracket ({}) or the parenthesis (()) in visual studio, just place cursor next to it and press Ctrl+].
View Articleconfiguring the Amazon DynamoDB project
Steps: 1.Insert your AWS access key 2.Insert you AWS Secret key 3.Create an empty dynamoDB table called “Demotable” 4.Enter the region URL of your table: for example...
View Articleauto growth database setting sql server
Setting an auto growth in multiples of MB is a better option than setting auto growth in percentage (%).
View Articlestandard DateTime formatting in c#
Specifier DateTimeFormat Patterns (en-US culture) t ShortTimePattern h:mm tt d ShortDatePattern M/d/yyyy T LongTimePattern h:mm:ss tt D LongDatePattern dddd, MMMM dd, yyyy f (combination of D and t)...
View ArticleTable variable in sql server
DECLARE @TEmp TABLE ( SNo INT IDENTITY(1,1), EmpID INT, Age INT ) –Inserting data to Table variable @TEmp INSERT INTO @TEmp(EmpID,Age) SELECT DISTINCT EmpID, Age FROM EmpInfo ORDER BY EmpID ASC –Select...
View Articlehow to learn new technology
Few suggestions to learn new technology First go through the official website of that particular technology. Watch video tutorials provided by the official site or on Youtube. Go through API...
View Articlejquery full calendar using c#
Implementing jquery full calendar uisng c# Here is the sample code i have wrote, $(document).ready(function () { var data = @(Html.Raw(Json.Encode(Model.EventsDiary))); $(‘#calendar’).fullCalendar({...
View Articleinstall lame on windows 7 x64 bit
Copy all the files that come with lame into a directory (like c:\myfolder\lame). Go to commmand prompt(i.e., Run->cmd ) and type “cd c:\windows\syswow64″ or replace c:\windows with your windows x64...
View ArticleCould not load file or assembly ‘your application name’ or one of its...
Check whether your project is compiled in x64 or x86 version. Build your project according to target operating system bit version.
View Articleis there throws keyword like java in c#
There is no such keyword like throws in c#. Instead we can have comment on function for example: <exception cref="Exception"></exception> This will be visible in IntelliSense
View Articledebugging stack over flow exception in c#
The best way to debug stack over flow exception is, create a conditional break point just before the line where exception is expected to occur. for example, start creating new break point, then right...
View Articlereplacing html tags c#
Sometimes we want to keep few html tags instead of replacing all the html tags from the string. Here is the sample code I have worked to achieve above functionality. string htmlsource = “html code...
View ArticleAutos window in visual studio 2010
Pleas go through the following steps to open autos window in visual studio 2010. 1. Place a debugger in the code 2. Start Debugging 3. Tools -> Debug menu -> windows -> select option “Autos”
View ArticleMulticast delegates in .net
Multi-cast delegate is a list of delegates or a list of methods with the same signature. It can call a collection of methods instead of only a single method. Generally, .net delegates are all...
View ArticleWindow.location object in javascript
You can look for current url details using javascript window.location object, var currenturl = window.location.href; var protocol = window.location.protocol; var host = window.location.host; var path =...
View ArticleFaceBook App Creation
FaceBook App Creation Steps: -> Go to developers page ( https://developers.facebook.com) Here, if you are not logged in as developers, facebook will ask you password for registering you as...
View ArticleDifference between capacity and maxCapacity in StringBuilder
Case 1: StringBuiilder sb = new StringBuilder(2); Here even though capacity is specified, the sb can store more items. It doesn’t have any limit on numbers of items to be added. Case 2 : StringBuiilder...
View Articlestored procedure vs function in sql server
Store Procedure 1.Store procedure may or may not return values. 2.Store procedure allow input/output parameters 3.Store procedure not allowed in where/Having/select sections anywhere in Sql statements...
View Articlehow to identify dotnet version
Sometimes we may want to find out what .Net version we are using, Here, is the solution –> Environment.Version This gives the exact version of .NET running the application.
View Article
More Pages to Explore .....