15,902,835 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ryan Gamal (Top 9 by date)
Ryan Gamal
18-Jul-11 11:51am
View
Unfortunately WCf Data services don't work like that, you pass your data to a url, and the service (with the help of an EF entity model) saves it away itself. There are no stored procedures and no code to perform the save. So thus, where would you put a transaction?
Ryan Gamal
18-Jul-11 11:44am
View
This is currently under investigation by the product team @ Microsoft...
http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/f28eb9da-8e76-46c0-993f-10be01081fed
Ryan Gamal
13-Jun-11 5:27am
View
Thanks for the info. Because I'm using EF4.1 Code First approach, the metadata artifacts don't in fact exist at compile time. Rather than using edmgen in the build, I am using the visual studio EF power tools to generate the pre-compiled view and then this is added to the project at design time.
Thus, the pre-compiled views are generated at design time only and are not regenerated by the team build.
Ryan Gamal
7-Jun-11 6:58am
View
In your gridview your label has the id "gdvlbldownloadcount" but in your databound event you are trying to assign to a label with ID "lblDownloadCount"
Ryan Gamal
17-Jan-11 5:36am
View
Deleted
Reason for my vote of 2
If all calls to the method have to use the value in the name attribute instead of the method name, then what is the point of overloading at all?
Ryan Gamal
25-Oct-10 5:55am
View
Unfortunately, this still hasn't worked. I wonder if the issue is because I'm using a WCF Data service?
namespace Marshalls.CustomerActivity.ObjectModel
{
public partial class CustomerActivityReport
{
///
/// Gets or sets the associated lead ids.
///
/// <value>The associated lead ids.
[DataMember]
public ICollection<guid> AssociatedLeadIds { get; set; }
}
}
I've recompiled the project + updated the service reference but still no mention of AssociatedLeadIds in CustomerActivityReport entity on the client. FYI The CustomerActivityReport entity is persistence aware (not POCO) as there are other issues regarding using POCO entities with wcf data services
Ryan Gamal
19-Oct-10 11:09am
View
I still don't understand why you need a loop! You are setting the image url for every item in your loop, but it's the same image you are setting the url for every time.
Ryan Gamal
19-Oct-10 5:31am
View
I can't see anywhere in your code where you are getting the id of the image, relevant to the row of data that you are databinding. Normally when writing an event handler for a RowDataBound event, you would use a property of e.Item.DataItem to identify the id of the image you wanted.
E.g. Product p = (Product)e.Item.DataItem;
image.ImageUrl = p.itemId;
Ryan Gamal
14-Oct-10 10:37am
View
Please can you clarify the format of your data, is it:
Firstname, LastName, Email
Bob, Hoskins, B@b.com
Frank, Sinatra, f@s.com
OR:
Firstname, Bob, LastName, Hoskins, Email, B'b.com
Firstname, Frank, LastName, Sinatra, Email, f@s.com
Show More