User Profile
Collapse
-
Well spotted, I never noticed. You know ... it could be the other way round :)... -
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.Leave a comment:
-
-
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.Leave a comment:
-
Never mind about my second post, just a stupid error again. Thanks.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 lInputFileLeave a comment:
-
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...Leave a comment:
-
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...Leave a comment:
-
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?Leave a comment:
-
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... -
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...Leave a comment:
-
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?Leave a comment:
-
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....Leave a comment:
-
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.Leave a comment:
-
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)
http:/...Leave a comment:
-
Thank you very much. Had been getting annoyed with this code. The procedure and code makes a bit more sense now. Thanks.Leave a comment:
-
Sorry, I can't help. Not that brainy, but since your asking for help, it doesn't sound that "Simple"
;)Leave a comment:
-
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...Leave a comment:
-
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
EnyiLeave a comment:
-
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
No activity results to display
Show More
Leave a comment: