User Profile

Collapse

Profile Sidebar

Collapse
Enyi
Enyi
Last Activity: Aug 16 '06, 06:06 AM
Joined: Jul 12 '06
Location: Perth, Western Australia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Enyi
    replied to Connectivity between SQL and ASP.NET
    Well spotted, I never noticed. You know ... it could be the other way round :)...
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to Checking for existing File in Directory...
    in .NET
    If your using .NET, then there is a method called 'Exists' in the System.IO.File namespace, which you can use to check whether it exists.

    I'm not sure about the date thing.
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to Connectivity between SQL and ASP.NET
    What error do you get?
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to combobox1 and combobox2
    in .NET
    I think you would want to look into the 'selectedIndexC hanged' event of combobox1.

    Inside that event, check the 'selectedValue' property, if it is the one you want, clear the second combo box, then add some items to it.
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to A parameter is not a parameter, but it is
    in .NET
    Never mind about my second post, just a stupid error again. Thanks.
    See more | Go to post

    Leave a comment:


  • I'm not sure what type of box you want, since openfiledialog is not used on websites. So, i'm going to assume you want a file upload?

    If a file upload is what you want, you may want to look into this control:

    System.Web.UI.H tmlControls.Htm lInputFile
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to A parameter is not a parameter, but it is
    in .NET
    Thank you vijayat,

    That solved the problem perfectly. I didn't realise there was DbType and SqlDbType.

    I got another problem now, i'm getting an exception, "Invalid cast from type datetime to decimal".

    Happens on the line:
    cmdEditCustomer .ExecuteNonQuer y()

    All the data types match fine with table, stored procedure and vb code.

    Anyone know any solution to figure...
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to .NET C++ Trouble adding to listbox
    in .NET
    lol, just googled around a bit and I think I found something:

    http://www.functionx.com/vcnet/controls/listbox.htm

    The example somewhere on this page preceds the string with a capital 'S', worked for me :P...
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to .NET C++ Trouble adding to listbox
    in .NET
    lol, yeah its on.

    I've tried doing what your trying to do myself, only to get some error and its working with textbox, but not strings of any kind.

    But then again, I don't know much C++.

    Someone must know...anyone?
    See more | Go to post

    Leave a comment:


  • Enyi
    started a topic A parameter is not a parameter, but it is
    in .NET

    A parameter is not a parameter, but it is

    Just like my last post I cannot solve this problem with a stored procedure in MSSQL Server 2000 Developer Edition.

    I am trying to use the parameter in VB.NET 2003.

    When I run the VB code and execute the stored procedure, the exact error message is: "Parameter1 is not a parameter for procedure EditCustomer."

    The only thing is it is a parameter for the procedure. I would appreciate any help with this...
    See more | Go to post

  • Enyi
    replied to asp.net for non microsoft
    ASP.NET isn't officially supported on non-Microsoft servers, as you can probably guess. So it won't work natively.

    However, there are quite a few projects out there on the web that attempt to try and port asp.net to other servers.

    I personally have never tried or looked into it much.

    I found this website, which will hopefully get you started looking into it.
    http://www.apache-asp.org/

    That's...
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to Web Access Failed error message
    in .NET
    Hi again Bremanand.

    Just doing some stuff, and I just got the same error message for two of my ASP.NET web service projects.

    My problem was that IIS had not been started. I'm sure you probably checked that already, but that was the only time it happened for me.

    The error message came up when trying to open a solution with those projects in it.

    How you doing with this problem?
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to web.config error
    in .NET
    For this, you would have to go to control panel in Windows, then the IIS configuration module, and setup the virtual directory there.

    But this looks like something you would have to get GoDaddy to do unless you have remote access to your web server....
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to System.Data.OleDb.OleDbException
    in .NET
    Browse to the database file (mdb). Right click the file and go to properties. Then click the security tab, and make sure the localhost\ASPNE T account has the neccessary permissions.
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to String Manipulation in C#... help.
    in .NET
    I not exactly good with string manipulation. I used this example from Microsoft's website.

    Code:
    //Get the culture property of the thread.
    CultureInfo cultureInfo   = Thread.CurrentThread.CurrentCulture;
    //Create TextInfo object.
    TextInfo textInfo = cultureInfo.TextInfo;
    // Convert it
    textInfo.ToTitleCase(title)
    Here is the URL if you want more of an explanation.

    http:/...
    See more | Go to post
    Last edited by Enyi; Aug 1 '06, 03:05 AM. Reason: Forgot to add link in

    Leave a comment:


  • Enyi
    replied to SQL Stored Procedures and VB.NET
    Thank you very much. Had been getting annoyed with this code. The procedure and code makes a bit more sense now. Thanks.
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to VB.NET simple Database Assignment
    Sorry, I can't help. Not that brainy, but since your asking for help, it doesn't sound that "Simple"

    ;)
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to Web Access Failed error message
    in .NET
    http://support.microsoft.com/kb/817264/EN-US/

    http://forums.devx.com/showthread.php?t=8611

    If they fail, heres some more:
    http://www.google.com/search?lr=&ie=...ccess%20Failed...
    See more | Go to post

    Leave a comment:


  • Enyi
    replied to Runtim Control Addition
    in .NET
    Then we need to look at other ways of storing data in ASP.NET apps between user actions.

    We got:
    • Text boxes usually keep their values, save counter in here. Make it hidden if you don't need it displayed on screen. (Even on refreshing sometimes)
    • Session variables and cookies
    • Pass values across in the URL, and use QueryString to get them back
    There all easy to implement.

    Enyi
    See more | Go to post
    Last edited by Enyi; Jul 31 '06, 06:20 AM. Reason: Slight changes

    Leave a comment:


  • Enyi
    started a topic SQL Stored Procedures and VB.NET

    SQL Stored Procedures and VB.NET

    Hey there!

    I need some help getting some code to work. This particular bit is nearly done, just that it's not working.

    Situation:
    Trying to get the row count of an table in an SQL database using VB.NET 2003 and stored procedures in SQL Server 2000 Developer Edition. Dam, it's also just started to rain, oh dear. Anyways...

    Somewhere in my project is the code:
    Code:
    		Try
    			Dim cmdVideoCount
    ...
    See more | Go to post
No activity results to display
Show More
Working...