CSharp

namespace WpfApplication1
{
  public partial class MainWindow : Window
  {
    public MainWindow()
    {
      InitializeComponent();
    }

    protected void btnAnimatelblMessage_Click(object sender, RoutedEventArgs args)
    {
      DoubleAnimation dblAnim = new DoubleAnimation();DoubleAnimation dblAnim = new DoubleAnimation();DoubleAnimation dblAnim = new DoubleAnimation();DoubleAnimation dblAnim = new DoubleAnimation();DoubleAnimation dblAnim = new DoubleAnimation();
      dblAnim.From = 40;
      dblAnim.To = 200;
      dblAnim.AutoReverse = true;
      dblAnim.RepeatBehavior = new RepeatBehavior(TimeSpan.FromSeconds(30));
      dblAnim.Duration = new Duration(TimeSpan.FromSeconds(4));
      lblHeight.BeginAnimation(Label.HeightProperty, dblAnim);
    }

    protected void btnAnimatelblTransparency_Click(object sender, RoutedEventArgs args)
    {
      DoubleAnimation dblAnim = new DoubleAnimation();
      dblAnim.From = 1.0;
      dblAnim.To = 0.0;
      dblAnim.Duration = new Duration(TimeSpan.FromSeconds(10));
      lblTransparency.BeginAnimation(Label.OpacityProperty, dblAnim);
    }

  }
}

the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog the quick brown fox jumps over the lazy dog

C++

#include <iostream>







#include <fstream>



using namespace std;



int main(){



   char fileName[80];



   char buffer[255];



   cout << "Please re-enter the file name: ";



   cin >> fileName;







   ifstream fin(fileName);



   if (fin){



      char ch;



      while (fin.get(ch))



         cout << ch;



   }



   fin.close();







   cout << "in append mode...\n";







   ofstream fout(fileName,ios::app);



   if (!fout)



   {



      cout << "Unable to open for appending.\n";



      return(1);



   }



}

 

HTML

<html>



<body>







<h1 style="text-align:center">This is heading 1</h1>







<p>The heading above is aligned to the center of this page.</p>







</body>



</html>

 

Java

package org.kodejava.example.sql;







import java.sql.DatabaseMetaData;



import java.sql.DriverManager;



import java.sql.SQLException;



import java.sql.Connection;



import java.sql.ResultSet;











public class DatabaseTypeInfo {



    private static final String DRIVER = "com.mysql.jdbc.Driver";



    private static final String URL = "jdbc:mysql://localhost/kodejava";



    private static final String USERNAME = "root";



    private static final String PASSWORD = "";







    public static void main(String[] args) throws Exception {



        Connection connection = null;



        ResultSet resultSet = null;



        try {



            Class.forName(DRIVER);



            connection = DriverManager.getConnection(URL, USERNAME, PASSWORD);







            DatabaseMetaData metadata = connection.getMetaData();



            resultSet = metadata.getTypeInfo();



            while (resultSet.next()) {



                String typeName = resultSet.getString("TYPE_NAME");



                System.out.println("Type Name = " + typeName);



            }



        } catch (SQLException e) {



            e.printStackTrace();



        } finally {



            if (resultSet != null) {



                resultSet.close();



            }



            if (connection != null) {



                connection.close();



            }



        }



    }



}

 

T-SQL

# Table structure for table 'sometable'










CREATE TABLE sometable (



   id bigint(15) NOT NULL auto_increment,



   Event longtext NOT NULL,



   EventDate datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,



   Timestamp timestamp(14),



   PRIMARY KEY (id)



);
<rss 

    xmlns:mscomdomain="https://msdn.microsoft.com/aboutmsdn/rss/domains" 

    xmlns:mscom="https://msdn.microsoft.com/aboutmsdn/rss/" 

    xmlns:dc="https://purl.org/dc/elements/1.1/" 

    version="2.0">

    <channel>

        <title>MSDN: U.S. Local Highlights</title>

        <description>The latest developer information for the United States.</description>

        <link>https://msdn.microsoft.com</link>

        <language>en-us</language>

        <lastBuildDate>Fri, 21 May 2010 05:41:00 GMT</lastBuildDate>

        <pubDate>Fri, 21 May 2010 05:41:00 GMT</pubDate>

        <ttl>1440</ttl>

        <generator>FeedForAll v2.0 (2.0.2.9) https://www.feedforall.com</generator>

       <item>

          <title>MSDN Webcast: Creating Microsoft Office 2010 Add-ins Using SharePoint 2010 as a Data Source</title>

          <description>A common request for developers is to surface internal Microsoft SharePoint data within the Microsoft Office client applications. Learn the recipe for creating these kinds of solutions and understand what kinds of benefits you can bring to users.</description>

          <link>https://go.microsoft.com/?linkid=9732474</link>

          <mscom:simpleDate>May 21</mscom:simpleDate>

          <pubDate>Fri, 21 May 2010 05:41:00 GMT</pubDate>

       </item>

       <item>

          <title>Silverlight 4 Developer Training</title>

          <description>Key aspects in this course are working with numerous sandboxed and elevated out-of-browser features, the new RichTextBox control, implicit styling, webcam, drag and drop, multitouch, validation, authentication, MEF, WCF RIA Services, right mouse click, and more!</description>

          <link>https://go.microsoft.com/?linkid=9732475</link>

          <mscom:simpleDate>May 21</mscom:simpleDate>

          <pubDate>Fri, 21 May 2010 05:41:00 GMT</pubDate>

       </item>

      <item>

          <title>Get the New MSDN Widget</title>

          <description>Want to enrich your site, blog, or profile page with the latest MSDN content and news? Check out the new MSDN Widget. Customize the content feeds, widget size, and even skin it with your own logo – then easily incorporate it on your blog or site with the embed code provided. Try it!</description>

          <link>https://go.microsoft.com/?linkid=9732472</link>

          <mscom:simpleDate>May 18</mscom:simpleDate>

          <pubDate>Tue, 18 May 2010 00:31:00 GMT</pubDate>

       </item>

</channel>

</rss>