Click here to Skip to main content
11,505,486 members (58,189 online)
   

ASP.NET

 
Questionwhy it's adding this to the database?!! Pin
jrahma24-Nov-12 11:16
memberjrahma24-Nov-12 11:16 
AnswerRe: why it's adding this to the database?!! Pin
jkirkerx24-Nov-12 18:10
memberjkirkerx24-Nov-12 18:10 
Question(This webpage has a redirect loop) Problem Pin
jrahma24-Nov-12 11:05
memberjrahma24-Nov-12 11:05 
AnswerRe: (This webpage has a redirect loop) Problem Pin
jkirkerx24-Nov-12 18:21
memberjkirkerx24-Nov-12 18:21 
SuggestionShould i change my asked question? Pin
anglo007223-Nov-12 22:29
memberanglo007223-Nov-12 22:29 
GeneralI'm find C# asp.net linkedin sample code Pin
Serdar Şengül22-Nov-12 21:14
memberSerdar Şengül22-Nov-12 21:14 
GeneralRe: I'm find C# asp.net linkedin sample code Pin
Richard MacCutchan22-Nov-12 23:57
mvpRichard MacCutchan22-Nov-12 23:57 
GeneralRe: I'm find C# asp.net linkedin sample code [modified] Pin
CommDev8-Dec-12 23:23
memberCommDev8-Dec-12 23:23 
QuestionPaypal Website Payments Standard Integration using NVP [modified] Pin
Zaf Khan22-Nov-12 18:21
memberZaf Khan22-Nov-12 18:21 
AnswerRe: Paypal Website Payments Standard Integration using NVP Pin
jkirkerx24-Nov-12 19:59
memberjkirkerx24-Nov-12 19:59 
GeneralRe: Paypal Website Payments Standard Integration using NVP Pin
Zaf Khan24-Nov-12 22:07
memberZaf Khan24-Nov-12 22:07 
GeneralRe: Paypal Website Payments Standard Integration using NVP Pin
jkirkerx25-Nov-12 8:08
memberjkirkerx25-Nov-12 8:08 
GeneralRe: Paypal Website Payments Standard Integration using NVP Pin
Zaf Khan25-Nov-12 19:44
memberZaf Khan25-Nov-12 19:44 
QuestionProblem With List View Pin
ggaurav bhandari22-Nov-12 2:09
memberggaurav bhandari22-Nov-12 2:09 
In totl i got total price but i am not able to display it... Loop is not go in Else Loop.............
 
<asp:ListView ID="lstViewCart_History" runat="server" OnPreRender="lstViewCart_History_PreRender" OnItemDataBound="lstViewCart_History_OnItemDataBound" ItemPlaceholderID="PlaceHolder1">
<LayoutTemplate>
<table width="40%">
<thead>
<tr>
<td>
<%# Eval("order_pid")%>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</thead>
<tbody>
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
</tbody>
<tr>
<td colspan="8" align="right">
Total Amount
</td>
<td colspan="2" align="left"><br />
$<asp:Label ID="lblw" runat="server" Text=""></asp:Label>
</td>
</tr>
</table>
</LayoutTemplate>
<ItemTemplate>
<table>
<tr>
<td>
<table>
<tr>
<td>
Book Name
</td>
<td>
Author
</td>
<td>
ISBN
</td>
<td>
Order Number
</td>
<td>
Order Date
</td>
<td>
Quantity
</td>
<td>
Price
</td>
<td>
Total Price
</td>
</tr>
<tr>
<td>
<%# Eval("cartdetail_pname")%>
</td>
<td>
<%# Eval("cartdetail_author")%>
</td>
<td>
<%# Eval("cartdetail_isbn")%>
</td>
<td>
<%# Eval("order_pid")%>
</td>
<td>
<%# Eval("order_date")%>
</td>
<td>
<%# Eval("cartdetail_qty")%>
</td>
<td>
$<%# Eval("cartdetail_price")%>
</td>
<td>
$<asp:Label runat="server" ID="total_price" Text='<%#Eval("total_price")%>'></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
 
</asp:ListView>
 
protected void lstViewCart_PreRender(object sender, EventArgs e)
{
Label lblTot = this.ListView1.FindControl("lblGrandTotal") as Label;
if (lblTot == null)
{
 
}
else
{
lblTot.Text = totl.ToString();
}
}
 
Thanks for giving time to read my problem and also for your valuable suggestions.
 
Gaurav Bhandari

AnswerRe: Problem With List View Pin
Parwej Ahamad22-Nov-12 6:08
memberParwej Ahamad22-Nov-12 6:08 
GeneralRe: Problem With List View Pin
d0cvb22-Nov-12 10:28
memberd0cvb22-Nov-12 10:28 
GeneralRe: Problem With List View Pin
Parwej Ahamad22-Nov-12 18:35
memberParwej Ahamad22-Nov-12 18:35 
QuestionChecking the size of a cookie Pin
suzyb22-Nov-12 1:46
membersuzyb22-Nov-12 1:46 
AnswerRe: Checking the size of a cookie Pin
Zaf Khan23-Nov-12 6:04
memberZaf Khan23-Nov-12 6:04 
GeneralRe: Checking the size of a cookie Pin
suzyb23-Nov-12 9:49
membersuzyb23-Nov-12 9:49 
GeneralRe: Checking the size of a cookie Pin
Zaf Khan23-Nov-12 11:43
memberZaf Khan23-Nov-12 11:43 
QuestionRemove tick/check box from ASP.NET Checkbox control Pin
thes@int21-Nov-12 6:48
memberthes@int21-Nov-12 6:48 
AnswerRe: Remove tick/check box from ASP.NET Checkbox control Pin
jkirkerx21-Nov-12 12:46
memberjkirkerx21-Nov-12 12:46 
Questionweb service creation Pin
Member 961924321-Nov-12 6:17
memberMember 961924321-Nov-12 6:17 
AnswerRe: web service creation Pin
mark merrens21-Nov-12 6:24
membermark merrens21-Nov-12 6:24 
QuestionReturn multiple result set to Generic List Pin
yesu prakash20-Nov-12 23:38
memberyesu prakash20-Nov-12 23:38 
AnswerRe: Return multiple result set to Generic List Pin
David Mujica21-Nov-12 3:14
memberDavid Mujica21-Nov-12 3:14 
QuestionButtons are not working for enterkey press Pin
rakeshs31220-Nov-12 22:27
memberrakeshs31220-Nov-12 22:27 
AnswerRe: Buttons are not working for enterkey press Pin
jkirkerx22-Nov-12 18:03
memberjkirkerx22-Nov-12 18:03 
QuestionSchedule and post comments to FaceBook wall using ASP.Net [modified] Pin
Hu Dhaval20-Nov-12 21:56
memberHu Dhaval20-Nov-12 21:56 
AnswerRe: Schedule and post comments to FaceBook wall using ASP.Net Pin
Dhol Gaurav20-Nov-12 22:24
memberDhol Gaurav20-Nov-12 22:24 
GeneralRe: Schedule and post comments to FaceBook wall using ASP.Net [modified] Pin
Hu Dhaval20-Nov-12 22:32
memberHu Dhaval20-Nov-12 22:32 
AnswerRe: Schedule and post comments to FaceBook wall using ASP.Net Pin
Richard Deeming21-Nov-12 2:10
memberRichard Deeming21-Nov-12 2:10 
QuestionCOMPILATION error "object reference not set to an instance of an object" Pin
AnnLogan20-Nov-12 20:47
memberAnnLogan20-Nov-12 20:47 
QuestionRe: COMPILATION error "object reference not set to an instance of an object" Pin
n.podbielski20-Nov-12 21:11
membern.podbielski20-Nov-12 21:11 
AnswerRe: COMPILATION error "object reference not set to an instance of an object" Pin
AnnLogan20-Nov-12 21:49
memberAnnLogan20-Nov-12 21:49 
GeneralRe: COMPILATION error "object reference not set to an instance of an object" Pin
Richard MacCutchan21-Nov-12 3:16
mvpRichard MacCutchan21-Nov-12 3:16 
AnswerRe: COMPILATION error "object reference not set to an instance of an object" Pin
n.podbielski22-Nov-12 20:07
membern.podbielski22-Nov-12 20:07 
QuestionTab index with firefox issue Pin
rakeshs31220-Nov-12 19:43
memberrakeshs31220-Nov-12 19:43 
SuggestionRe: Tab index with firefox issue Pin
n.podbielski20-Nov-12 21:08
membern.podbielski20-Nov-12 21:08 
GeneralRe: Tab index with firefox issue Pin
rakeshs31220-Nov-12 22:02
memberrakeshs31220-Nov-12 22:02 
AnswerRe: Tab index with firefox issue Pin
jkirkerx22-Nov-12 18:08
memberjkirkerx22-Nov-12 18:08 
AnswerRe: Tab index with firefox issue Pin
CommDev5-Dec-12 1:55
memberCommDev5-Dec-12 1:55 
Questionadsense alternatives Pin
jrahma19-Nov-12 21:48
memberjrahma19-Nov-12 21:48 
AnswerRe: adsense alternatives Pin
ravi398420-Nov-12 20:15
memberravi398420-Nov-12 20:15 
QuestionBack Page link with Attachment asp.net 4 [Solved] [modified] Pin
εїзεїзεїз18-Nov-12 0:24
memberεїзεїзεїз18-Nov-12 0:24 
AnswerRe: Back Page link with Attachment asp.net 4 Pin
n.podbielski18-Nov-12 20:12
membern.podbielski18-Nov-12 20:12 
GeneralRe: Back Page link with Attachment asp.net 4 Pin
εїзεїзεїз18-Nov-12 20:38
memberεїзεїзεїз18-Nov-12 20:38 
GeneralRe: Back Page link with Attachment asp.net 4 Pin
n.podbielski18-Nov-12 21:11
membern.podbielski18-Nov-12 21:11 
GeneralRe: Back Page link with Attachment asp.net 4 Pin
εїзεїзεїз18-Nov-12 21:50
memberεїзεїзεїз18-Nov-12 21:50 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 3 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid