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

aecordoba

@aecordoba
About
Posts
37
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Localization
    A aecordoba

    I was learning how use localization in the web sites by reading "Walkthrough: Using Resources for Localization in ASP.NET" from the Help in VS2005. This Walkthrough talk about localization of controls in Design view. But, how can I localize the controls I add to the web site programmatically? Thank you in advance.

    [Adrián Córdoba]

    ASP.NET question csharp asp-net design help

  • Move the Web Site project to another folder [modified]
    A aecordoba

    Thank you, HemJoshi. The issue was just resolved, with the following steps: 1- Remove the WebSite from the solution in VS2008. 2- Move the WebSite folder to the new location. 3- Add an existing WebSite from the new folder to the solution. This procedure work fine. Thank you, anyway.

    [Adrián Córdoba]

    Visual Studio question csharp visual-studio

  • Move the Web Site project to another folder [modified]
    A aecordoba

    Hi all! I'm (almost) newbie on Visual Studio. I've a solution created on VS2005 with some Windows Application projects and a Web Site. (Now, this solution was converted to VS2008) All Windows Application projects are in ...\Visual Studio 2005\Projects\ folder, and the Web Site is in ...\Visual Studio 2005\WebSites\. I need to move the Web Site project to ...\Visual Studio 2005\Projects\. Is this possible? (I know I can't move it by simple "cut and paste" method.) How can I move it? Thank you in advance.

    [Adrián Córdoba]

    modified on Sunday, September 28, 2008 7:31 PM

    Visual Studio question csharp visual-studio

  • Enter key and button behavior
    A aecordoba

    Steve Echols wrote:

    If you're using master pages, you have to set the default button for each page manually like this (in you Page Load handler): HtmlForm frm = (HtmlForm)Master.FindControl("form1"); frm.DefaultButton = sendButton.UniqueID;

    Thank you, 'S'. You are right.

    [Adrián Córdoba]

    ASP.NET csharp asp-net sysadmin help question

  • Enter key and button behavior
    A aecordoba

    Hi there! I have a WebForm (ASP.NET 2.0) with a textbox and two buttons, one of them (sendButton) to send the textbox's content, and the other one (cancelButton) to cancel the operation. I need when the user write something in the textbox and then press 'Enter' key, the textbox's content will be sent to the server. (The same thing like if he push the sendButton.) I have some WebForms with that behavior: 'Enter' key has the same effect like a button, but I don't see difference. Can somebody help me? Thank you in advance.

    [Adrián Córdoba]

    ASP.NET csharp asp-net sysadmin help question

  • Java Design Patterns: A Tutorial's CD-ROM
    A aecordoba

    Yeah, I know. But my CD-ROM is damaged.

    [Adrián Córdoba]

    Java java design tutorial question learning

  • Java Design Patterns: A Tutorial's CD-ROM
    A aecordoba

    Hi there! Please, somebody can tell me where can I find to download the CD-ROM that accompanies the book "Java Design Patterns: A Tutorial" by James W. Cooper? Or can somebody share it? Thank you in advance.

    [Adrián Córdoba]

    Java java design tutorial question learning

  • Design patterns
    A aecordoba

    Hi, there! I'm learning to program with Java and I'd like to begin to read about design patterns applied to Java. I tried to read "The design patterns - Java Companion" (by James W. Cooper), but I think it's a little advanced for me. Somebody can tell me where do I find reading matter about design patterns? Thank you in advance.

    [Adrián Córdoba]

    Java java design question learning

  • Netbeans data entry
    A aecordoba

    Thank you. I'll try your recommendations. P.S.: I was using printf method because it was recommended in the practice of the book I studying with (Core Java 2).

    [Adrián Córdoba]

    Java java visual-studio help tutorial question

  • Netbeans data entry
    A aecordoba

    I'm beginning with java and I'm using NetBeans IDE 6.1 to edit, build and run my first sourcefiles and projects. The problems is when I need to enter data to my program. For example, look at the following code:

    package formattedprint;
    import java.util.*;

    public class Main {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);

        System.out.println("Enter an integer number:\\n");
        int intNum = in.nextInt();
        
        System.out.println("Enter a string:\\n");
        String string = in.nextLine();
        
        System.out.println("------------------------------");
        System.out.printf("Integer number: %d%n", intNum);
        System.out.printf("Cadena: %s%n", string);
        System.out.println("------------------------------");
    }
    

    }

    When I run this code, there is not an input window. Only I can enter data in the "output window", and it seems to work in a bad way: When the program ask for the integer number and I enter 1 (for example), the program finish without ask for the string. This is the output window:

    init:
    deps-jar:
    Compiling 1 source file to /home/adrian/NetBeansProjects/FormattedPrint/build/classes
    compile:
    run:
    Enter an integer number:

    Enter a string:


    Integer number: 1
    Cadena:

    1
    BUILD SUCCESSFUL (total time: 6 seconds)

    I think, I'm doing something wrong. (May be I should open an input window, but I didn't find it.) Please, can somebody help me?

    [Adrián Córdoba]

    Java java visual-studio help tutorial question

  • Cascade Style Sheet
    A aecordoba

    I'm not using Firefox. It isn't installed.

    -- [Adrián Córdoba]

    ASP.NET css question learning

  • Cascade Style Sheet
    A aecordoba

    Hi! I can't understand it... I'm using a table control with "CssClass" property inside an user control. If I set 'CssClass="footer"', the '.footer' style is applied ok; but if I set 'CssClass="report"', this style don't work. Of course, both '.footer' and '.report' exist in css file and the master page that contains the user control have a '' in the 'head'. Do you have any idea? Thank you in advance.

    -- [Adrián Córdoba]

    ASP.NET css question learning

  • To warn about the data changes.
    A aecordoba

    Hi! I'm newbie in ASP.NET world. My question is: I have a web page (ASP.NET 2.0 with code behind file C#) with some controls, like text boxes, drop down lists and so on. I'd like when an user change any data in any control, and then he/she try to close the browswer or try to leave the web page without save the data, it appear a message box warning that he/she will lose the changes. Note: Script options doesn't work because I'm using master pages and scripts can't be inserted in content file. So I need a code-behind solution. Do you have any idea? Thank you in advance.

    -- [Adrián Córdoba]

    ASP.NET csharp question asp-net tools

  • Warning about to lose the changes.
    A aecordoba

    Hi! I'm newbie in ASP.NET world, but I read a good book about it. My question is: I have a web page with some controls, like text boxes, drop down lists and so on. I'd like when an user change any data in any control, and then he/she try to close the browswer or try to leave the web page without save the data, it appear a message box warning that he/she will lose the changes. Do you have any idea? Thank you in advance.

    -- [Adrián Córdoba]

    ASP.NET question csharp asp-net learning

  • Retrieving the identity value after insert a row.
    A aecordoba

    I understood you, but database is already working (in production), so I can't modify it. Thank you very much.

    -- [Adrián Córdoba]

    C# database sql-server sysadmin question announcement

  • Retrieving the identity value after insert a row.
    A aecordoba

    Yes, I used an auto increment identity column. Thank you very much.

    -- [Adrián Córdoba]

    C# database sql-server sysadmin question announcement

  • Retrieving the identity value after insert a row.
    A aecordoba

    OK. Please, suppose I just inserted a new row in a datatable with:

    myDataSet.myDataTable.Rows.Add(myNewRow)

    How can I get the identity column value? Thank you.

    -- [Adrián Córdoba]

    C# database sql-server sysadmin question announcement

  • Retrieving the identity value after insert a row.
    A aecordoba

    Hello. I'm programming a Windows Application which manage data in a MS SQL Server database. So, I created a DataSet of the database by means of the wizard, and in the "Advanced Options" I checked the followin check box: Refresh the data table Adds a Select statement after Insert and Update statements to retrieve identity column values, default values, and others values calculated by the database. Now, I need to retrieve the identity value of the row I'm inserting. Which "Select statement" was added in order to get the identity column value after insert a row? How should I use those statements? Thank you, in advance.

    -- [Adrián Córdoba]

    C# database sql-server sysadmin question announcement

  • How I use an Applicaton Role?
    A aecordoba

    KaptinKrunch wrote:

    I'm waiting for the day google does not have the answer. http://msdn2.microsoft.com/en-us/library/5k850zwb.aspx\[^\]

    KaptinKrunch: I'm talking about to use "Application Roles" (from MS SQL Server's roles) in my application for connecting to the database. I'm not talking about roles for my applicaton. In other words, how do I modify my application (now using Windows Authentication) to connect to the database by using an application role that I created in the database (SQL Server Management Studio)? I saw several sites found by mean Google, but I didn't find a good guide for this purpose. Anyway, thank you for your answer.

    -- Adrián Córdoba

    C# question csharp database visual-studio security

  • How I use an Applicaton Role?
    A aecordoba

    Hi folks! I'm coding a very simple Windows Application on VS 2005 (C#) in order to see the records of Customers table of Northwind database. This Windows Application works fine by "Debugging" on VS 2005 enviroment with "Windows Authentication" to connect to the database. Now, I thinking to deploy the application, so I created an "Application Role" in the Northwind database. But, how do I use that Application Role in my application? How do I invoke it? Can somebody help me? (Details and reference to step by step guides will be appreciated.)

    -- Adrián Córdoba

    C# question csharp database visual-studio security
  • Login

  • Don't have an account? Register

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