Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCrystal report VS2010 doesn't render text position properly in asp.net page Pin
Savun Cheam11-Oct-12 18:47
Savun Cheam11-Oct-12 18:47 
Questionwhich one is better wsdl proxy or web reference Pin
indian14311-Oct-12 8:04
indian14311-Oct-12 8:04 
AnswerRe: which one is better wsdl proxy or web reference Pin
n.podbielski11-Oct-12 22:49
n.podbielski11-Oct-12 22:49 
AnswerRe: which one is better wsdl proxy or web reference Pin
AspDotNetDev12-Oct-12 10:27
protectorAspDotNetDev12-Oct-12 10:27 
QuestionAutenticação Com FormsAuthentication - Não autentica!! Pin
Member 939216811-Oct-12 6:10
Member 939216811-Oct-12 6:10 
AnswerRe: Autenticação Com FormsAuthentication - Não autentica!! Pin
Wes Aday11-Oct-12 6:22
professionalWes Aday11-Oct-12 6:22 
AnswerRe: Autenticação Com FormsAuthentication - Não autentica!! - Translation Pin
Wes Aday11-Oct-12 6:24
professionalWes Aday11-Oct-12 6:24 
QuestionI am having error on my dbml (InternetTransaction Project) Pin
Difameg Network Nigeria10-Oct-12 22:26
Difameg Network Nigeria10-Oct-12 22:26 
XML
Can Some One help me to resolve this error that i am geting on my application

I am using autogenerated code from Object Relational designer that is Name.designer.cs to connect to my sql database but i am getting this error

Default.aspx

<asp:GridView ID="GridView1" runat="server" Width="100%"
AutoGenerateColumns="False">
<Columns>
<asp:BoundField DataField="Trandate" HeaderText="Tran Date">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="deposit" DataFormatString="{0:F2}"
HeaderText="Deposit">
<ItemStyle HorizontalAlign="Right" />
</asp:BoundField>
<asp:BoundField DataField="withdraw" HeaderText="Withdraw" DataFormatString="{0:F2}" >
<ItemStyle HorizontalAlign="Right" />
</asp:BoundField>

<asp:BoundField DataField="remarks" HeaderText="Remarks" />
</Columns>
</asp:GridView>

the code Behind (default.aspx.cs)
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

NameDataContext bdc = newNameDataContext();
GridView1.DataSource = bdc.RecentTransactions(
Decimal.Parse(Session["Number"].ToString()));
GridView1.DataBind();

Error 4 'NameDataContext' does not contain a definition for 'RecentTransactions' and no extension method 'RecentTransactions' accepting a first argument of type 'NameDataContext' could be found (are you missing a using directive or an assembly reference?) C:\Users\Default.aspx.cs 21 40

Is it that i have not referenced an assembly or dll file that is making me have that error of RecentTransactions....thanks

I am Grateful

AnswerRe: I am having error on my dbml (InternetTransaction Project) Pin
n.podbielski11-Oct-12 0:04
n.podbielski11-Oct-12 0:04 
QuestionHaving trouble updating INT field in MS SQL 2008 database Pin
Member 932884710-Oct-12 9:55
Member 932884710-Oct-12 9:55 
AnswerRe: Having trouble updating INT field in MS SQL 2008 database Pin
n.podbielski10-Oct-12 11:03
n.podbielski10-Oct-12 11:03 
AnswerRe: Having trouble updating INT field in MS SQL 2008 database Pin
.Net Jim10-Oct-12 12:08
.Net Jim10-Oct-12 12:08 
AnswerRe: Having trouble updating INT field in MS SQL 2008 database Pin
Bernhard Hiller10-Oct-12 22:25
Bernhard Hiller10-Oct-12 22:25 
AnswerRe: Having trouble updating INT field in MS SQL 2008 database Pin
Richard Deeming15-Oct-12 3:31
mveRichard Deeming15-Oct-12 3:31 
QuestionGoogle Analytics in site.master? Pin
Jassim Rahma10-Oct-12 7:36
Jassim Rahma10-Oct-12 7:36 
AnswerRe: Google Analytics in site.master? Pin
n.podbielski10-Oct-12 11:00
n.podbielski10-Oct-12 11:00 
AnswerRe: Google Analytics in site.master? Pin
SoyDesarrollador.net12-Oct-12 9:07
SoyDesarrollador.net12-Oct-12 9:07 
QuestionAsp .net Video Player Pin
ShashankUpadhyay10-Oct-12 2:06
ShashankUpadhyay10-Oct-12 2:06 
AnswerRe: Asp .net Video Player Pin
Sandeep Mewara10-Oct-12 3:04
mveSandeep Mewara10-Oct-12 3:04 
QuestionLabel Text wrapping problem Ms chart control. Pin
Murugan Kolanji10-Oct-12 1:50
Murugan Kolanji10-Oct-12 1:50 
AnswerRe: Label Text wrapping problem Ms chart control. Pin
Sandeep Mewara10-Oct-12 3:06
mveSandeep Mewara10-Oct-12 3:06 
QuestionSetting ASP.NET page controls from class library assembly Pin
Chesnokov Yuriy9-Oct-12 19:52
professionalChesnokov Yuriy9-Oct-12 19:52 
QuestionRe: Setting ASP.NET page controls from class library assembly Pin
n.podbielski10-Oct-12 3:38
n.podbielski10-Oct-12 3:38 
AnswerRe: Setting ASP.NET page controls from class library assembly Pin
Chesnokov Yuriy10-Oct-12 4:50
professionalChesnokov Yuriy10-Oct-12 4:50 
GeneralRe: Setting ASP.NET page controls from class library assembly Pin
n.podbielski10-Oct-12 10:59
n.podbielski10-Oct-12 10:59 

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.