hi @dharmendr,
i have following gridview and on the basis of OMD id i want to show marker on map in open layers.
//gridview
<asp:UpdatePanel ID="UpdatePanel7" runat="server">
<ContentTemplate>
<asp:TextBox ID="txt_search_all" runat="server" CssClass="txt_search" Style="margin-left: 155px;" placeholder="Search Here"></asp:TextBox>
<asp:Button ID="search_all_div" runat="server" Text="Search" CssClass="btn_search" />
<asp:GridView ID="grid_all_device" CssClass="Grid" AlternatingRowStyle-CssClass="alt" AutoPostBack="true"
PagerStyle-CssClass="pgr" runat="server" AutoGenerateColumns="False" Width="100%"
BackColor="White" AllowPaging="True" PageSize="5" CellPadding="3" CellSpacing="2" OnPageIndexChanging="grid_all_device_PageIndexChanging" OnRowDataBound="grid_all_device_RowDataBound" OnSelectedIndexChanged="grid_all_device_SelectedIndexChanged">
<FooterStyle BackColor="White" ForeColor="#000066" />
<HeaderStyle Height="36px" Font-Size="11px" Font-Bold="True"
ForeColor="Black" />
<AlternatingRowStyle CssClass="alt" />
<Columns>
<asp:BoundField DataField="uid" HeaderText="COMPANY ID" />
<asp:BoundField HeaderText="OMD ID" DataField="ndr_uid" />
<asp:BoundField DataField="comp_name" HeaderText="COMPANY NAME" />
<asp:BoundField HeaderText="COMPANY ADDRESS" DataField="comp_adds" />
<asp:BoundField DataField="date_time" HeaderText="Date Time" />
</Columns>
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F1F1F1" />
<SortedAscendingHeaderStyle BackColor="#007DBB" />
<SortedDescendingCellStyle BackColor="#CAC9C9" />
<SortedDescendingHeaderStyle BackColor="#00547E" />
</asp:GridView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="grid_all_device" EventName="selectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>