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:402415
More Search Options
RSS Available
Matching Posts
C# try catch with foreach loop
Here is what I have lets say I am processing a dataset of 25 rows row by row.I have a try catch set up around the entire thing.Example below.If an error occurs I want to log it and have it continue the loop on the next record...Can this be done??? <code> try { foreach(DataRow r in DataTable.Rows) { //do stuff } catch(exception) { //log and go to next record } }
Posted to
C#
(Forum)
by
alewis25
on 2/29/2008
Re: ASPX, VB, SQL Server
It sounds like the "VB" programs are or were called using asp through com conventions.In .net this is known as PINVOKE this allows you to call native(non-.net) code such as VB6 dlls,C++ dlls etc..
Posted to
Visual Studio 2005
(Forum)
by
alewis25
on 2/27/2008
Re: Object oriented javascript the client library way
I would research ANTHEM.NET.It is a big resource of how the asp.net ajax got started.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
alewis25
on 2/27/2008
Re: Server Controls?
Yes,you can have both classic asp and new .net aspx files on the same site.It deals with IIS settings as to what to allow.As far as VWD ,I have not had much experience with that....Hope this helps buddy.....
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
alewis25
on 2/27/2008
Threads and how to do this with a sequential process
I am in a bad need of some ideas on this question.I have currently in place a sequential process that does as follows: step1 Get a generic list of objects from my database could be between 100 and 1000 just depends step2 Using a foreach to iterate over list I check a property on the iterated object. step 3 if the property (a string in this case )matches to what I need I do some file IO operations such as create a text file with data etc. Only if the file is created can I move to step 4(4 depends
Posted to
Getting Started
(Forum)
by
alewis25
on 2/27/2008
Check for Null Best paractice
What is the difference between the following code snippetts? <code> if(null==SomeObj); if(SomeObj==null); </code> Why use which one
Posted to
Getting Started
(Forum)
by
alewis25
on 1/31/2008
Question on debugging and Lazy Loading Properties
Ok, I have noticed a quirk and want to know why.When debugging my app I set a break point on a field on my object lets say Person.Car-Car is a object of type Automobile is a different object that is lazy loaded example below.I have noticed without going to use the next line just hovering over that property on my person object the automobile gets populated why...????? <code> private Automobile _car=null; public Automobile Car { get{ if(_car==null) { //fill Automobile instance from database|
Posted to
Getting Started
(Forum)
by
alewis25
on 1/31/2008
Re: Image depend on boolean value in Database??
I need a little clarification..You want to show a certain image base on a bolean return from a query....You could do this like the example below using the old "ASP" style of variables.. Decalre a string variable of the URL in Server SIDE ASP.NET code my example uses the URLTOIMAGE.Do an if compare and set accordingly... <img src='<%=URLTOIMAGE%>'>
Posted to
Getting Started
(Forum)
by
alewis25
on 8/8/2007
Re: Web Service
It depends on what you really need...For a basic understanding try these.... www.codeproject.com/cs/ web service s/my service .asp http://www.codeguru.com/Csharp/Csharp/cs_webservices/tutorials/article.php/c5477 Hope this helps....
Posted to
Getting Started
(Forum)
by
alewis25
on 8/8/2007
C# .net determine how and what order dll will be loaded
Ok, Here is the issue I am having.I have a public class called win32Calls.It does the basic pinvoke call wrapper to WIN 32 API.My calls inside the class are static public methods.How do I force the dll containing my class to be loaded.Is there a way ensure the order of loading the dlls
Posted to
Getting Started
(Forum)
by
alewis25
on 8/8/2007
Page 1 of 39 (390 items) 1
2
3
4
5
Next >
...
Last ยป
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
IIS.NET:
URL Rewriter and Reverse Proxy
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
IIS.NET:
DebugFinder
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online