Monday, November 1, 2010

How to get rid of the ellipsis after?

Difficulties: How to get rid of the ellipsis after? 
Answer: two thousand and six Sp6 driven easily upgrade to SiteWeaver6.5, and if the text of an article written two or more of the work, the length of the set is 20, but the whole of the back there will also be an ellipsis. But in two thousand and six in the not that difficult, should ask about how to correct?
1, set the length of the emergence, such as: governance for the text works - Works Centre, the text set - front style


*
Set set big points.
2, the correction Include \ PowerEasy.Common.Content.asp in the 314 line Private Function GetAuthorInfo (tmpAuthorName, iChannelID) have linked the source code
Private Function GetAuthorInfo (tmpAuthorName, iChannelID) 
Dim i, temp, authors arry, temprs, temparr 
If IsNull (tmpAuthorName) Or tmpAuthorName = "Unknown" Or tmpAuthorName = "Anonymous" Then 
GetAuthorInfo = tmpAuthorName 
Else 
On the arry = Split (tmpAuthorName, "|") 
For i = 0 To UBound (of arry) 
temp = temp of OF & "" & GetSubStr (of arry (i), AuthorInfoLen, False) & "" 
If i <> UBound (of arry) Then temp = temp Analysis of & "|" 
Next 
GetAuthorInfo = temp of 
End If 
End Function 
It is also the source code to Red False, default is Ture.

How to get rid of the ellipsis after?

Difficulties: How to get rid of the ellipsis after? 
Answer: two thousand and six Sp6 driven easily upgrade to SiteWeaver6.5, and if the text of an article written two or more of the work, the length of the set is 20, but the whole of the back there will also be an ellipsis. But in two thousand and six in the not that difficult, should ask about how to correct?
1, set the length of the emergence, such as: governance for the text works - Works Centre, the text set - front style


*
Set set big points.
2, the correction Include \ PowerEasy.Common.Content.asp in the 314 line Private Function GetAuthorInfo (tmpAuthorName, iChannelID) have linked the source code
Private Function GetAuthorInfo (tmpAuthorName, iChannelID) 
Dim i, temp, authors arry, temprs, temparr 
If IsNull (tmpAuthorName) Or tmpAuthorName = "Unknown" Or tmpAuthorName = "Anonymous" Then 
GetAuthorInfo = tmpAuthorName 
Else 
On the arry = Split (tmpAuthorName, "|") 
For i = 0 To UBound (of arry) 
temp = temp of OF & "" & GetSubStr (of arry (i), AuthorInfoLen, False) & "" 
If i <> UBound (of arry) Then temp = temp Analysis of & "|" 
Next 
GetAuthorInfo = temp of 
End If 
End Function 
It is also the source code to Red False, default is Ture.

How to correct the control of the background log Authentication Code

Internet running, want to change the background of governance login authentication code how to change?

1, for SiteFactory version, please use Notepad to open the document under the Internet that list: \ config \ Site.config, found at the following source code and correct identification of the source code to the red:
 8888  SiteManageCode>

2, for SiteWeaver version, please use Notepad to open the document under the list of Internet Root: config.asp, found at the following source code and correct identification of the source code to the red:
Const SiteManageCode = "PowerEasy two thousand and eight"

How to correct the control of the background log Authentication Code

Internet running, want to change the background of governance login authentication code how to change?

1, for SiteFactory version, please use Notepad to open the document under the Internet that list: \ config \ Site.config, found at the following source code and correct identification of the source code to the red:
 8888  SiteManageCode>

2, for SiteWeaver version, please use Notepad to open the document under the list of Internet Root: config.asp, found at the following source code and correct identification of the source code to the red:
Const SiteManageCode = "PowerEasy two thousand and eight"

Application of C # and ADO.NET SQL database application data on visitors

The second Internet Guide: SQL-based database-Sever Q data. One used in this article written by a simple C # example. Connect the data connection is the beginning of the visit, and it has to decide how to connect to the data source. At this point needs to stop setting on the property, (such as ConnectionString), establish contact with the data source. The following lists the key attributes and connection tips. The body of the key attributes:
 
ADO.NET application applications class framework, which allows visitors the data, and for. NET applications using the effective use of procedures to help direct way to obtain the necessary information. In this article, I introduced how to use C # and ADO.NET SQL database applications based on application-Sever visitors data. One used in this article written by a simple C # example.
Connection

The beginning of the data connection is visiting the place and decide how to connect to data source. At this point needs to stop setting on the property, (such as ConnectionString),establish contact with the data source. The following lists the key attributes and connection tips.

Key property
  • ConnectionString: (read / write) used to open the SQL Database Sever the char string.
  • ConnectionTimeout: (read) try to connect the maximum time control.
  • Database: (read) currently connected (or connecting) the database name.
  • DataSource: (read) needs to connect to SQL Sever database instance name.
  • Server Version: (read) connected Sever SQL database version of char string validation for example.
  • State: (read) the current connection status.
Key tips
  • BeginTransaction: (overload) the beginning of a database transaction.
  • ChangeDatabase: the SqlConnection change the current database.
  • Close: Close the database connection.
  • CreateCommand: Creates and returns associated with the SqlConnection SqlCommand object.
  • Open: After set the ConnectionString property to properly open a database connection.
Command
Applied ADO.NET applications stored procedures and SQL commands for the operation of the database statement is very important. Here are the key attributes of the commands and tricks.
The key attributes
  • CommandText: (read / write) T-SQL statement or stored procedure database.
  • CommandTimeout: (read / write) command to run the maximum allowed time control.
  • CommandType: (read / write) to explain the instructions CommandText property value.
  • Connection: (read / write) SqlCommand for example the use of the SqlConnection.
  • Parameters: (Reading) SqlParameterCollection.
  • Transaction: (read / write) SqlCommand command to run the business.
Key tips
  • Cancel: cancel operation SqlCommand command.
  • CreateParameter: Create a new SqlParameter object for example.
  • ExecuteNonQuery: Run T-SQL database and return a statement by the effect of the number of rows.
  • ExecuteReader: (overloaded) Send CommandText to the connection, and the establishment of SqlDataReader.
  • ExecuteScalar: run a query and returns the query result set NO · 1 line NO · 1列value.
  • ExecuteXmlReader: Send CommandText to the connection and the establishment of a the XmlReader object.
  • Prepare not: for example in the SQL Database Sever version created for the command.
Data adapter
DataAdapter object is used to communicate the data source and DataSet objects, so it did not score restored and updated.
Key property
  • AcceptChangesDuringFill: (read / write) value, this value may be called on the instructions in the DataRow AcceptChanges situation, and this time the DataRow has been added to the DataTable.
  • TableMappings: (read) in the data source table and DataTable to help the major mapping between the sets.
Key tips
  • Fill: add and update rows in the DataSet with the DataSet data source in the application match the name on the line to stop matching; and create a named "Table" of the DataTable.
  • FillSchema: Add DataSet to the specified named "Table" of the DataTable, and set the framework specified in the data source to match the outline of the match SchemaType.
  • GetFillParameters: Select command in the Run SQL database, the recovery parameter set by the user.
  • Update: For from the name "Table" of the DataTable in the DataSet, its corresponding action calls the appropriate command, such as: insert, update, and delete and so on.
  •  
Visiting the basis of data
In. NET applications use ADO.NET applications within the application framework application to stop workers, the demand to use the two System.Data namespace one: System.Data.SQLDatabase Client or System.Data.OleDB. Using namespace depends on what the database needs of visitors. If the SQL Database Sever visiting database, the Client should applySystem.Data.SQL database namespace; if visiting for more types of database, applicationSystem.Data.OleDB namespace.

Defines the OleDbConnection, conn's one example. In the ConnectionString property to specify the data source to help persons (Microsoft.JET.OLEDB version 4), and the location and name of the data source (Northwind.mdb S Access database). Next, create a Command object instance and set its CommandText property to the actual SQL database char string. Then open the connection, use the command object's ExecuteScalar tips of the first set of records to return the value, and it appears in the message box. In the try / catch block within the open connection; If an error occurs, a message box error message appears. In the finally block, the source code released connection object.

Application of C # and ADO.NET SQL database application data on visitors

The second Internet Guide: SQL-based database-Sever Q data. One used in this article written by a simple C # example. Connect the data connection is the beginning of the visit, and it has to decide how to connect to the data source. At this point needs to stop setting on the property, (such as ConnectionString), establish contact with the data source. The following lists the key attributes and connection tips. The body of the key attributes:
 
ADO.NET application applications class framework, which allows visitors the data, and for. NET applications using the effective use of procedures to help direct way to obtain the necessary information. In this article, I introduced how to use C # and ADO.NET SQL database applications based on application-Sever visitors data. One used in this article written by a simple C # example.
Connection

The beginning of the data connection is visiting the place and decide how to connect to data source. At this point needs to stop setting on the property, (such as ConnectionString),establish contact with the data source. The following lists the key attributes and connection tips.

Key property
  • ConnectionString: (read / write) used to open the SQL Database Sever the char string.
  • ConnectionTimeout: (read) try to connect the maximum time control.
  • Database: (read) currently connected (or connecting) the database name.
  • DataSource: (read) needs to connect to SQL Sever database instance name.
  • Server Version: (read) connected Sever SQL database version of char string validation for example.
  • State: (read) the current connection status.
Key tips
  • BeginTransaction: (overload) the beginning of a database transaction.
  • ChangeDatabase: the SqlConnection change the current database.
  • Close: Close the database connection.
  • CreateCommand: Creates and returns associated with the SqlConnection SqlCommand object.
  • Open: After set the ConnectionString property to properly open a database connection.
Command
Applied ADO.NET applications stored procedures and SQL commands for the operation of the database statement is very important. Here are the key attributes of the commands and tricks.
The key attributes
  • CommandText: (read / write) T-SQL statement or stored procedure database.
  • CommandTimeout: (read / write) command to run the maximum allowed time control.
  • CommandType: (read / write) to explain the instructions CommandText property value.
  • Connection: (read / write) SqlCommand for example the use of the SqlConnection.
  • Parameters: (Reading) SqlParameterCollection.
  • Transaction: (read / write) SqlCommand command to run the business.
Key tips
  • Cancel: cancel operation SqlCommand command.
  • CreateParameter: Create a new SqlParameter object for example.
  • ExecuteNonQuery: Run T-SQL database and return a statement by the effect of the number of rows.
  • ExecuteReader: (overloaded) Send CommandText to the connection, and the establishment of SqlDataReader.
  • ExecuteScalar: run a query and returns the query result set NO · 1 line NO · 1列value.
  • ExecuteXmlReader: Send CommandText to the connection and the establishment of a the XmlReader object.
  • Prepare not: for example in the SQL Database Sever version created for the command.
Data adapter
DataAdapter object is used to communicate the data source and DataSet objects, so it did not score restored and updated.
Key property
  • AcceptChangesDuringFill: (read / write) value, this value may be called on the instructions in the DataRow AcceptChanges situation, and this time the DataRow has been added to the DataTable.
  • TableMappings: (read) in the data source table and DataTable to help the major mapping between the sets.
Key tips
  • Fill: add and update rows in the DataSet with the DataSet data source in the application match the name on the line to stop matching; and create a named "Table" of the DataTable.
  • FillSchema: Add DataSet to the specified named "Table" of the DataTable, and set the framework specified in the data source to match the outline of the match SchemaType.
  • GetFillParameters: Select command in the Run SQL database, the recovery parameter set by the user.
  • Update: For from the name "Table" of the DataTable in the DataSet, its corresponding action calls the appropriate command, such as: insert, update, and delete and so on.
  •  
Visiting the basis of data
In. NET applications use ADO.NET applications within the application framework application to stop workers, the demand to use the two System.Data namespace one: System.Data.SQLDatabase Client or System.Data.OleDB. Using namespace depends on what the database needs of visitors. If the SQL Database Sever visiting database, the Client should applySystem.Data.SQL database namespace; if visiting for more types of database, applicationSystem.Data.OleDB namespace.

Defines the OleDbConnection, conn's one example. In the ConnectionString property to specify the data source to help persons (Microsoft.JET.OLEDB version 4), and the location and name of the data source (Northwind.mdb S Access database). Next, create a Command object instance and set its CommandText property to the actual SQL database char string. Then open the connection, use the command object's ExecuteScalar tips of the first set of records to return the value, and it appears in the message box. In the try / catch block within the open connection; If an error occurs, a message box error message appears. In the finally block, the source code released connection object.

Friday, October 29, 2010

Tweet it from Everest: "OMG! We're halfway up!"

KATHMANDU, Nepal - You can not get away from a cell phone call, Even at the top of the world.
Thanks to newly installed 3G towers near Mount Everest's base camp, dog explorers surf the Web, Facebook tweet and post updates Without Worrying Their Signals That will disappear Into thin air. The new high-speed service, Announced Friday by Ncell, a Subsidiary of Swedish telecom company TeliaSonera, will allow mountaineers setting off to the summit of the world's tallest mountain to access wireless Internet and make video calls to family, friends and supporters.

"You know, I think it's kind of good and kind of bad, But to me it's kind of inevitable," Said renowned climber Ed Viesturs, frequently Described as The Strongest U.S. high-altitude mountaineer. The 51-year-old veteran of seven climbs to Everest's 29.035-foot summit Said the new technology is not for him. "I'm kind of old school," Said Viesturs, Who Has climber all 14 of the world's Highest Peaks. "But You Can imagine the newer generation Saying, 'No, bring it on. The more the better.'"

Every year, Thousands of trekkers from all over the world walk to Everest's base camp at 17.000 feet, and Hundreds of mountaineers take on the arduous and dangerous route to the summit. Until now, They Were Forced to carry heavy - and expensive - satellite equipment to transmit information and images from base camp. On the climb, mountaineers carry handheld VHF radios to talk with base camp, an expedition Though Might Also carry a satellite phone to contact sponsors and family.

For 25-year-old Leif Whittaker, WHO summit Everest for the first time in May - calling His mother on the descent, using a satellite phone - the Advantage Comes Down to Being Able to Easily phone home. "Just Being Able to Communicate with your family and friends Would make it a lot Easier to spend two months in a tent away from home," Said Whittaker, Whose father, Jim Whittaker, Was the first American to summit Everest.

But There Is A Risk That It Could Be A Dangerous distraction, the Port Townsend, Wash., resident said. When Attempting the summit, "You Need to Stay Focused in the moment." Dave Hahn, Who Has 12 times Everest climber, More Than Any Other American, Noted That the north side base camp in Tibet've Had Several cell service for years, But Not the south side in Nepal. The 48-year-old from Taos, NM, Said That When I first Everest climber in 1991, I Had That equipment allowed him to transmit lines of Telex. "That was pretty high-tech in 1991."

And in 1999, Hahn When That WAS on the expedition found the body of legendary mountaineer George Mallory Inglés, Who Died on Everest in 1924: "I remember sitting up all night Figuring out how to send the photos out in big enough resolution." That Will Be a thing of the past now. Might But Facebook, Twitter and the high-pitched sound of ringing Dozens of cell phones cheap the experience?

"I Hear That all the time," Hahn said. "And What can you say? Things change that way. And Those of us who've Beamed home pictures and stories from the place, well, we've accelerated That change." Gordon Janow, Who Helps set-up base camps for expeditions led by Alpine Ascents International of Seattle, agree. Trekkers in the lower Himalayas Elevations Also the use of cell phones, and "I do not know if it's good or bad," I said. "It was one of the FEW places Could you go and lose yourself from the world."