This site has some pretty cool links to sites that offer AJAX and DHTML snips and classes.
For example, and pretty cool little Poll thing I might convert from PHP to asp.net/XML:
http://www.dhtmlgoodies.com/index.html?whichScript=ajax-poller
This site has some pretty cool links to sites that offer AJAX and DHTML snips and classes.
For example, and pretty cool little Poll thing I might convert from PHP to asp.net/XML:
http://www.dhtmlgoodies.com/index.html?whichScript=ajax-poller
Doing Multi-Column layouts can be a real pain some times.
Here are 2 articles that discuss some methods you can employ.
http://www.alistapart.com/articles/multicolumnlayouts
http://blogs.pathf.com/uxd/2006/07/multi_column_la_1.html
Here is the article that talks about how to do it.
They suggest you use these 3 submissions pages:
http://www.mohamadlatiff.com/social-power/bookmarks.php
Here is a function I found that can trim down a datatable/dataview to a limited number of rows. Basically, it’s like doing a “TOP X”.
''' <summary>
''' Will return a dataview with only the top "number" of rows.
''' </summary>
''' <param name="myDataView">dataview to "trim"</param>
''' <param name="number">the number of rows to return</param>
''' <returns></returns>
''' <remarks></remarks>
Public Shared Function GetTopDataViewRows(ByVal myDataView As DataView, ByVal number As Integer) As DataView
Dim tableToClone As DataTable = myDataView.Table.Clone
Dim i As Integer
For i = 0 To number - 1
If i >= myDataView.Count Then Exit For
tableToClone.ImportRow(myDataView(i).Row)
Next
Return New DataView(tableToClone, myDataView.RowFilter, myDataView.Sort, myDataView.RowStateFilter)
End Function
I didn’t write this, credit goes to this post.
Here is the original source of this tip.
“for some bizarre reason, you have to set HtmlEncode=false on a bound column in a gridview, to get the DataFormatString to work. “
I was recently at a client reconfiguring some of their access points (Cisco 1100). I was having trouble connecting to one of the new devices.
After some clicking around, I noticed that, by default, the wireless radio is disabled.
This is not totally apparent as you are setting up the network (it is in a different section of the web config utility).
So yea… it helps to enable the radio. 🙂
This site has a pretty cool application.
http://www.visualthesaurus.com/
You type in a word, and it will show you simliar words, along with definitions and pronounciations. You view them in an unrooted tree format, showing their relationships. You can then navigate this tree by clicking on a word, which expands the nodes around that word.
Pretty cool.
Here is an article that shows how you can enable outlook to let you get some of those “unsafe” attachments, like a .vb file.
When you are trying to get the last Identity value in SQL Server, the old way was to use the @@IDENTITY variable.
This, however, can easily give you the wrong answer back. For example, if you have a trigger inserting a history record that also contains an identity column.
Here is an article that discusses why you should probably stick to SCOPE_IDENTITY().