User Profile

Collapse

Profile Sidebar

Collapse
CZahrobsky
CZahrobsky
Last Activity: Mar 20 '13, 01:57 PM
Joined: Sep 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • CZahrobsky
    replied to How to dynamically set type
    P.GetType() returns PropertyInfo...
    You want to use p.PropertyType:
    Code:
                foreach (DataRow r in dtIT.Rows) 
                    { 
                        foreach (PropertyInfo p in t.GetProperties()) 
                        { 
                            Type pType = p.PropertyType; 
      
                            //assign any matching column names to object properties
    ...
    See more | Go to post

    Leave a comment:


  • CZahrobsky
    replied to How to deploy a webservice in IIS ?
    in .NET
    I cannot post a reply

    The answer to this question

    can be found here:

    http://en.csharp-online.net/Creating...irectly_to_IIS...
    See more | Go to post
    Last edited by Niheel; Nov 8 '11, 10:12 PM.

    Leave a comment:


  • CZahrobsky
    replied to Page cannot be displayed!
    in .NET
    Almost all "cannot be displayed" errors I have encountered are permissions related. Make sure the project is in a web application folder and that the folder has all the necessary read, write and execute permissions. Not knowing more about your project, I'd also suggest checking your database permissions.
    See more | Go to post

    Leave a comment:


  • CZahrobsky
    started a topic Ignore Excel formula errors using VBA

    Ignore Excel formula errors using VBA

    I've written a macro to remove the annoying error flags (with a green triangle in the corner and an exclamation point with a drop-down when you enter the cell) in Excel spreadsheets that have a different formula for adjacent cells:

    Code:
    Sub subIgnoreErrors(Optional ws As Worksheet)
    Dim cell As Range
    Dim intLoop As Integer
    Dim strEndCell as String
        On Error Resume Next
        If ws Is Nothing Then Set ws
    ...
    See more | Go to post
No activity results to display
Show More
Working...