sam

sam

  • NA
  • 202
  • 0

Link word to google search

Sep 2 2010 3:45 AM
Hi.I have a code here where it will capture value from textbox and add in a temporary gridview (not sent to database).
My question is,when a value from textbox is added in the gridview,how to make that value in gridview as a link where it can search the value in google.

Any ideas guys?

[code]
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Style="z-index: 106;
    left: 322px; position: absolute; top: 301px">
    <Columns>
    <asp:TemplateField HeaderText="Call Information">
    <ItemTemplate>
    <asp:Label ID="LblName" runat="server" Text='<%#Eval("name")%>'></asp:Label>
    </ItemTemplate>
    </asp:TemplateField>

   
    
    <asp:TemplateField HeaderText="">
    <ItemTemplate>
    <asp:Button ID="BtnDelete" runat="server" Text="Clear" OnClick="BtnDelete_Click" />
    </ItemTemplate>
    </asp:TemplateField>
    </Columns>
    </asp:GridView>
[/code]

Answers (5)