When i encountered this problem i have deleted .suo file and restarted my visual studio.Later i rebuilt the solution .The error was gone.
Hello Everyone, This blog is my notepad :) where i make a note of the new learnings ,issues i have faced with in the real time environment.Hope these posts are helpful :)
Pages
Saturday, August 13, 2016
WPF: .exe does not contain a static Main method suitable for an entry point
This morning while running my WPF application, I ran into the following error: " .exe does not contain a static Main method suitable for an entry point"
If you are getting the same error the solution is simple, you need to make sure that the "Build Action" from App.xaml file for your application is set to "ApplicationDefinition".
Hope this helps somebody out there.
Sunday, June 21, 2015
#deepstutorials:How do I get the value of a textbox using jQuery
The following code creates a form with a textbox
<form>
First name: <input type="text" name="FirstName" id="firstName"><br>
Last name: <input type="text" name="LastName" id="lastName"><br>
<input type="submit" value="Submit">
</form>
<body>
</html>
To access textbox using jquery ,following is the way
<html>
<body><form>
First name: <input type="text" name="FirstName" id="firstName"><br>
Last name: <input type="text" name="LastName" id="lastName"><br>
<input type="submit" value="Submit">
</form>
<body>
</html>
To access textbox using jquery ,following is the way
var firstName= $('#firstName').val(); //
$("#firstName").val("someValue")//Is used to set the value of textbox
Saturday, June 20, 2015
#deepstutorials: how to get the value of a textarea in jquery?
The following code creates a form with a textarea
<html>
<body>
<form action="demo_form.asp">
<textarea rows="4" cols="50" id= "comment" name="comment">
Enter text here...</textarea>
<input type="submit">
</form>
</body>
</html>
To access textarea using jquery ,following is the way
var message = $('comment').val();
Tuesday, May 12, 2015
#deepstutorials:Horizontal tab navigation in bootstrap
The following code creates a horizontal tab navigation using bootstrap as shown below
<html lang="en">
<head>
<title>Bootstrap Example for horizontal tab navigation</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>horizontal Navigation Pills</h2>
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Women</a></li>
<li><a href="#">Men</a></li>
<li><a href="#">kids</a></li>
</ul>
</div>
</body>
</html>
#deepstutorials:Bootstrap breadcrumb example
The following code shows example to use bootstrap "breadcrumbs" to create a wizard like workflow.
<html lang="en">
<head>
<title>Bootstrap Example for breadcrumb</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<p>The .breadcrumb class indicates the current page's location within a navigational hierarchy:</p>
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li><a href="#">Clothing</a></li>
<li><a href="#">Women</a></li>
<li class="active">Hand bags</li>
</ol>
</body>
</html>
The .breadcrumb class indicates the current page's location within a navigational hierarchy.Curently,we are at "hand bags" page whose label is in "grey color".The .active class indicates that it is on the current page.
Subscribe to:
Posts (Atom)