Wednesday, August 12, 2009

X windows

X windows is not part of the operating system on any of the systems it runs on. Instead it is a user application built as an additional layer on top of whatever the host operating system is.

X uses a client-server model: an X server communicates with various client programs. The server accepts requests for graphical output (windows) and sends back user input (from keyboard, mouse, or touch screen). The server has function displaying to a window of another display system, a system program controlling the video output of a PC, a dedicated piece of hardware. And the function of clients includes: administering a remote machine graphically, running a computationally intensive simulation on a remote UNIX machine and displaying the results on a local Windows desktop machine.

The communication protocol between server and client operates network-transparently: the client and server may run on the same machine or on different ones, possibly with different architectures and operating systems, but they run the same in either case. A client and server can even communicate securely over the Internet by tunneling the connection over an encrypted network session.

There are many popular desktop environments and each user is free to choose which the best desktop environment for them. The result is that, if you use an all KDE or all, gnome system, the look and feel of the environment is very consistent and your applications all interact between them. This just wasn’t possible when we had application written in variety of different toolkits. The range of facilities provided by modern desktop environment under Linux also enable some other niceties, like component architecture which allow you to do thing like having a live spreadsheet or chart inside a word processing document, global printing facilities, similar to the printing contexts found in windows or scripting language, which let more advanced users write program to glue application together and have them interact and cooperate ways.

X window is a system (application) that running in certain Operating System for achieving Graphical User Interfaces (GUI). One reason X has had such staying power is that from the beginning it incorporated many of the windowing capabilities that we now take for granted. These capabilities include network transparency, graphical capability, the use of a mouse, and the ability to link together a heterogeneous network of workstations from different vendors.

One of the most significant features of X is that it was specifically designed to work across a network. The client and the server communicate via the X Protocol, a network protocol that can run locally or across a network. Regardless of whether a client program is local or remote, it communicates with the server through the X Protocol.

X window in windows operating system have function to build interface. as if we used windows operating system and want to used Mac interface we can used X window with other application help. So the function X windows in windows operating system have function just build interface, it don’t have function as GUI. Windows constant used their own GUI.

Review About Web Mining

Web mining is the application for discovering pattern data mining technique from website. Data mining is divided into three types according analysis target which are web usage mining is the application that use the data mining to compile and founded the interesting pattern of user usage data in the web site. It may consist of text, image, audio, video or structure records like list and table.

Web structure mining process of that using graph theory for analyze the node and structure connection of a web site. Web structure mining compile pattern from hyperlink in the website. Web usage mining is the application use data mining to analyze and describe interesting data or pattern of the user’s usage in the web.

The Benefit Usage Web Mining

1. Page ranking metrics like whenever we search data in search engine like Google it will make a metric for ranking hypertext document that determine the quality of these document. It will be make a rank in web searching data web world.

2. Robot Detection and Filtering like a program to help users to automatically transverse the hyperlink structure of the web in order to locate and retrieve information.

3. Information scent is a concept that use the pattern and information presented that around link in the web site, for evaluate quality from web itself

4. User profiles is a method for note all user activity in the web

5. Personalized Customer Experience in E-commerce is a process user note that online buying process behavior that usually users visited in web.

6. Web Search provide user access to information in widely and in commons. That simply and faster of the search facility

7. Web-wide tracking it provide an understanding of an individual of an individual’s lifestyle and habit to a level unpredicted.

8. Understanding auction behavior it to providing a forum for each such community to interact among them self.

9. Personalized Portal for the Web it designed that user to have insight into an private web usage habit, it compile personal content, that popularized by yahoo web site.

Tuesday, August 11, 2009

make report from gridview to exel

friend if you want to make some report from gridview in Visual Studio using Visual Basic
don't forget to use

Imports System.IO

then type it into your link

Response.Buffer = True

Response.AddHeader("content-disposition", "attachment;filename=GridView1.xls")
Response.Charset = ""
Response.ContentType = "application/"

Dim sw As New StringWriter()
Dim hw As New HtmlTextWriter(sw)

GridView1.AllowPaging = False

'Change the Header Row back to white color
GridView1.HeaderRow.Style.Add("background-color", "#FFFFFF")
'Apply style to Individual Cells
GridView1.HeaderRow.Cells(0).Style.Add("background-color", "green")
GridView1.HeaderRow.Cells(1).Style.Add("background-color", "green")
GridView1.HeaderRow.Cells(2).Style.Add("background-color", "green"

For i As Integer = 0 To GridView1.Rows.Count - 1
Dim row As GridViewRow = GridView1.Rows(i)
'Change Color back to white
row.BackColor = System.Drawing.Color.White
'Apply text style to each Row
row.Attributes.Add("class", "textmode")
'Apply style to Individual Cells of Alternating Row
If i Mod 2 <> 0 Then
row.Cells(0).Style.Add("background-color", "#C2D69B")
row.Cells(1).Style.Add("background-color", "#C2D69B")
row.Cells(2).Style.Add("background-color", "#C2D69B")
End If

'style to format numbers to string
Dim style As String = ""

add this code to...

Public Overloads Overrides Sub VerifyRenderingInServerForm(ByVal control As Control)
' Verifies that the control is rendered
End Sub

last set your EnableEventValidation="false"

let't try....