Click here to Skip to main content
15,914,165 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAJAX rounded corners extender Pin
benams4-Aug-09 4:47
benams4-Aug-09 4:47 
AnswerRe: AJAX rounded corners extender Pin
kstls4-Aug-09 5:18
kstls4-Aug-09 5:18 
Questionusing StreamReader in webservice issue Pin
Piya B4-Aug-09 4:44
Piya B4-Aug-09 4:44 
AnswerRe: using StreamReader in webservice issue Pin
N a v a n e e t h4-Aug-09 6:36
N a v a n e e t h4-Aug-09 6:36 
GeneralRe: using StreamReader in webservice issue Pin
Priya Prk4-Aug-09 7:56
Priya Prk4-Aug-09 7:56 
GeneralRe: using StreamReader in webservice issue Pin
N a v a n e e t h4-Aug-09 8:00
N a v a n e e t h4-Aug-09 8:00 
GeneralRe: using StreamReader in webservice issue [modified] Pin
Priya Prk4-Aug-09 8:06
Priya Prk4-Aug-09 8:06 
QuestionAvoid Multiple Space Elimination in ASP.NET GridView Control [modified] Pin
megivimal4-Aug-09 4:30
megivimal4-Aug-09 4:30 
hi,

This code is working for me. but the grid cells take too many height and width (Cellspacing&Cellpadding). how can i reduce the space between teh cells content.

<asp:GridView ID="grdResult" runat="server" AutoGenerateColumns="False" OnRowDataBound="grdResult_RowDataBound" CellPadding="0" CellSpacing="0">
<Columns>
<asp:TemplateField HeaderText="PharmacyID" ConvertEmptyStringToNull="false">
<ItemTemplate>
<pre> <asp:LinkButton ID="lnkPatientID" runat="server" Text='<%#Eval("PharmacyID") %>'
CommandName="PharmacyName" CommandArgument='<%#Eval("PharmacyID" )%>'></asp:LinkButton></pre>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="NABP" ConvertEmptyStringToNull="false">
<ItemTemplate>
<pre><asp:LinkButton ID="lnkNABP" runat="server" Text='<%#Eval("NABP") %>' CommandName="PharmacyName"
CommandArgument='<%#Eval("PharmacyID") %>'></asp:LinkButton></pre>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Storename" ConvertEmptyStringToNull="false">
<ItemTemplate>
<pre><asp:LinkButton ID="lnkStorename" runat="server" Text='<%#Eval("Storename")%>' CommandArgument='<%#Eval("PharmacyID") %>'
CommandName="PharmacyName"></asp:LinkButton></pre>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Address1" ConvertEmptyStringToNull="false">
<ItemTemplate>
<pre><asp:LinkButton ID="lnkAddress1" runat="server" Text='<%#Eval("Address1")%>' CommandName="PharmacyName"
CommandArgument='<%#Eval("PharmacyID") %>'></asp:LinkButton></pre>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="City" ConvertEmptyStringToNull="false">
<ItemTemplate>
<pre><asp:LinkButton ID="lnkCity" runat="server" Text='<%#Eval("City") %>' CommandArgument='<%#Eval("PharmacyID")%>'
CommandName="PharmacyName"></asp:LinkButton></pre>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="NPI" ConvertEmptyStringToNull="false">
<ItemTemplate>
<pre><asp:LinkButton ID="lnkNPI" runat="server" Text='<%#Eval("NPI") %>' CommandName="PharmacyName"
CommandArgument='<%#Eval("PharmacyID") %>'></asp:LinkButton></pre>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<HeaderStyle BackColor="#FDF3A5" BorderColor="#C9C7B3" />
<RowStyle Font-Names="Verdana" Font-Size="11px" />
<PagerStyle HorizontalAlign="Right" />
</asp:GridView>

modified on Tuesday, August 4, 2009 10:54 AM

QuestionCheck if Session is still alive Pin
Herman<T>.Instance4-Aug-09 2:02
Herman<T>.Instance4-Aug-09 2:02 
AnswerRe: Check if Session is still alive Pin
Mike Ellison4-Aug-09 2:57
Mike Ellison4-Aug-09 2:57 
GeneralRe: Check if Session is still alive Pin
Herman<T>.Instance4-Aug-09 4:24
Herman<T>.Instance4-Aug-09 4:24 
AnswerRe: Check if Session is still alive Pin
Not Active4-Aug-09 3:00
mentorNot Active4-Aug-09 3:00 
AnswerRe: Check if Session is still alive Pin
N a v a n e e t h4-Aug-09 6:27
N a v a n e e t h4-Aug-09 6:27 
QuestionDisplay content in font style that is not installed on the server. Pin
Imran Khan Pathan4-Aug-09 1:57
Imran Khan Pathan4-Aug-09 1:57 
AnswerRe: Display content in font style that is not installed on the server. Pin
Jay Royall4-Aug-09 2:21
Jay Royall4-Aug-09 2:21 
QuestionDownload file Pin
Hassan Sajedi4-Aug-09 1:49
Hassan Sajedi4-Aug-09 1:49 
AnswerRe: Download file Pin
Sundeep Ganiga4-Aug-09 2:21
Sundeep Ganiga4-Aug-09 2:21 
AnswerRe: Download file Pin
Not Active4-Aug-09 3:02
mentorNot Active4-Aug-09 3:02 
GeneralRe: Download file Pin
Hassan Sajedi4-Aug-09 19:32
Hassan Sajedi4-Aug-09 19:32 
GeneralRe: Download file Pin
Not Active5-Aug-09 2:05
mentorNot Active5-Aug-09 2:05 
GeneralRe: Download file Pin
Hassan Sajedi10-Aug-09 20:05
Hassan Sajedi10-Aug-09 20:05 
GeneralRe: Download file Pin
Not Active11-Aug-09 2:40
mentorNot Active11-Aug-09 2:40 
GeneralRe: Download file Pin
Hassan Sajedi23-Aug-09 1:38
Hassan Sajedi23-Aug-09 1:38 
QuestionMulitple rows in header template Pin
Member 39813664-Aug-09 1:40
Member 39813664-Aug-09 1:40 
QuestionApplication not working Pin
Kissy164-Aug-09 1:08
Kissy164-Aug-09 1:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.