Search

You searched for the word(s): userid:402415

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.
  • 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 ยป