Wednesday, 23 March 2011

Implementing ICallBackEventHandler in ASP.Net

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ICallBackEventHandlerSample._Default" %>DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server">    <title>ICallbackEventHandlertitle>    <script language="javascript" type="text/javascript">        function GetResult(returnValue, context) {            document.getElementById("txtDateTime").value = returnValue;        }        function Request() {           ...

Thursday, 10 March 2011

Merging Two DataTables in C#

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in;...

Monday, 7 March 2011

sharing your data on facebook using asp.net

<%@ Page Language="C#"AutoEventWireup="true"CodeBehind="WebForm12.aspx.cs"Inherits="WebApplication1.WebForm12"%>DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server">    <title>Untitled Pagetitle>head><body>    <form id="form1" runat="server">    <div>    <script type="text/javascript">    functionfbs_click() {        u=location.href;        t=document.title;        window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');       ...

Pages 131234 »
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger