Monday, December 23, 2013

Play YouTube Video In HTML.

Here I am Going to explain how can you play YouTube Video in HTML.
Just add below  Code in your HTML page. You Can Change the Height,Width according to your Requirement. And Change Src="http://www.youtube.com/embed/ldrmaA72PJg" to your YouTube Video URL.

<iframe width="400" height="400"
src="http://www.youtube.com/embed/ldrmaA72PJg">
</iframe> 

Explanation :

Just Copy and Paste the below code in your HTML page .

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Play YouTube Video In HTML</title>
</head>
<body>
<pre class="code"
        style="background-color: white; border: 6px solid rgb(234, 234, 234); color: #444444; font-family: 'courier new'; font-size: 13px; line-height: 18px; outline: rgb(212, 212, 212) solid 1px; overflow: auto; padding: 15px; position: relative; text-align: center; width: 510px;"><img
        alt="" src="dotnetlogo.png" style="height: 64px; width: 230px" />
Play YouTube Video In HTML .

<iframe width="420" height="345"
src="http://www.youtube.com/embed/ldrmaA72PJg" id="I1" name="I1"></iframe>
WebSite : <a href="http://sarojasp.blogspot.in/">http://sarojasp.blogspot.in/</a>

</pre>
</body>
</html>


















If this Post Help You then Please Share.


Friday, December 20, 2013

Send Voice Mail using Notepad.

Here I am going to explain ,how can you send voice mail using Notepad.
Very easy way to send this mail.

Step : 1   -  Just copy and Paste the code in NotePad

  Dim message, saroj
message=("WelCome to Sarojasp.blogspot.com,I am very Happy to visit my site")
set saroj=CreateObject("sapi.spvoice")
saroj.Speak message

Step: 2 - Now save the file namely message.vbs  and close the notepad .

Step: 3 -Now Run and see the magic.

Step: 4 - Now  Create ZIp file (.rar) and Send Mail message to your Friends.


Wednesday, December 11, 2013

Count Remaining Characters in TextBox Using JavaScript.

Today I am going to explain How can you Count Remaining Characters in TextBox Using JavaScript.
Basically this program is use for sending SMS.
Demo : 

Now Copy the Code and Paste in .aspx Page

Monday, December 9, 2013

SQL Server Database BackUp using C# Code.

Here I am going to explain how to take the SQL Server database backup using C# coding.

 You have to add the following references in your application
Go to Your Application and Right Click on References folder and select Add Reference.
Now Go to "Browse" Tab and browse the following path-
"C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies"
Now Select the following dlls :
Demo :
  1. Microsoft.SqlServer.ConnectionInfo
  2. Microsoft.SqlServer.Management.Sdk.Sfc
  3. Microsoft.SqlServer.Smo
  4. Microsoft.SqlServer.SmoExtended
  5. Microsoft.SqlServer.SqlEnum