Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:663854
More Search Options
RSS Available
Matching Posts
joining multiple tables using linq to sql with a number of criteria
Hello. Hope all are fine here I am using linq to sql and I need to apply some criteria to filter the record from two tables. One table is Staff and Second is Organisation. Staff contains OrgID, MemberSettingID, Values, ModifiedDate (OrgID and MemberSettingID both make composite primary key of table). Org contains OrgID, Name, AlsoKnown as. (OrgID is PK) so there can be multiple OrgID in Staff table. Now I need to join the two tables such that I can get OrgID, Name and ModifiedDate, but the data should
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
azharrahi
on 12/18/2009
System.ArgumentException: Parameter count does not match Parameter Value count
Hi I was installing Dotnet Nuke .... during installation I got the following error: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Parameter count does not match Parameter Value count. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding
Posted to
Getting Started
(Forum)
by
azharrahi
on 9/11/2009
An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
I have an application which was developed in visual studio 2003. Now I loaded it on .Net 3.5 and also created a virtual directory over IIS. When I run the web site through localhost (i.e. not running through Visual Studio 2008), it throws the following error: Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'Global_asax'
Posted to
Configuration and Deployment
(Forum)
by
azharrahi
on 9/10/2009
Unrecognized attribute 'requirePermission' (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config
Hello How are all people here? I a facing an exception regarding configuration. But first I would like to describe a little. I have created a new solution and web project on my system. Then I add existing aspx files with code behind in that web project. That files were created in Visual Studio.Net 2005 (.Net 2.0). When I run the web project, it throws the following error: Unrecognized attribute 'requirePermission' (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config I dont
Posted to
Configuration and Deployment
(Forum)
by
azharrahi
on 8/28/2009
Re: Unrecognized attribute 'requirePermission' (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config
I am getting this error on following line: Dim db As Database = DatabaseFactory.CreateDatabase() why ? is there any version problem or else ?
Posted to
Configuration and Deployment
(Forum)
by
azharrahi
on 8/28/2009
Re: Unrecognized attribute 'requirePermission' (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config
[quote user="azharrahi"]Dim db As Database = DatabaseFactory.CreateDatabase()[/quote] The source of this error is: "Microsoft.Practices.EnterpriseLibrary.Configuration" This is problem generated by Enterprise library. I am using Enterprise version 1.0.0.0. I am using Visual Studio 2008 and .Net framework 3.5. Line 10: --><configuration> Line 11: <configSections> Line 12: <section name="appSettings" type="System.Configuration.AppSettingsSection
Posted to
Configuration and Deployment
(Forum)
by
azharrahi
on 8/28/2009
Re: best practice of LINQ
# [Association(Storage = "salesCreditCard", ThisKey = "CreditCardID")] # public SalesCreditCard SalesCreditCards # { # get # { # return this.salesCreditCard.Entity; # } # set # { # this.salesCreditCard.Entity = value; # } # } Dont you think these lines of code are creating foreign key relationship ? and how can I inspect the query builder? Where is query builder?
Posted to
Architecture
(Forum)
by
azharrahi
on 8/14/2009
Re: best practice of LINQ
This article is very best. Really knowledgeable However I am facing some problem regarding implementation. I have created two classes for tables Sales.CreditCard and Sales.ContactCreditCard. Which is given below. Class for table: Sales.CreditCard [Table(Name="Sales.CreditCard")] public class SalesCreditCard { private EntitySet<ContactCreditCard> contactCreditCard; public SalesCreditCard() { this.contactCreditCard = new EntitySet<ContactCreditCard>(); } [Column(IsPrimaryKey=true
Posted to
Architecture
(Forum)
by
azharrahi
on 8/11/2009
best practice of LINQ
Hello All... How are here I am new to LINQ .. and I want to work on LINQTOSQL I want to know the best practices for LINQToSQL. I know one way is to use LINQTOSQL item (i.e. .dbml) .. The other way is by creating Entity Classes. Which one is better and feasible and why ? Also I need to know any good article with examples for the better and feasible approach (i.e. if use of Entity classes are better than article of that, otherwise of LINQTOSQL item) ..... Thanks
Posted to
Architecture
(Forum)
by
azharrahi
on 6/29/2009
need query for searching which can accept null values
Hello How are all here? I have created a Query using select statement (i.e. a view). I need to write a query to search the records based on different criteria. I want to apply criteria to where clause on some fields. The fields are StartDate, EndDate, ProblemReportedBy, ShiftOpertator, SubmittedBy There are dropdowns of each field on asp.net 1.1 page. I want when user selects only Start Date and EndDate, the records between these two dates must be return. If User selects ONLY Shift Operator Name
Posted to
Access Databases and AccessDataSource Control
(Forum)
by
azharrahi
on 6/10/2009
Page 1 of 17 (167 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online