Showing posts from May, 2010

How to hide generated javascript file in visual studio code

In this post I am going to show you a cool trick in visual studio code. Let's suppose you are writing typescript code in visual studio code and you want to hide generated javascript code.

Create .vscode folder in your folder and then create settings.json file and paste following code

{ "files.exclude": { "node_modules":true, "**/.git": true, "**/.DS_Store": true, "**/*": true, "**/*.js": {"when": "$(basename).ts"}     } }

How to bind Gridview using Linq (Join) and access the value of gridview cell

In this post i am going to show how to read the value of GridView cell when the DataSource is anonymous type.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %><!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN"""><htmlxmlns=""><headrunat="server"><title></title></head><body><formid="form1"runat="server"><div></div><asp:GridViewID="GridView1"runat="server"OnRowDataBound="GridView1_RowDataBound"></asp:GridView></form></body></html>
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; publicpartialclass Default3 : System.Web.UI…

Firfox Add-on for Developer

In this post i am going to share you a very simple Firefox add on for developer.By using this add on you can easily navigate to sites in a single click. main features of this add on are Extract ViewState from site (Developed in the size of viewstateExtract CSS from any site. Click here to download this add-on