WorkflowMax is a web based, job management solution that will streamline your business, saving you time and money. With your job data stored in a secure, robust online environment, safe from theft or damage, you can access your projects anywhere, anytime.
Friday, October 24, 2008
Manage your jobs, projects & time online
Friday, October 10, 2008
Creating your family website
familyden.com is a place where your family can create your very own private websites and stay connected. On Family Den your family can easily share family photos, family videos, post family announcements and more
Saturday, September 20, 2008
Doctor online
Find a Doctor who accepts your health insurance. Doctor.com is the web’s leading destination for fast, easy, and reliable doctor search. Our easy-to-use interface and powerful tools help people and businesses find and connect with the medical professionals who can best meet their needs. Doctor.com features detailed listings of more than a million doctors, dentists, and other medical professionals in the United States. Users can filter their searches by location, specialty, accepted health insurance plans, and other highly-specific criteria.
Friday, August 29, 2008
Is Web 2.0 Possible with Existing Open Source Technologies?
If you Google "AJAX Web 2.0" you'll get over eight million hits, but what technologies will you find in that mix that can truly deliver on the promises of Web 2.0 today? While there's no single definition of Web 2.0, at its heart lays the Internet acting as a platform for social networks, where information can be created and shared in a community of interest.
complete article in here
Friday, August 22, 2008
Search Engines Rankings Monitoring
Semonics (Search Engines Rankings Monitoring) service provides you with an affordable solution to measure your website success. The popularity metrics track your web presence and enable informed actions. In addition to other Monitis monitoring services it will provide indispensable value for website owners by providing tools tailored to promote their website, increase reach and boost online sales.
Semonics is a web service; you don't need to worry about installation or maintenance. All your website metrics are available on customizable dashboard rich user interface. Semonics can be used together with other Monitis services such as website traffic, performance and availability monitoring and web analytics.
Tuesday, August 19, 2008
Record Your Family History With farmento.com
Sunday, August 17, 2008
Keynote Systems Helps Enterprises Safely to Join the Mobile and Web-Based Future
for complete article in here
Wednesday, August 13, 2008
Instant Blogging with Bimbl.com
bimbl.com is a very simple instant blog platform. You create an account in 6.2 seconds or so and your space is instantly available to start blogging on. We wish we could be more detailed, but thats it in a nutshell
Tuesday, August 12, 2008
SEC To Recognize Company Web Sites and Blogs As Channel of Distribution
complete article in here
Monday, August 11, 2008
Margin in CSS
The separation between most normal-flow elements occurs because of element margins. Setting a margin creates extra "blank space" around an element. "Blank space" generally refers to an area in which other elements cannot also exist and in which the parent element's background is visible
margin
Values
[
Initial value
not defined
Applies to
all elements
margin can accept any length of measure, whether in pixels, inches, millimeters, or ems. However, the default value for margin is effectively 0 (zero), so if you don't declare a value, by default, no margin should appear
Friday, August 8, 2008
Behind the Scenes at Facebook: Scaling Up FBChat Using Erlang
here for complete article
Thursday, August 7, 2008
Is Web 2.0 Possible with Existing Open Source Technologies?
for more complete article in here
Wednesday, August 6, 2008
SEC To Recognize Company Web Sites and Blogs As Channel of Distribution
The SEC has finally acknowledged that the nature of online information is increasingly interactive, and not static. Henceforth, according to a recommendation by its own Special Counsel in the SEC's Division of Corporation Finance, information appearing on company web sites "does not need to satisfy a printer-friendly standard or be in a format comparable to paper-based information, unless the Commission’s rules explicitly require it
for more complete article in here
Monday, August 4, 2008
Using the FormView Control
After I discuss about DetailsView in my latest post, now I will discuss about FormView Control. You can use the FormView control to do anything that you can do with the DetailsView control. Just as you can with the DetailsView control, you can use the FormView control to display, page, edit, insert, and delete database records. However, unlike the DetailsView control, the FormView control is entirely template driven. The FormView control provides you with more control over the layout of a form. Furthermore, adding validation controls to a FormView is easier than adding validation controls to a DetailsView control.
Example :
< asp:FormView >
id="frmStd"
DataSourceID="srcStd"
Runat="server" >
(ItemTemplate)
(h1)< %# Eval("name") % >< /h1 >
(b)Address :< /b >
< %# Eval("address") % >
(br)
(b)Age :< /b >
< %#Eval("age") % >
< /ItemTemplate >
< /asp:FormView >
Displaying Data with the DetailsView Control
If you want to display a single record of data in a table form with the field names in the left column and the field data in the right column, then the DetailsView control is for you. A DetailsView control renders an HTML table that displays the contents of a single database record. The DetailsView supports both declarative and programmatic databinding.
If you need more control over the appearance of the DetailsView, including the particular order in which columns are displayed, then you can use fields with the DetailsView control. The DetailsView control supports exactly the same fields as the GridView control:
BoundField Enables you to display the value of a data item as text.
CheckBoxField Enables you to display the value of a data item as a check box.
CommandField Enables you to display links for editing, deleting, and selecting rows.
ButtonField Enables you to display the value of a data item as a button (image button, link button, or push button).
HyperLinkField Enables you to display the value of a data item as a link.
ImageField Enables you to display the value of a data item as an image.
TemplateField Enables you to customize the appearance of a data item
Additionally, the DetailsView control contains a field called DataKeyNames.This is a string that represents the name of the primary key field in the data source.
Friday, August 1, 2008
Share your traveling
Thursday, July 31, 2008
Learning About Position in CSS
In my last post about CSS, I had discuss about Floating, now I will discuss about positioning. The idea behind positioning is fairly simple. It allows you to define exactly where element boxes will appear relative to where they would ordinarily be—or relative to a parent element, another element, or even to the browser window itself
The properties of positioning are :
position
Values
static | relative | absolute | fixed | inherit
Initial value
static
Applies to
all elements
The values of position have the following meanings:
static
The element's box is generated as normal. Block-level elements generate a rectangular box that is part of the document's flow, and inline-level boxes cause the creation of one or more line boxes that are flowed within their parent element.
relative
The element's box is offset by some distance. The element retains the shape it would have had were it not positioned, and the space that the element would ordinarily have occupied is preserved.
absolute
The element's box is completely removed from the flow of the document and positioned with respect to its containing block, which may be another element in the document or the initial containing block (described in the next section). Whatever space the element might have occupied in the normal document flow is closed up, as though the element did not exist. The positioned element generates a block-level box, regardless of the type of box it would have generated if it were in the normal flow.
fixed
The element's box behaves as though it was set to absolute, but its containing block is the viewport itself.
Wednesday, July 30, 2008
4D Releases 4D Web 2.0 Pack v11 Release 2 (11.2)
4D announced the release of 4D Web 2.0 Pack v11 Release 2. The new version, a combination of two products - 4D AJAX Framework and 4D for Flex - brings a powerful set of tools, plug-ins, and components that allow 4D developers to harness the power of Web 2.0 technologies, and deliver live web and rich internet applications to browsers, desktops, and portable devices such as the iPhone.
here for complete article
Tuesday, July 29, 2008
Manage Wordpress blog from iPhone
here for visit the sites
Sunday, July 27, 2008
Layout Style using Floating
Floating, on the other hand, first came to us in CSS1, based on a capability that had been added by Netscape early in the Web's life. Floating is not exactly positioning, but it certainly isn't normal-flow layout either. Keep a few things in mind with regard to floating elements. In the first place, a floated element is, in some ways, removed from the normal flow of the document, although it still affects the layout. In a manner utterly unique within CSS, floated elements exist almost on their own plane, yet they still have influence over the rest of the document.
Floating Property :
Values
left | right | none | inherit
Initial value
none
Applies to
all elements
Example :
< src="example.gif" style="float: left; margin:25px" alt="example">
Saturday, July 26, 2008
iPhone Resources
Friday, July 25, 2008
4D Releases 4D Web 2.0 Pack v11 Release 2 (11.2)
for complete article here
Thursday, July 24, 2008
CompareValidator in asp.net
The CompareValidator control enables you to perform a data type check, like we need to make sure the data a user enters in two fields on an input form is the same, such as when performing password or email verification.
The CompareValidator has six important properties:
ControlToValidate : The ID of the form field being validated.
Text : The error message displayed when validation fails.
Type : The type of value being compared. Possible values are String, Integer, Double, Date, and Currency.
Operator The type of comparison to perform. Possible values are DataTypeCheck, Equal, GreaterThan, GreaterThanEqual, LessThan, LessThanEqual, and NotEqual.
ValueToCompare : The fixed value against which to compare.
ControlToCompare : The ID of a control against which to compare
Code Example :
< asp:TextBox ID="txtPasswd1" runat="server" TextMode="Password" >< /asp:TextBox >< br />
< br />
< asp:Label ID="Label6" runat="server" Text="Re-enter Password" Width="136px" >< /asp:Label >< br / >
< asp:TextBox ID="txtPasswd2" runat="server" TextMode="Password" >< /asp:TextBox >
< asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Password not match" ControlToCompare="txtPasswd1" ControlToValidate="txtPasswd2" Display="Dynamic" >< /asp:CompareValidator >
Wednesday, July 23, 2008
Share Media From PC to Mobile
Tuesday, July 22, 2008
Scrapboy Brings Facebook to Users' Desktops
for complete article in here
Monday, July 21, 2008
Requiring That Data Be Filled In A Field
In asp.net we can use RequiredFieldValidator control and use the event handler of the control that completes the user's entry for the page to verify that validation was successful. for example, we need ensure that user has entered data in text box, such as first name and last name.
We must set two important properties when using the RequiredFieldValdiator control:
ControlToValidate The ID of the form field being validated
Text The error message displayed when validation fails
Code Example :
< %@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_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 >Code Example< /title >
< /head >
< body >
< form id="form1" runat="server" >
< div >
< asp:Label ID="Label1" runat="server" Text="First Name" Width="98px" >< /asp:Label >
< br / >
< asp:TextBox ID="txtFirstName" runat="server" >< / asp:TextBox >
< asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Fisrt Name Must Be Filled" ControlToValidate="txtFirstName" >< /asp:RequiredFieldValidator >< br / >
< br />
< asp:Label ID="Label2" runat="server" Text="Last Name" Width="98px" >< /asp:Label >
< br / >
< asp:TextBox ID="txtLastName" runat="server" >< /asp:TextBox >
< asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Last Name Must Be Filled" ControlToValidate="txtLastName">< /asp:RequiredFieldValidator>
< br />
< asp:Label ID="Label3" runat="server" Text="Age" Width="98px">< /asp:Label>
< br />
< asp:TextBox ID="TextBox3" runat="server" Width="35px">< /asp:TextBox>
< br />
< asp:Label ID="Label4" runat="server" Text="Adress" Width="98px">< /asp:Label>
< br />
< asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Width="300px">< /asp:TextBox>
< br />
< asp:Button ID="Button1" runat="server" Text="Save" />< /div>
< /form>
< /body>
< /html>
Sunday, July 20, 2008
Free Icon Database
iconshock.com is site that give many more icon with different style and its ideal for you to intregrate with your web applications, software, catalogs, games, printing media and much more.its free, you can tray this site,enjoy!!!
Friday, July 18, 2008
Put Film In Website with snagfilms.com
With a library of 225 documentaries, and rapidly growing — browse by topic or go through the alphabet from A-Z — you’re bound to find films that resonate with your interests. There is a widget for EVERY film, so any film you like can be snagged
Thursday, July 17, 2008
Generated Content in CSS
CSS2 and CSS2.1 include a new feature called generated content. This is content that is created by the browser but is not represented either by markup or content. To insert generated content into the document, use the :before and :after pseudo-elements. These place generated content before or after the content of an element by way of the content property (described in the next section).
If you're going to generate content, you need a way to describe the content to be generated. As you've already seen, this is handled with the content property, but there's a great deal more to this property than you've seen thus far
Content :
Values
normal | [
Initial value
normal
Applies to
:before and :after pseudo-elements
Example :
CSS script
h1:before {content:"This is first content"; display:block; color: red;}
HTML tag
< h1 >this is second content< /h1 >
Wednesday, July 16, 2008
InteleCom Launches Web 2.0 Viral Communication Tools Through Its Social Network
for complete article in here
Tuesday, July 15, 2008
SQL Server 2005 Express in ASP.NET (Overview)
SQL Server 2005 Express works with the Windows XP, Windows 2000, and the Windows 2003 operating systems. It requires the .NET Framework 2.0 to be installed on its host computer. Because its free product, Microsoft has limited some of its features to encourage you to upgrade to the full version of SQL Server 2005, for example Full-Text Search, Reporting Services, Analysis Services, Notification Services, English Query, Data Transformation Services, or OLAP and a SQL Server Express database can be no larger than 4 gigabytes. Furthermore, SQL Server Express is limited to using 1 gigabyte of RAM.
We can use three tools to create new database objects when using SQL Server 2005 Express. We can use the Database Explorer in Visual Web Developer, you can use the Microsoft SQL Server Management Studio Express, and we can use the SQLCMD utility.
Monday, July 14, 2008
myStaffingPro Applicant Tracking System Increases Web 2.0 Functionality
complete article in here
Photos Presentation Sites
Sunday, July 13, 2008
Photo Sharing Sites
Friday, July 11, 2008
Move Over Dot.Com
more complete article in here
Wednesday, July 9, 2008
Website Templates
Tuesday, July 8, 2008
About Selector in CSS ( con’t )
In addition to raw document elements, there are two other types of selectors: class selectors and ID selectors, which let you assign styles in a way that is independent of document elements. These selectors can be used on their own or in conjunction with element selectors. However, they work only if you've marked up your document appropriately, so using them generally involves a little forethought and planning.
Class Selectors
The most common way to apply styles without worrying about the elements involved is to use class selectors. Before we can use them, however, we need to modify your actual document markup so that the class selectors will work
example :
< class =" ‘error’"> This is a error message < /h1>
< class =" ‘error’"> Please enter your email correctly
Here, we’ve specified a class of error to both the h1 element and the p (paragraph) element. In CSS, class selectors are indicated by a class name preceded by a period (.).
Example : .error { color : red; font-weight:bold; }
This CSS will apply the styles noted in the declaration (a red, bold font) to all elements that have the class name error. In our markup, both the h1 and the p elements would become red and bold
Id Selectors
In some ways, ID selectors are similar to class selectors, but there are a few crucial differences. First, ID selectors are preceded by an octothorpe (#). The second difference is that instead of referencing values of the class attribute, ID selectors refer to values found in id attributes.
Example :
< id =" ‘error’"> This is a error message < /h1>
< id =" ‘error’"> Please enter your email correctly < /p>
then CSS
#error { color : red; font-weight:bold; }
This CSS will apply to all element that have id name error.
Monday, July 7, 2008
About Selector in CSS
Once of primary advantages of CSS is its ability to easily apply set of style to all elements of the same type.like example, by editing a single line of CSS, we can change background of all our heading. CSS has rule that divide become 2 parts : a selector, which tells the browser which element(s) will be affected by the rule; and a declaration block, which determines which properties of the element will be modified.
Example :
H1 { color : red }
H1 is a selector
color :red is a declaration block which is color is property and red is value
The selector, shown on the left side of the rule, defines which piece of the document will be affected. in this case, all element that contain H1 has become red.
Selector can also be grouping of selector, if we want the same style to apply to multiple elements. in that case we will want to use more than one selector or apply more than one style to an element or group of elements.
example :
h1,p { color : red }
in above example, elements h1 and paragraph have red text. By placing the h1 and p selectors on the left side of the rule and separating them with a comma, we have defined a rule where the style on the right (color: red;) applies to the elements referenced by both selectors. The comma tells the browser that there are two different selectors involved in the rule. Leaving out the comma would give the rule a completely different meaning.
about selector will be continue in the next post……
Sunday, July 6, 2008
Final Voting Phase on OpenAjax Browser Wishlist
for more complete article click here
Thursday, July 3, 2008
A Free Ajax Guestbook
JibberBook is an easy-to-use, open-source guestbook built with PHP5 and JavaScript. It aims to create a pleasant user experience while giving you much flexibility.
Wednesday, July 2, 2008
Network MIDlet
GCF providing HttpConnection interface for build all connection to network. Connector class and connection interface’s available in javax.microedition.io package. this decription about interface’s :
ContentConnection : stream connection that provide accesed to web data.
DatagramConnection : datagram connection that useful for handle packet communication based.
InputConnection : input connection to a communication device.
OutputConnection : output connection to a communication device.
we must always use connector class to manage network connection. all method in connector class is static with the most important part is open() method. There are 3 version open() method :
- static Connection open( String Name ) throws IOException
- static Connection open ( String Name,int mode ) throws IOException
- static Connection open ( String Name, int mode, Boolean timeout ) throws IOException
the first parameter is connection string. this use to select connection type that why this parameter is very important.
int mode use to description connection mode, READ, WRITE or READ_WRITE. default is READ_WRITE
example :
StreamConnection conn = (StreamConnection).Connector.Open (http://www.google.com)
Tuesday, July 1, 2008
Useful Resource for J2ME Developing
here many useful information for develop J2ME including J2ME application, tools, books
and many more
Monday, June 30, 2008
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
complete article click in here
Sunday, June 29, 2008
AccuRev Leverages Web 2.0 Technology to Extend Process Management Reach Across the Organization
for more complete article click in here
Saturday, June 28, 2008
Mobile Web 2.0
for more complete article click in here
Thursday, June 26, 2008
Creating Deleting Warning Button
Default.aspx
< %@ Page Language="VB" %>
< %@ Register TagPrefix="custom" Namespace="myControls" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< xmlns="http://www.w3.org/1999/xhtml">
< id="Head1" runat="server">
<>Untitled Page< /title>
< /head>
<>
< id="form1" runat="server">
<>
< id="SqlDataSource1" runat="server" connectionstring="">"
SelectCommand="SELECT * FROM [std]" DeleteCommand="delete from std where id=@id">< /asp:SqlDataSource>
< /div>
< id="GridView1" runat="server" autogeneratecolumns="False" cellpadding="4" datasourceid="SqlDataSource1" forecolor="#333333" gridlines="None" datakeynames="id">
< backcolor="#990000" bold="True" forecolor="White">
<>
< confirmtext="Are you sure that you want to delete this record?">
< datafield="name" headertext="name" sortexpression="name">
< /Columns>
< backcolor="#FFFBD6" forecolor="#333333">
< backcolor="#FFCC66" bold="True" forecolor="Navy">
< backcolor="#FFCC66" forecolor="#333333" horizontalalign="Center">
< backcolor="#990000" bold="True" forecolor="White">
< backcolor="White">
< /asp:GridView>
< /form>
< /body>
< /html>
and this is DeleteButtonField class
Imports System
Imports System.Web.UI.WebControls
Namespace myControls
'''
''' Displays a confirmation before deleting a record
'''
Public Class DeleteButtonField
Inherits ButtonField
Private _confirmText As String = "Delete this record?"
Public Property ConfirmText() As String
Get
Return _confirmText
End Get
Set(ByVal Value As String)
_confirmText = value
End Set
End Property
Public Sub New()
Me.CommandName = "Delete"
Me.Text = "Delete"
End Sub
Public Overrides Sub InitializeCell(ByVal cell As DataControlFieldCell, ByVal cellType As DataControlCellType, ByVal rowState As DataControlRowState, ByVal rowIndex As Integer)
MyBase.InitializeCell(cell, cellType, rowState, rowIndex)
If cellType = DataControlCellType.DataCell Then
Dim button As WebControl = CType(cell.Controls(0), WebControl)
button.Attributes("onclick") = String.Format("return confirm('{0}');", _confirmText)
End If
End Sub
End Class
End Namespace
Wednesday, June 25, 2008
Karaoke Online Application
Tuesday, June 24, 2008
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
For complete article click here
Monday, June 23, 2008
Making Money at Bux.to
Earnings Example
» You click 10 ads per day = $0.10
» 20 referrals click 10 ads per day = $2.00
» Your daily earnings = $2.10
» Your weekly earnings = $14.70
» Your monthly earnings = $63.00
The above example is based only on 20 referrals and 10 daily clicks. Some days you will have more clicks available, some days you will have less. What if you had more referrals? What if there were more ads available?
Thousands of satisfied members that have received their payment. If you're still not convinced, read the praise of our happy members.
Join now and receive a $0.05 Sign-up Bonus
Sunday, June 22, 2008
The Monetization of Mobile Multimedia
For more complete article read here
Friday, June 20, 2008
Styling Form In CSS
now I give a simple example how to styling form in CSS. I divide in two part, one is HTML script and other is CSS script.
here an HTML part
< !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>
< meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
< title>Styling Form Example< /title>
< /head>
< body>
< form id="form1" action="act/" method="post">
< fieldset id="name">
< legend>Name< /legend>
< label for="title">Title< /label>
< select id="title1" name="title1">
< option selected="selected">Mr.< /option>
< option>Mrs.< /option>
< option>Ms.< /option>
< /select>
< label for="firstname">First name< /label>
< input id="firstname" name="firstname" type="text" />
< label for="lastname">Last name< /label>
< input id="lastname" name="lastname" type="text" />
< br />
< /fieldset>
< fieldset id="address">
< legend>Address< /legend>
< label for="street">Street< /label>
< input id="street" name="street" type="text" />
< br />
< label for="city">City< /label>
< input id="city" name="city" type="text" />
< label for="state">State< /label>
< input id="state" name="state" type="text" />
< label for="zip">Zip code< /label>
< input id="zip" name="zip" type="text" />
< br />
< label for="country">Country< /label>
< input id="country" name="country" type="text" />
< br />
< /fieldset>
< fieldset id="submit">
< br />
< input type="submit" value="Submit" />
< br />
< /fieldset>
< /form>
< /body>
< /html>
then now apply this CSS :
< style type="text/css">
body{
background-color:#000000;
}
fieldset{
background-color:#3399FF;
width:450px;
}
legend{
color:#FFFFFF;
font-weight:bold;
font-size:16pt;
}
label {
display: block;
float: left;
clear: left;
width: 9em;
padding-right: 1em;
text-align: right;
line-height: 1.8em;
}
input {
display: block;
float: left;
}
br {
clear: both;
}
< /style>
you can use this CSS between tag < head> and < /head>
Thursday, June 19, 2008
Top Keynotes at Industry's Top RIA Conference: 6th International AJAX World
for more complete article click here
Monday, June 16, 2008
Paging with AJAX
Code Example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< xmlns="http://www.w3.org/1999/xhtml">
< head id="Head1" runat="server">
< title >AJAX Page Example< /title>
< /head>
< body>
< form id="form1" runat="server">
< div>
< id="grdStd" datasourceid="srcStudent" allowpaging="true" enablesortingandpagingcallbacks="true" pagesize="5" runat="server">
< id="srcStudent" connectionstring="">"
SelectCommand="SELECT id,name,address FROM student"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
Sunday, June 15, 2008
The Growth of Web 2.0 Services
for more complete article click here
Thursday, June 12, 2008
Sorting with AJAX
By default, whenever we click a column header to sort the rows contained in a GridView, the page containing the GridView is posted back to the server. When sorting records with the GridView control, we can avoid posting the entire page back to the server by taking advantage of AJAX (Asynchronous JavaScript and XML).
we enable AJAX by including the EnableSortingAndPagingCallbacks property when declaring the GridView
for example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< xmlns="http://www.w3.org/1999/xhtml">
< id="Head1" runat="server">
<>AJAX Sorting Example< /title>
< /head>
<>
< id="form1" runat="server">
<>
< %= DateTime.Now.ToString("T") %>
< id="grdStudent" datasourceid="srcStudent" allowsorting="true" enablesortingandpagingcallbacks="true" runat="server">
< id="srcStudent" connectionstring="">"
SelectCommand="SELECT id,name,address,phone FROM student"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
Wednesday, June 11, 2008
Displaying Data with GridView
The GridView control is the workhorse of the ASP.NET 2.0 Framework. It is one of the most feature-rich and complicated of all the ASP.NET controls. The GridView control enables you to display, select, sort, page, and edit data items such as database records. The GridView renders its data items in an HTML table. Each data item is rendered in a distinct HTML table row.
For Example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< html xmlns="http://www.w3.org/1999/xhtml" >
< head id="Head1" runat="server">
< title>Show Students< /title>
< /head>
< body>
< form id="form1" runat="server">
< div>
< asp:GridView
id="grdStudent"
DataSourceID="srcStudent"
Runat="server" />
< asp:SqlDataSource
id="srcStudent"
ConnectionString="<%$ ConnectionStrings:Student %>"
SelectCommand="SELECT id,name,address,phone
FROM student"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
the GridView control is bound to a SqlDataSource control, which represents the Student database table. The GridView is associated with its data source through its DataSourceID property
Thursday, June 5, 2008
Web 2.0 Template
Wednesday, June 4, 2008
Latest Web 2.0 App
Here some a new web 2.0 app, very nice site and cool. check this out !!!
Monday, June 2, 2008
Simple AJAX
This a simple AJAX code. now i'm using PHP as server side programming language. there is 3 source, they are index.html, script.js and process.php
index.html
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html >
< head>
< title>Simple AJAX< /title>
< script type="text/javascript" src="script.js">< /script>
< /head>
< body onload='process()'>
Input Tutorial:
< input type="text" id="myName" />
< div id="divMessage" />
< /body>
< /html>
process.php
< ?php
// create XML output
header('Content-Type: text/xml');
// create XML header
echo '';
// create the
echo '
// get paramater
$name = $_REQUEST['name'];
// create output
$userNames = array('AJAX', 'WEB 2.0', 'ASP.NET');
if (in_array(strtoupper($name), $userNames))
echo 'This tutorial about ' . htmlentities($name) . '!';
else if (trim($name) == '')
echo 'Please input tutorial that you want';
else
echo ' Sorry, there is no tutorial about '.htmlentities($name).'!';
echo '
? >
script.js
var xmlHttp = createXmlHttpRequestObject();
// Create Request Object
function createXmlHttpRequestObject()
{
var xmlHttp;
// if Internet Explorer
if(window.ActiveXObject)
{
try
{
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e)
{
xmlHttp = false;
}
}
// if Mozilla or another browser
else
{
try
{
xmlHttp = new XMLHttpRequest();
}
catch (e)
{
xmlHttp = false;
}
}
if (!xmlHttp)
alert("Error creating the XMLHttpRequest object.");
else
return xmlHttp;
}
// Create asynchronous HTTP request with XMLHttpRequest object
function process()
{
if (xmlHttp.readyState == 4 || xmlHttp.readyState == 0)
{
// get parameter input by user
name = encodeURIComponent(document.getElementById("myName").value);
var param='name='+name;
// connection to server
xmlHttp.open("POST", "process.php", true);
xmlHttp.onreadystatechange = handleServerResponse;
xmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
// Create request to server
xmlHttp.send(param);
}
else
setTimeout('process()', 1000);
}
function handleServerResponse()
{
if (xmlHttp.readyState == 4)
{
if (xmlHttp.status == 200)
{
xmlResponse = xmlHttp.responseXML;
xmlDocumentElement = xmlResponse.documentElement;
helloMessage = xmlDocumentElement.firstChild.data;
document.getElementById("divMessage").innerHTML ='' + helloMessage + '';
// restart sequence
setTimeout('process()', 1000);
}
else
{
alert("There was a problem accessing the server: " + xmlHttp.statusText);
}
}
}
Saturday, May 31, 2008
AJAX Article
i got nice article about AJAX. This article discuss how AJAX can make some different on process web development. here to read this article, enjoy.....
Friday, May 30, 2008
Using RadioButtonList Control
The RadioButtonList control, like the DropDownList control, enables a user to select only one list item at a time. The RadioButttonList control displays a list of radio buttons that can be arranged either horizontally or vertically.
The RadioButtonList control includes three properties that have an effect on its layout:
RepeatColumns The number of columns of radio buttons to display.
RepeatDirection The direction that the radio buttons are repeated. Possible values are Horizontal and Vertical.
RepeatLayout Determines whether the radio buttons are displayed in an HTML table. Possible values are Table and Flow.
By default, the radio buttons rendered by the RadioButtonList control are rendered in an HTML table. If you set the RepeatLayout property to the value Flow, then the radio buttons are not rendered in a table. Even when the RadioButtonList renders its items in Flow layout mode, you can specify multiple columns
Code Example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< runat="server">
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs)
lblStudent.Text = rblStudent.SelectedItem.Text
End Sub
< /script>
< xmlns="http://www.w3.org/1999/xhtml">
< id="Head1" runat="server">
<>Show RadioButtonList< /title>
< /head>
< body>
< id="form1" runat="server">
< form id="form1" runat="server">
< div>
< asp:RadioButtonList
id="rblStudent"
DataSourceID="srcStudent"
DataTextField="name"
DataValueField="id"
RepeatColumns="3"
Runat="server" />
< id="btnSubmit" text="Submit" runat="server" onclick="btnSubmit_Click">
< id="lblStudent" runat="server">
< id="srcStudent" selectcommand="SELECT id, name FROM student" connectionstring="">"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
Wednesday, May 28, 2008
Create simple upload file in PHP
This simple code for upload in php. this need two files, form.html and upload.php.
Form.html
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< xmlns="http://www.w3.org/1999/xhtml">
<>
< equiv="Content-Type" content="text/html; charset=utf-8">
<>Untitled Document< /title>
< /head>
<>
< action="upload.php" method="post" enctype="multipart/form-data">
Browse File : < type="file" name="filename">
<><>
< type="submit" value="Submit">
< /form>
< /body>
< /html>
and this code for upload.php for handling upload process to server.
< ? $directory="E:/myweb/public_html/example_blog/upload/data";
if(@copy($_FILES[filename][tmp_name],$directory."/".$_FILES[filename][name])):
print "upload success";
else:
print "upload failed";
endif;
exit;
? >
Tuesday, May 27, 2008
Using Drop Down List in ASP.NET
The DropDownList control enables you to display a list of options while requiring a minimum of screen real estate. A user can select only one option at a time when using this control
Code example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< script runat="server">
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs)
lblStudent.Text = ddlStudent.SelectedItem.Text
End Sub
< /script>
< html xmlns="http://www.w3.org/1999/xhtml" >
< head id="Head1" runat="server">
< title>Show DropDownList< /title>
< /head>
< body>
< form id="form1" runat="server">
< div>
< asp:DropDownList
id="ddlStudent"
DataSourceID="srcstudent"
DataTextField=name"
DataValueField="id"
Runat="server" />
< asp:Button
id="btnSubmit"
Text="Submit"
OnClick="btnSubmit_Click"
Runat="server" />
< hr />
< asp:Label
id="lblStudent"
Runat="server" />
< asp:SqlDataSource
id="srcstudent"
SelectCommand="SELECT id,name FROM student"
ConnectionString="<%$ ConnectionStrings:student %>"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
The DropDownList control renders an HTML <> tag. One problem with the HTML <> tag is that it has an infinite z index. In other words, you can't place other objects, such as an absolutely positioned <> tag, in front of a DropDownList control in a page.
Sunday, May 25, 2008
Web 2.0 Tools
Thursday, May 22, 2008
Using Outline in CSS
An outline is sort of a like a border, but there are some very important differences.
- outlines do not participate in the flow of the document like borders do, and thus don't trigger document reflow as they appear and disappear.
- outlines can be nonrectangular
Outlines are considered to be part of user interface styling because they are most often used to indicate the current focus.
Outline Property :
Values
[ <> || <> || <> ] | inherit
Initial value
not defined
Applies to
all elements
Wednesday, May 21, 2008
Templates in Data Bound Control
Every DataBound control included in the ASP.NET 2.0 Framework supports templates with the sole exception of the treeView control. The Repeater, DataList, and FormView controls all require you to use templates. If you don't supply a template, then these controls display nothing. The GridView, DetailsView, and Menu controls also support templates, but they do not require a template. A template can contain HTML, DataBinding expressions, and other controls.
Example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< html xmlns="http://www.w3.org/1999/xhtml" >
< head id="Head1" runat="server">
< title>Show Links< /title>
< /head>
< body>
< form id="form1" runat="server">
< div>
< asp:Repeater
id="Repeater1"
DataSourceId="srcStudent"
Runat="server">
< ItemTemplate>
< asp:HyperLink
id="HyperLink1"
Text='<%# Eval("name") %>'
NavigateUrl='<%# Eval("id", "Details.aspx?id={0}") %>'
runat="server" />
< br />
< /ItemTemplate>
< /asp:Repeater>
< asp:SqlDataSource
id="srcStudent"
ConnectionString="Data Source=.\SQLExpress;
AttachDbFilename=|DataDirectory|Data.mdf;
Integrated Security=True;User Instance=True"
SelectCommand="SELECT id, name FROM student"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
Tuesday, May 20, 2008
Top Web 2.0 Apps
here are top Web 2.0 apps :
Reflect.com : Reflect is a hosted website solution that allows web designers and their clients to easily create and manage websites.
designmyroom.com : is easiest for design interior spaces
ajaxlookup.com : free service to check domain availability
Sunday, May 18, 2008
How to : Image Validator In PHP
This simple source to create image validator function :
function generate_image_validator(){
global $app;
// Create an image where width=155 pixels and height=35 pixels
$val_img = imagecreate(155, 35);
// Allocate 2 colors to the image
$color1 = imagecolorallocate($val_img, 46,60,31);
$color2 = imagecolorallocate($val_img, 238,239,239);
// Create a seed to generate a random number
srand((double)microtime()*1000000);
// Run the random number seed through the MD5 function
$seed_string = md5(rand(0,9999));
// Chop the random string down to 5 characters
// This is the validation code we will use
$val_string = substr($seed_string, 17, 5);
// Set the background of the image to color2
imagefill($val_img, 0, 0, $color2);
// Print the validation code on the image in color1
imagestring($val_img, 4, 75, 10, $val_string, $color1);
// Write the image file to the current directory
imagejpeg($val_img, "img.jpg");
imagedestroy($val_img);
$app[val_string]=$val_string;
return;
}