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
S

signbit

@signbit
About
Posts
66
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to use MapPath() function while uploading a file using FileUpload control
    S signbit

    thanks, it worked

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET help tutorial

  • How to use MapPath() function while uploading a file using FileUpload control
    S signbit

    i am creating a directory using code string path="C:/My Documents/"; Directory.CreateDirectory(path); directory is created successfully and i can view it in my c drive, now if i tries to upload a file using code if (FileUpload1.HasFile) { path += FileUpload1.FileName; FileUpload1.SaveAs(MapPath(path)); } it produces an error message showing "virtual path 'C:/My Documents/fileName' does not exists" while path do exists in my drive. any suggestion about the reason of this error. Thanks in advance.

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET help tutorial

  • <% and %> tags? can I use them to dynamically generate content?
    S signbit

    Hi, Can I use <% = and %> tags to insert ASP.NET code snippets into my HTML? If yes? why doesn't the following code work?

    <asp:RadioButton id="<% = r[i]["ID"].ToString() %>" runat="server" />

    Also, if I use something like:

    <asp:RadioButton id="SomeID" value="<% = r[i]["Value"].ToString() %>" runat="server" />

    Any Ideas?

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET csharp html asp-net sysadmin question

  • Can't use namespaces for ASP.NET pages...
    S signbit

    Thanks Sandeep, I'll be obliged. :) hope to hear from u soon...

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET csharp help asp-net question

  • Can't use namespaces for ASP.NET pages...
    S signbit

    Yes, it's like (NOTE: I am typing it by hand (as the code is not in my laptop right now), so please ignore any syntax errors )

    namespace LSW
    {
    class SignUp : System.Web.UI.Page
    {
    ...........
    ...........

    and I trying to access it with inherits="LSW.SignUp" which throws unresolved symbol error. strangely enough, as soon as I remove the namespace (from both the class and the inherits attribute), the code starts to work... Warmest Regards,

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET csharp help asp-net question

  • Can't use namespaces for ASP.NET pages...
    S signbit

    Thanks, and yes it is so, but what is the fix? :)

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET csharp help asp-net question

  • Can't use namespaces for ASP.NET pages...
    S signbit

    Well, yes, it does look like it... why? is it wrong? Warmest Regards,

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET csharp help asp-net question

  • Can't use namespaces for ASP.NET pages...
    S signbit

    Hello, I am getting a strange problem in my projects (ASP.NET/C#), whenever I try to put the classes into a namespace, an error is generated saying that it cannot resolve the symbol i.e.

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyPage.aspx.cs" Inherits="MyPage" %>

    works fine, but

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyPage.aspx.cs" Inherits="MyNamespace.MyPage" %>

    doesn't! any ideas why this might be happening? Warmest Regards,

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET csharp help asp-net question

  • Doesn't compile page if I put the Class in a namespace...
    S signbit

    Thanks for the reply pal, have tried that already, doesn't matter what the name of the class is, it still won't compile... :(

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET help csharp visual-studio

  • Doesn't compile page if I put the Class in a namespace...
    S signbit

    Hello, take a look at the following line of code...

    <%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="_Default" %>

    however, if I put the class _Default in a namespace, say MyNamespace and try the following line:

    <%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="MyNamespace._Default" %>

    VS generates an error:

    Could not load type 'MyNamespace._Default'

    Any help would be highly appreciated...

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    ASP.NET help csharp visual-studio

  • Is it possible to create an array of a user class?
    S signbit

    I thought the same when I first looked at the error message, but the funtions is public. Do I need to put 'public' before 'class' as well?

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C# question css data-structures help

  • inserting data thru forms
    S signbit

    You take the values and run the query through an SQLCommand Object, that's the simplest solution...

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C# csharp database asp-net sql-server sysadmin

  • Is it possible to create an array of a user class?
    S signbit

    Hello, (call it my laziness or my haste that I am post a question straight here instead of consulting the reference books) I have a point class in my project called FoxPoint, can I make a 2D array like this: FoxPoint[,] strokes = new FoxPoint[4, 10]; It's giving me strange errors:

    Error 1 Inconsistent accessibility: parameter type FOX_CSharp.FoxPoint[*,*]' is less accessible than method 'FOX_CSharp.ConComp2Form.DrawBoundries(FOX_CSharp.FoxPoint[*,*])' C:\...\FOX_CSharp - Integrated - Aug 05 06\FOX_CSharp\ConComp2Form.cs 195 21 FOX_CSharp

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C# question css data-structures help

  • How to assign a specific value to all the array elements at the time of initilization?
    S signbit

    Hello, I have an array of, say 40, elements, and I want all the elements to contain 255 when the array is initialized, is there a way to do it? (like in C++, we did int array[40] = {255}; )

    - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C# c++ data-structures tutorial question

  • Is there a way to create native exe?
    S signbit

    Hello, Is there a way to create native exe from VS.NET? I have an application that would be used by a client who I don't think would have .NET framework. - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C# csharp c++ dotnet visual-studio question

  • Using a C DLL in a C# Application...
    S signbit

    Is there a way to use a C DLL to use in a C# Application? :) - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C# csharp question

  • Getting a Pointer to DC from Document
    S signbit

    Iain Clarke wrote:

    A CDocument is supposed to have no idea about how its data is displayed

    Yup! but we break the rules sometimes! ;) Actually, I just need a refrence to a DC (the View's DC) to set some parameters, I am not doing any drawing... - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C / C++ / MFC question

  • Getting a Pointer to DC from Document
    S signbit

    Dear All, how can I get a pointer to DC (that is associated with the View):-> from the document class? I need a pointer to DC to do some manipulation... I am using: CDC *pDC = AfxGetMainWnd()->GetDC(); .... .... AfxGetMainWnd()->ReleaseDC(); but it's not working as expected... - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C / C++ / MFC question

  • The Image is being displayed upside down :(
    S signbit

    I said it's not my libraries that crash, it's .NET that crashes (my library returns the values as expected) - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C / C++ / MFC graphics question help

  • The Image is being displayed upside down :(
    S signbit

    What is correct? giving negative height? I did that and CLR returned an exception... - A programmer's national anthem; "AAAAAHHHHH!!!!"

    C / C++ / MFC graphics question help
  • Login

  • Don't have an account? Register

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