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:522210
More Search Options
RSS Available
Matching Posts
Re: Detailsview ChangeMode Question
Seems like you are you binding the detailsView in the page_load event? If so, bind the DetailsView with a IsPostBack check. Thanks
Posted to
Data Presentation Controls
(Forum)
by
e_screw
on 12/17/2008
Re: textbox value length count
Use the MaxLength property of TextBox Thanks
Posted to
Getting Started
(Forum)
by
e_screw
on 12/7/2008
Re: Problem with Dynamic Control
In which event of the page are you creating your dynamic control? The best event to create dynamic controls is the OnInit event of the page protected override void OnInit(EventArgs e) { base .OnInit(e); // create your dynamic control here } Thanks
Posted to
Web Forms
(Forum)
by
e_screw
on 12/6/2008
Re: Get Method Name
To get the method name, try this using System.Diagnostics; StackFrame stack = new StackTrace(true).GetFrame(0); string sMethod = stack.GetMethod().ToString(); Thanks
Posted to
Architecture
(Forum)
by
e_screw
on 12/6/2008
Re: exception handling in web page
[quote user="harish_ravi"]now i gone to the location(hard disk) where i stored the DLL, and deleted it and tried to run the application from internet explorer, by giving the url ( http://localhost:4285/WebSite27/Default.aspx )[/quote] Add a reference to the dll to your website (Right click on the website in the solution explorer - Add Reference - Select the Projects tab - Select the class library project) so that the corresponding dll will be added into your website in the \bin folder.
Posted to
C#
(Forum)
by
e_screw
on 12/5/2008
Re: LINQ how to orderby or group elements and then per ID only take 20 elements?
[quote user="davidfowl"]for the flattening part and for that you can use the SelectMany function[/quote] Right on David. Thanks
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
e_screw
on 12/4/2008
Re: LINQ how to orderby or group elements and then per ID only take 20 elements?
[quote user="keetje"]... the problem is not the grouping it is that I do not want to throw away all my information after the grouping...[/quote] You are not going to lose the vote information. The RESULT in the second query is of type IEnumerable<vote>. You can access the properties of vote by RESULT.PropertyName. Please let me know how it is not working so that I can have a look at it. Thanks
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
e_screw
on 12/4/2008
Re: LINQ how to orderby or group elements and then per ID only take 20 elements?
[quote user="Wencui Qian - MSFT"]P.S. Take method represents to get a number of the total records. By default, it's from the first record. If you want to take them from a certain index, you can also use Skip method before Take. [/quote] Your query will get only the first 20 records, but the OP wants to get 20 records foreach ProductID. THanks
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
e_screw
on 12/4/2008
Re: using foreach to change the value within an List<class>
foreach (Question q in Questionnaire.LIST) { q.SortOrder = someindexvalue; } Thanks
Posted to
C#
(Forum)
by
e_screw
on 12/1/2008
Re: LINQ how to orderby or group elements and then per ID only take 20 elements?
Try this ( I am still learning LINQ, so I used two variables. Trying to find how to include them in the same query) and let me know if its working/ var votes = from v in db.Reviews where v.ReviewRemarks.Contains(SearchTxt) || v.Product.ProductName.Contains(SearchTxt) orderby v.Review.ReviewDate descending group v by v.Product.ProductID var result = from vote in votes select new { KEY = vote.Key, RESULT = vote.Take(20) } Thanks
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
e_screw
on 12/1/2008
Page 1 of 380 (3797 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
ASP.NET:
T4MVC now has a real home and a dedicated forum!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online