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:704929
More Search Options
RSS Available
Matching Posts
Re: Object reference not set to an instance of an object.
If your ModelState is not valid, you need to have a corresponding "Attempted Value" for the error key. The default Html helpers, when rendering the properties, look for the any erros for that key and render the error messages. So, if you don't have an attempted value, it would through a null reference exception.
Posted to
ASP.NET MVC
(Forum)
by
ravivb.net
on 8/3/2009
Re: Do we still data access layer and business logic layer when using LINQ?
It depends on your application. If you have small app, you probably don't need any BLL and DAL layers. But if you are looking at a reasonable sized app, you would need BLL and DAL separate your code & logic (This would also help you with testing). LINQ to SQL can do lot of things but that does not mean we have to do them (Remember So as the Original ADO.NET! You could have data controls and do most of the updates, deletes etc from the Code behind). LINQ is a Query Language. I don't think
Posted to
Visual Studio 2008
(Forum)
by
ravivb.net
on 8/26/2008
Filed under: linq
Re: called a shared method from an "unshared" method
Instance methods can only be called on an object. If you want to call an instance method (i.e., unshared) from your shared code, you need to instanciate an object and call the method on top of it. ex. class name :Class1 shared method :sharedmethod() instance (unshared) method: instmethod(); to call instmethod() from shared method(), you would do something like this (the below code goes in your shared method). dim c as new Class1 c.instmethod() hope it helps
Posted to
Web Forms
(Forum)
by
ravivb.net
on 8/18/2008
Re: Button Onclick events not firing
Your Event handler for button clicked is fired after the page Load event right!!! Could you elaborate your last sentence?
Posted to
Web Forms
(Forum)
by
ravivb.net
on 8/14/2008
Re: Need a tip on how to handle memberships for different apps
All your membership tables and procs are based on the application name (the guid gets generated off of your application name in web.config). If you have multiple applications with different application name value in their web.config files, they all are going to have their own users, roles, etc... Just make sure you use different "Application name" and every thing should be fine...
Posted to
Installation and Setup
(Forum)
by
ravivb.net
on 8/14/2008
Re: 2 web.config files asp.net 2.0 C#
You can put web.config per folder. Do you want to use different connection string for different folders? You could simply use the main web.config with connection string info and have your sub folder web.configs over-write it... http://support.microsoft.com/kb/815174 http://bytes.com/forum/thread331598.html
Posted to
Getting Started
(Forum)
by
ravivb.net
on 8/14/2008
Re: Visual Sudio 2008 http error 403
What do you mean submitted to Internet Explorer? Did you hit F5 or viewing the page in IE? I think the easiest thing you could do is to hit F5 and debug it...
Posted to
Visual Studio 2008
(Forum)
by
ravivb.net
on 8/14/2008
Re: called a shared method from an "unshared" method
You can...your shared method can be called from your instance methods but, not the other way around (you would have to instantiate an object to call an instance method).. You could simply use the class name to call the shared methods...MyClass.MySharedMethod(someparam);
Posted to
Web Forms
(Forum)
by
ravivb.net
on 8/11/2008
Re: how can I create 2 inner join in a stored procedure?
SELECT tbh_AdsSubCats.AdsSubCatID, tbh_AdsSubCats.AdsCatID, tbh_AdsSubCats.AddedDate, tbh_AdsSubCats.AddedBy, tbh_AdsSubCats.Title, tbh_AdsSubCats.Moderated, tbh_AdsSubCats.Importance, tbh_AdsSubCats.Approved, tbh_AdsSubCats.Description, tbh_AdsSubCats.ImageUrl, tbh_AdsSubCats.type, tbh_AdsCats.Title AS AdsCatTitle FROM tbh_AdsSubCats INNER JOIN tbh_AdsCats ON tbh_AdsSubCats.AdsCatID = tbh_AdsCats.AdsCatID INNER JOIN tbh_adsSubCatTypes tasct ON tasct.Type = tbh_adsSubCats.Type WHERE tbh_AdsSubCats
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ravivb.net
on 8/11/2008
Re: a problem about passing data set into ViewData
You need to cast the ViewData["Relation"] to what ever the object type is. Once you have it you can use "foreach".. ex. if you are putting in a datatable, the code goes something like this... foreach(DataRow dr in (DataTable)ViewData["Relation"]) { dr["column1"]; } good luck
Posted to
ASP.NET MVC
(Forum)
by
ravivb.net
on 8/11/2008
Page 1 of 19 (187 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online