Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
B

bnath001

@bnath001
About
Posts
6
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to open an existing excel file (not in the browser) in a new window from ASP.NET 3.5 with C#
    B bnath001

    Hello folks,

    I thought this would be very simple. but I am not able to.

    I tried simple code like this using href element. But it tries to open the sheet.xls in the browser window and says it can't find the file. I want the excel file to be opened in excel (not browser). Any suggestions?

    [some excel file](file://domainname/vol1/destinationfiles/sheet.xls)

    The excel file I am trying to open is not on IIS server. It is on file server.
    Thanks much

    nath
    .

    ASP.NET csharp asp-net sysadmin windows-admin tutorial

  • can we have two controls (grid control and a chart control) on the same space/real estate
    B bnath001

    Hello folks, I have a simple .aspx page. I wish I could attach the picture here. I want to show the data either in Chart control or Gridview control. When the user selects an option to see the data either in chart control or grid view control, that specific control has to show up and other control has to become invisible. So far, I am able to populate data succcessfully in the chart control. If the user chooses "Grid view" option, how can I show the data in grid view control in the same location. I don't want the gridview control to be shown in a pop up window or any other window. any suggestions please

    ASP.NET css question

  • How to create a colletion of properties in a C# class
    B bnath001

    Griff, Thanks. But you can't use this as a property of class. Can't have getters and setters. nath

    C# question csharp tutorial

  • How to create a colletion of properties in a C# class
    B bnath001

    I am building a webservice (not WCF). I need to store two values (name,value pairs). Instead of using List, I used Dictionary. But it give me error message saying "Can't serialize the dictionary object. Which collections object I can use (to be able to serialize) to store name value pair in a webservice . Thanks

    C# question csharp tutorial

  • How to create a colletion of properties in a C# class
    B bnath001

    Thanks much. Best forum ever. I don't think I ever posted here... This is the finished code.

    private List _curveswithnodata = new List();

        public List Curveswithnodata
        {
            get { return \_curveswithnodata; }
            set { \_curveswithnodata = value; }
        }
    

    public method() { if (basedonsomecondition) { this.Curveswithnodata.Add(CurveName); } }

    C# question csharp tutorial

  • How to create a colletion of properties in a C# class
    B bnath001

    Hello folks, Happy New Year!!! I have a class that has couple of properties. Can I have a property in that class that can be a collection. Like say the MarketData. can I have a property say "FailedCurves" . It is a string property. But only thing is, this property is an ArrayList or Dictionary object that can have multiple string items in it. How can I do that in C#? Am I thinking correct? Thanks much

    public class MarketData
    {
    #region "Private Data Members"
    private int _countAdvanceCurve;
    private int _countAdvancesSBCAgencyCurve;
    private int _countAdvancesSBCAAACurve;
    private int _countFhlbsfTreasuryCurve;
    private int _countDNCOCurve;
    #endregion "Private Data Members"
    #region "Public Data Members"
    public int CountAdvanceCurve
    {
    get { return _countAdvanceCurve; }
    set { _countAdvanceCurve = value; }
    }
    }

    C# question csharp tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups