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
A

Arcdigital

@Arcdigital
About
Posts
10
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can't access classes/objects?
    A Arcdigital

    Hmm...Still doesn't work when I try using the full namespace. Yes, I added the reference to the class library project in my webapp project. Here is the exact code... In Project ZZZ.WebApp.Objects - File User.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ZZZ.WebApp.Objects { public class User { public string FirstName { get; set; } public string LastName { get; set; } } } In Project ZZZ.WebApp.WebUI - File Test1.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using ZZZ.WebApp.Objects; //Also Referenced In The Project File namespace ZZZ.WebApp.WebUI { public class Test1 { ZZZ.WebApp.Objects.User myUser = new ZZZ.WebApp.Objects.User(); myUser. //THIS DOESN'T WORK!! There is no intellisense and it says type name expected, but field name found } }

    ASP.NET csharp question asp-net visual-studio linq

  • Can't access classes/objects?
    A Arcdigital

    Hey, can you guys help me out with this real quick? I have 2 projects (in 1 solution, both .net 3.5) they are ZZZ.Objects and ZZZ.WebUI, the ZZZ.WebUI project contains a reference to ZZZ.Objects. ZZZ.Objects is a class library project, and ZZZ.WebUI is an asp.net web application project I created a new class file in the objects project, it contains (and of course the using, namespace, etc...) public class User { public string FirstName { get; set; } public string LastName { get; set; } } Then in the Web Application I created a file (test.cs) and I put this exact code in it. using System; using System.Collections.Generic; using System.Linq; using System.Web; using ZZZ.Objects; namespace ZZZ.WebUI { public class Test1 { User myUser = new User(); } } I can't set any properties for myUser! It just pops up with nothing in intellisense, and errors if I try to compile with it manually typed. What is going on?? If I try to instantiate the User Class from a file inside the objects project it works fine! Please help :((

    ASP.NET csharp question asp-net visual-studio linq

  • Display Session Variable in HTML Text
    A Arcdigital

    Yes...That's exactly it! Thanks :D, can't believe it was *THAT* simple!

    ASP.NET html

  • Display Session Variable in HTML Text
    A Arcdigital

    Hey, I was wondering if there was a way to display a session variable that is outputted directly as text. Something like this Session Variable is FirstName Logged in as: {INSERT FIRSTNAME HERE} I know I could use a label and set its text on the page load, but isn't there a simpler way using the <% %> stuff :-D

    ASP.NET html

  • ASP.NET Themes Display in IDE?
    A Arcdigital

    Hey, I have asp.net themes setup and when I try to edit a page with the designer it shows up all messed up (since it isn't importing the css stylesheets). Is there a way to get VS to import the correct stylesheets when it is in designer mode for asp.net pages?

    Visual Studio visual-studio csharp css asp-net question

  • Send File As Download After Complete? [modified]
    A Arcdigital

    Hey, I was wondering how I can send a file download after my class is complete. I have a C# + ASP.NET site. I have a Button1_Click class. When that is run it copies some files, does some things and eventually creates a zip file. How do I send that zip file to the user as a download? E.G. I want it to 1) User clicks button 2) Server does what it needs to do 3) User gets a file download popup with the zip file that was created in step 2. All I need help with is #3. Thanks!!, Anand P.S. I've looked into Response.BinaryWrite but I'm not sure if that is it.

    modified on Saturday, September 13, 2008 9:41 PM

    C# csharp question asp-net sysadmin help

  • Check if form is open?
    A Arcdigital

    I have a button that when clicked opens another form. I want it to check and see if the form is already open, and if it is maximize it/bring it to the front. Is this possible?

    C# question

  • Trim String Array
    A Arcdigital

    I posted this a few days ago, but it got kinda lost. I want to have the final array NOT contain the part before the equals sign (result, etc...) Hey, I was wondering if anyone can help me with trimming a string array. I am calling an API that returns this (At bottom of post). I am then using this to convert that into a string array string[] apiresult = new string[25]; char[] splitter = { ';' }; apiresult = result.Split(splitter); My question is, how do I trim the string array so it just contains success 1 Bob etc... instead of result=success userid=1 firstname=Bob etc...

    result=success;userid=1;firstname=Bob;lastname=Smith;companyname=Smith Enterprises;email=bsmith@boostplatform.com;address1=1 Smith Drive;address2=;city=Bobtown;state=Bobstate;postcode=12345;country=US;phonenumber=419-123-4567;notes=TESTING ACCOUNT!!;password=bsmith;status=Active;credit=1010.00;taxexempt=;language=;lastlogin=No Login Logged;billingcid=0;domainemails=;generalemails=;invoiceemails=;productemails=;supportemails=;

    C# question com data-structures testing beta-testing

  • Help with Trimming String Array Please!
    A Arcdigital

    Thanks, but I don't want the firstname, lastname, etc... part of the array. Just the actual answers (Bob, Smith, etc...)

    C# question com data-structures testing beta-testing

  • Help with Trimming String Array Please!
    A Arcdigital

    Hey, I was wondering if anyone can help me with trimming a string array. I am calling an API that returns this (At bottom of post). I am then using this to convert that into a string array

    string[] apiresult = new string[25];
    char[] splitter = { ';' };
    apiresult = result.Split(splitter);

    My question is, how do I trim the string array so it just contains success 1 Bob etc... instead of result=success userid=1 firstname=Bob etc...

    result=success;userid=1;firstname=Bob;lastname=Smith;companyname=Smith Enterprises;email=bsmith@boostplatform.com;address1=1 Smith Drive;address2=;city=Bobtown;state=Bobstate;postcode=12345;country=US;phonenumber=419-123-4567;notes=TESTING ACCOUNT!!;password=bsmith;status=Active;credit=1010.00;taxexempt=;language=;lastlogin=No Login Logged;billingcid=0;domainemails=;generalemails=;invoiceemails=;productemails=;supportemails=;

    C# question com data-structures testing beta-testing
  • Login

  • Don't have an account? Register

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