Thursday, January 29, 2009

What is Silverlight?

Silverlight is a combination of different technology into a single development platform that allows you to select tools and the programming language you want to use. Its a programmable web-browser plugin. It has features such as animation,vector ggraphics and audio-video playback.Its a cross-browser i.e. it works with all versions of all browsers to have existed since the web began. It can be implemented and inter-operated on multiple computer platforms. It aims to compete with Adobe Flash and presentation components of AJAX. It also computes with Sun Microsystems' JavaFX, which was launched few days after Silverlight. Silverlight supports Windows Media Audio and Video (WMA, WMV7–9) and VC-1, as well as MP3 audio. It is being designed to work in conjunction with XAML and is scriptable with JavaScript. Silverlight can also be used to create Windows Sidebar gadgets for Windows Vista. Silverlight exposes a Downloader object which can be used to download content, like scripts, media assets or other data, as may be required by the application.
For more information visit http://www.silverlight.net/

Monday, January 12, 2009

GridView AutoGenerateColumns

Till now we know that gridview generates autocolumns..But I wanted to get only 1 column in gridview..For that i found a solution that there is 1 property of gridview named as AutoGenerateColumns which is by default true.We just have to make it false so that we can manually generate columns how much we want..
Example as shown below..

< asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
< Columns>
< asp:BoundField DataField="quest" HeaderText="Questions" SortExpression="Questions" />
< asp:TemplateField>
< ItemTemplate>
< asp:Label ID="lblSelect" runat="server"> < a href="showOptions.aspx?qid=< %# Eval("QuesId") %> "> Select< /a> < /asp:Label>
< /ItemTemplate>
< /asp:TemplateField>
< /Columns>

< /asp:GridView>


Welcome to Ketaki's blog

Hello all..Welcome to my blog..Get ready to learn lot about technologies like .net etc..