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
D

DRAYKKO

@DRAYKKO
About
Posts
26
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Learning jQuery
    D DRAYKKO

    Richard, Thanks for your feedback. Unfortunately that did not work. If I include "display: none" (without the quotes) the element doesn't appear at all (and I also tried using "slow" as the parameter, rather than "4000"). I also tried:

    $("#ContentHeader").hide().slideDown("slow");

    but that didn't work either... Here is my CSS (so far):

    h1, h2{
    color: #FF8000;
    text-align:center;
    }

    #ContentHeader{
    background-color: #000040;
    border-color: #FF8000;
    border-style:groove;
    border-radius: 5pt;
    border-width: 5pt;
    /* display: none; */
    }

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    JavaScript javascript html tools help question

  • Learning jQuery
    D DRAYKKO

    Greetings and Salutations! I'm not sure if this is the right group for this, but if not, please let me know where I should post my questions. I'm a novice to the world of jQuery and I've run into a snag (and can use some help). When I include the following line in my HTML file, the element doe not slide down as expected:

    $(document).ready(function(){	
    	$("#ContentHeader").slideDown(4000);
    });
    

    When I load the page the element appears without sliding down. I'm self taught using CodeAcademy and a text titled: "JavaScript & jQuery: The Missing Manual". Do I have the syntax correct? Here is the full code I'm using:

    <html lang="en">
    <head>

    <script>
    	$(document).ready(function(){	
    		$("#ContentHeader").slideDown(4000);
    	});
    </script>
    

    </head>
    <body>

    Andre Mitchell Stevens Swagger

    Ain't it cool???

    </body>
    </html>

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    JavaScript javascript html tools help question

  • I am trying to update database from datagridview using stored procedure and it keeps on saying The stored procedure expects a parameter BookID which was not supplied. Below is my code
    D DRAYKKO

    It looks like you've defined your BookID as OUTPUT, but trying to pass in the BookID in the line:

    Where BookID = @BookID

    Do you mean for the database to use BookID as an Identity object (in other words automatically set the ID number)? If so Google @@IDENTITY to see how to define this. If not, you might want to consider removing the OUTPUT keyword.

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    C# database announcement lounge

  • if/then/else variable frustration
    D DRAYKKO

    Steve Embry wrote:

    A local variable named 'strbody' cannot be declared in this scope because it would give a different meaning to 'strbody', which is already used in a 'parent or current' scope to denote something else

    Looks like that variable is being defined somewhere else in the code; in other words you defined a variable with that exact same spelling and then tried to define it again somewhere else in the code. Try the previous suggestion of defining "strbody" before the statement and use the Find function (if you're using VS, navigate to Edit > Find and Replace > Quick Find) to try to locate all instances of that variable name, and see if maybe you used it for a different variable. Then just change the name (but, if you do, remember to update all references to the changed variable).

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    C# database csharp testing beta-testing help

  • How do i take the text from Form2.textbox and paste it into Form1.textbox?
    D DRAYKKO

    There's actually an article here that shows how. Take a look here: [Passing Data Between Forms] If that doesn't work try using searching Google for something like: "Passing data between forms in C#" Good luck. ;)

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    C# question tutorial

  • VS2010 WSAT Error - Unable to connect to SQL Server database
    D DRAYKKO

    OK. I'm fairly certain that I can connect to the database, using ADO.NET (i.e. - using SqlConnection and SqlCommand classes). I also took a look at the database I created and lo and behold under the Stored Procedure I saw all the Membership sp's that are created when using the WSAT, such as "Membership_ChangePassword" and "Membership_CreateUser". So I'm confused about why I'm seeing the error (see my original post). I'm including the connectionStrings and info as requested: The ConnectionString is:

    and the tag is:

    Does it matter that there are two entries for the name attribute even though the values are different? Any help you can offer would be greatly appreciated.

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    ASP.NET help asp-net database sql-server csharp

  • VS2010 WSAT Error - Unable to connect to SQL Server database
    D DRAYKKO

    Thanks Richard. The answer is yes to some of these, but I want to try one more thing. If it doesn't work I will indeed post the connectionStrings and information.

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    ASP.NET help asp-net database sql-server csharp

  • VS2010 WSAT Error - Unable to connect to SQL Server database
    D DRAYKKO

    Greetings All I'm experiencing some difficulty setting up Memberships using the WSAT. I get the following error: "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database." I've already tried running aspnet_regsql (which was successful) and I'm checking for solutions in Google, but so far nothing has helped. I've also tried changing the permissions on the MSSQL directory and checking my firewalls; not to mention using the SQL Server Configuration manager to make sure the named pipes are enabled (and restarting the service). I also tried running through the suggestion in this article: http://weblogs.asp.net/sukumarraju/archive/2010/01/17/configuring-web-application-to-utilise-asp-net-application-services-database.aspx but it only made matters worse. I'm sure there's something simple I'm overlooking. Does anyone have any suggestions about what else I might try?

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    ASP.NET help asp-net database sql-server csharp

  • Passing Parameters to a Stored Procedure (in C# NOT VB)
    D DRAYKKO

    Thanks for the prompt reply! I'll correct that... DRAYKKO

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    ASP.NET csharp sharepoint database security xml

  • Passing Parameters to a Stored Procedure (in C# NOT VB)
    D DRAYKKO

    I'm having some problems getting my stored procedure to see th parameters I'm passing in. The parameters are retrieved from a web form, and seen to be successfully send to the data access tier, but when I run the code I get the following exception: "Procedure or Function 'stbFormPropertiesToXML' expects parameter '@displayMode', which was not supplied. " The code is:

            DisplayMode = dMode;
            FolderAlias = \_folderAlias;
            SqlConnection conn = new SqlConnection(@"Data Source= .;Initial Catalog=MXContact.NET\_Demo\_100401;Integrated Security=true;");
    
            SqlCommand cmd = new SqlCommand();
            cmd.Connection = conn;
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "stbFormPropertiesToXML";    //stored procedure
            SqlDataAdapter frmDA = new SqlDataAdapter(cmd.CommandText, cmd.Connection);
            DataSet FormPropertiesDS = new DataSet();
    
            try
            {
                conn.Open();
                cmd.Parameters.Add(new SqlParameter("@displayMode", SqlDbType.NVarChar));
                cmd.Parameters\["@displayMode"\].Direction = ParameterDirection.Input;
    
                cmd.Parameters.Add(new SqlParameter("@folderAlias", SqlDbType.NVarChar));
                cmd.Parameters\["@folderAlias"\].Direction = ParameterDirection.Input;
    
    
                cmd.Parameters\["@displayMode"\].Value = DisplayMode;
                cmd.Parameters\["@folderAlias"\].Value = FolderAlias;
    
                cmd.ExecuteNonQuery();
                frmDA.Fill(FormPropertiesDS);
                conn.Close();
    
                FormPropertiesDS.WriteXml("FormProperties.xml");
                //FormPropertiesDS.WriteXml(MapPath("FormProperties.xml"));
            }
            catch (Exception ex)
            {
                errorMsg = ex.Message;
            }
            finally
            {
                conn.Close();
            }
    

    Where DisplayMode and FolderAlias are the parameters I'm trying to pass into the SP. The SP is defined as:

    ALTER PROCEDURE [dbo].[stbFormPropertiesToXML]
    @displayMode NVARCHAR(2),
    @folderAlias NVARCHAR(30)

    AS

    SELECT *
    FROM [stbFormProperties]
    WHERE [FolderKey] = (SELECT [FolderKey] FROM [stbFolders] WHERE [FolderAlias] = @folderAlias)
    AND [DisplayMode] = @displayMode

    I've been eearching the web for articles for the past serveral hours; so a second pair of eyes would be a big help. DRAYKKO

    ASP.NET csharp sharepoint database security xml

  • Stretching A Background Image Using Style Builder in VS2005
    D DRAYKKO

    Hello All: I'm trying to stretch a background image (rather than have it tile repeatedly), but I'm not sure how to do this. I'm using the Style Builder in VS2005, and it has every option except stretching the image. Any advice you can offer is greatly appreciated. Andre

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    ASP.NET tutorial

  • Defining "Entry Level" (A Rant)
    D DRAYKKO

    This is a very interesting point. It seems that the hiring companies "define" what is considered entry, junior, intermediate, what have you. So it's very hard for those trying to get a foot in the door, to figure out which jobs they qualify for. And even worse for those of us at the mid-point of our careers and seeking to change. And for us "entry level" .NET developers, it looks like the only option is to do our own consulting (which can be a mine field, in and of itself, what with all the stuff you have to set up to be "self-employed"). It's all very confusing.... :confused:

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    The Lounge career question

  • Defining "Entry Level" (A Rant)
    D DRAYKKO

    That's a good point. I was thinking about it in terms of say someone who's received the training, and has "skills", in that capacity. But you're definition is definitely on point. Either way, I understand "entry level" as someone who is coming in on the ground floor and therefore may not have enough real world experience; and will acquire that experience and indeed develop his/her skills (as you eloquently stated). :thumbsup:

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    The Lounge career question

  • I Don't Think I've Ever Been More Angry
    D DRAYKKO

    Dude! I SO feel your pain! I really do...but do I your permission to use the "...I'm coming back and hell's coming with me..." line??? That is PRICELESS!!!! :laugh: :laugh: Also, with regard to the CEO not seeing the obvious, take three DEEP breaths and remember the mantra: "logic don't figure with administrators" LOL! I'm glad you made it back home without expelling any road rage. Enjoy dinner, enjoy the missus, enjoy the night...

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    The Lounge sysadmin help question code-review career

  • Defining "Entry Level" (A Rant)
    D DRAYKKO

    Thanks for that! This is the "new thing" I learned today! :laugh:

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    The Lounge career question

  • Defining "Entry Level" (A Rant)
    D DRAYKKO

    LOL! You're right, an entry-level veterinarian would likely not make it as an entry-level airline pilot (hypothetically speaking). But I was referring to cases where someone who IS trained in the field they're applying for, yet doesn't have the actual work experience (yet). Guess I should have made that more clear....

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    The Lounge career question

  • Defining "Entry Level" (A Rant)
    D DRAYKKO

    I'm posting this in the hopes that it will get to the hiring managers and recruiters who claim that they will "accept" entry-level candidates, but reject them, out of hand, when they dare to apply to those so-called "entry-level" positions. First a definition: perhaps I'm "old school" in my thinking, but where I come from, "Entry-Level" means that a candidate possesses the necessary skills, however, they don't yet have enough practical work experience. In other words, a person who likely has academic experience in the job their applying for, but 0 to perhaps 1 year of "real work" experience. Hence the term ENTRY LEVEL - the candidate seeks to ENTER into the job and GAIN the experience. That said, I have found myself on the receiving end of the "Your resume looks good, but you don't have enough experience as a *insert career here*" speech for EVERY "entry level" position I've applied for. Did I miss something??? Isn't that the point??? That IS what it means to be "ENTRY level"! Personally, I would advise those who are seeking to hire new candidates to change the wording of their open positions to read as "intermediate" or "mid-level" if they are indeed seeking anyone with 3 or more years of experience. If hiring mangers are going to advertise for "ENTRY level" candidates, then they shouldn't be surprised when they're inundated with "recent grads" or people seeking to change careers. One final note: don't be so quick to reject those recent grads and people seeking to change careers, when we DO apply for those "entry level" positions; because we're eager to apply ourselves, the shot you give us, might be JUST the opportunity to make your company grow....

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    The Lounge career question

  • .NET Interview Questions
    D DRAYKKO

    I'm reviewing for an interview, and the following question is on my list: "What event occurs before a control is rendered to the user?" I'm uncertain if the answer that's sought is PreInit or Postback. Please advise. Thanks. :confused: Draykko

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    C# question csharp career

  • Customizing the CreatUserWizard Component
    D DRAYKKO

    Thank you sashidhar! That article had the answer I needed! :) Draykko

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    ASP.NET database tutorial question lounge

  • Customizing the CreatUserWizard Component
    D DRAYKKO

    I'm trying to develop my own social app that prompts the user to enter profile information (i.e. - gender, height, weight, etc.), by building on the CreateUserWizard. I figured out how to add a step that prompts for that information, but I'm not sure how to get at the subsequent database, to add the additional fields (i.e. - gender, height, weight). Is there a way to access this database, are the new fields automatically added to the database or do I have to build a new one to house the information from the additional step(s)? Draykko---

    ======================= Every experience in life is a lesson to be learned A. Stevens B.S., Computer Science

    ASP.NET database tutorial question lounge
  • Login

  • Don't have an account? Register

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