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
P

Plunging_Falcon

@Plunging_Falcon
About
Posts
30
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Microsoft bug solution didn't work
    P Plunging_Falcon

    Yes, I found this is the System section of the event log: Event Type: Error Event Source: DCOM Event Category: None Event ID: 10016 Date: 28/07/2005 Time: 11:22:37 User: MHPC1355\IWAM_MHPC1355 Computer: MHPC1355 Description: The description for Event ID ( 10016 ) in Source ( DCOM ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: machine-default, Local, Activation, {A9E69610-B80D-11D0-B9B9-00A0C922E750}, MHPC1355, IWAM_MHPC1355, S-1-5-21-109908550-2121663905-1444114214-1004.

    Web Development help com windows-admin question

  • Microsoft bug solution didn't work
    P Plunging_Falcon

    Hi, I have the bug described in http://support.microsoft.com/?scid=kb;en-us;842329&spid=3042&sid=global[^]. I tried their solution (granting the IIS read & execute permissions) but I still get the same error message (even after logging off and on). If you encountered this or know what to do, it might help. Thanks.

    Web Development help com windows-admin question

  • Mysterious NullReferenceException
    P Plunging_Falcon

    OK, sounds like a way. Thanks for your help.

    ASP.NET database csharp asp-net oracle help

  • how many ways are there to create a instance of a class?
    P Plunging_Falcon

    Activator.CreateInstance has to do with the reflection mechanism, which is used to create classes dynamically (name given at runtime) - something you don't need during the normal course of your program. Just stick to the regular dim way...

    ASP.NET question

  • exit after if statement
    P Plunging_Falcon

    No need to do that. Just have checkNum() return a boolean value (true if ok, false otherwise) and add only in case of success.

    ASP.NET css

  • Mysterious NullReferenceException
    P Plunging_Falcon

    Hey, Thanks for the reply. So you think it's best to close the datareader as soon as possible? Basically, I close the datareader write after that procedure (after transfering data to a sortedlist) by executing the following: dr.Close(); dr.Dispose(); dr = null; if (oraConn.State != ConnectionState.Closed) oraConn.Close();

    ASP.NET database csharp asp-net oracle help

  • Mysterious NullReferenceException
    P Plunging_Falcon

    If I remove the try/catch it fails when I try to execute the query.

    ASP.NET database csharp asp-net oracle help

  • Making Fields read-only
    P Plunging_Falcon

    In addition to what the gentleman who replied first suggested, you could alternatively use the SelectedIndexChanged event of the dropdown and write server-side code that disables the controls (control.Enabled = false;). Falcon.

    ASP.NET json tutorial

  • Mysterious NullReferenceException
    P Plunging_Falcon

    Hi all, I have a very weird problem that i have been battling with (or pushing aside...) for months. I wrote an asp.net application that connects to an Oracle db using stored procedures. The procedures seem to work, the code seems to work and when I run it MOST of the time it runs great. But, sometimes (say 1 time out of 10 or 15) it crashes with the false accusation of a nullreference exception. If I go back and perform it again - it works. I added try/catch statements for this exception, and it has reduced their number (if I catch it and do nothing it works!!!), but it still happens and i'm pretty clueless on what to do. I suspect this might be some db problem, maybe i'm not closing connections right, but i don't know what it might be. Here are the 2 methods i use to access the database: protected void execSQLsp(string newCommand, OracleParameter[] parr) { OracleDataReader dr = null; OracleCommand oraCommand = null; try { oraConn.Open(); oraCommand = new OracleCommand(newCommand, oraConn); oraCommand.CommandType = CommandType.StoredProcedure; if (parr != null) for (int i=0; i Second one handles cursor containing queries: `protected OracleDataReader execSQLcurr(string newCommand, OracleParameter[] parr) { OracleCommand oraCommand = null; OracleDataReader dr = null; try { oraConn.Open(); oraCommand = new OracleCommand(newCommand, oraConn); oraCommand.CommandType = CommandType.StoredProcedure; if (parr != null) for (int i=0; i`

    ASP.NET database csharp asp-net oracle help

  • How to position textboxes that are created programmatically
    P Plunging_Falcon

    To position a control somewhere on the page you need to have some sort of a place holder (e.g. a panel, a table and so on). Just place a panel (per say) on the page and then use panel.Controls.Add(textbox)

    ASP.NET help tutorial question

  • AssemblyKeyFile
    P Plunging_Falcon

    Use the MapPathServer command - it will give you the root directory (above \bin).

    ASP.NET csharp asp-net help question

  • Session End
    P Plunging_Falcon

    The problem with SessionEnd is that it doesn't occur when you close the browser, but the session ends which can be 20 minutes after you close the browser or more (depends on your web.config). Anyway, it will happen it just takes time.

    ASP.NET help question announcement

  • Binding A Image Button. Please Help!!!Urgent
    P Plunging_Falcon

    Aenon, You can a code similar to this: ((ImageButton)(MyDataGrid.Items[0].Cells[2].Controls[1])).Command = _(Event handler of some sort)_; Just make sure the indexes match. Hope this helps.

    ASP.NET csharp asp-net wpf wcf help

  • how to printout data stored in server-side?
    P Plunging_Falcon

    I think you can do it using "execCommand" with JavaScript. it should be something along the lines of 'execCommand("Print")', check the syntax in msdn. That means you need a page with the datagrid on it (you can remove all custom design for a printer friendly version) and then activate the command.

    ASP.NET database sysadmin tutorial question

  • how to printout data stored in server-side?
    P Plunging_Falcon

    What exactly is the problem? Is it the printing or the displaying? If you want to display the data on the screen just use a DataGrid and populate it using a DataReader and then you print it if you wish.

    ASP.NET database sysadmin tutorial question

  • Exporting from Access to ASP.NET
    P Plunging_Falcon

    I have an Access application that besides tables and queries also has graphical forms that interact with the tables. I need to export this structure (specifically the forms for the user interface) into a web application (asp.net). What is the quickest way to do this? I noticed there is some sort of "save as .asp" option but couldn't get the hang of it. Appreciate the help, Alex.

    ASP.NET question csharp asp-net design help

  • Table name as parameter
    P Plunging_Falcon

    You can use dynamic sql to do that. For instance, if you have a procedure that gets column_in as column parameter and table_in as table parameter, then you can write something like this: (Oracle SQL, haven't tested elsewhere) OPEN ref_cur1 FOR 'SELECT ' || column_in || ' FROM ' || table_in; I think if you are using SQL SERVER then you should just omit the OPEN...FOR part.

    ASP.NET database

  • Tracking data change - ViewState??
    P Plunging_Falcon

    You don't need to use ViewState for just static controls on the page. ASP.NET does all the work for you. If you have a textbox on the page and you need to find out if the text changed that's what the TextChanged event is for. You need to write a handler for that event. Same for dropdownlists: SelectedIndexChanged event.

    ASP.NET question csharp css help

  • DataGrid TemplateColumn ViewState
    P Plunging_Falcon

    maybe i didn't make this clear... I am NOT adding data, except for one place, and anyway the data stays there. My problem is that if say I have a dropdown list and i choose a value and then hit a button that analyzes what i chose in that dropdown ==> the operation does happen, i.e. the data remains there "enough time" after postback, but the dropdown list itself gets reset: The value I chose is not the selected one anymore. Hope it is clearer now.

    ASP.NET question

  • highlighting a file
    P Plunging_Falcon

    Yes, but that is not the problem, i have access. Anyway, i decided to choose an alternative solution, so nevermind...

    ASP.NET csharp javascript asp-net sysadmin question
  • Login

  • Don't have an account? Register

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