Search Results

Showing results 1 to 40 of 319
Search took 0.02 seconds.
Search: Posts Made By: Paladine ; Forum: ASP.NET and child forums
Forum: ASP.NET Jan 22nd, 2008
Replies: 3
Views: 685
Posted By Paladine
What version of ASP.NET? 1.0, 1.1, 2.0, or 3.0... each has different security levels/requirements/restrictions unique to its code level.

For 2.0 :...
Forum: ASP.NET Jan 22nd, 2008
Replies: 4
Views: 1,106
Posted By Paladine
You could also place this "connection" in a Web.config file, for security purposes...

And to be sure... what version of ASP.NET are you speaking of? .Net 1.0, 1.1, 2.0, 3.0 ?

2.0 Tutorial:...
Forum: ASP.NET Jan 22nd, 2008
Replies: 152
Views: 186,370
Posted By Paladine
The Answer to your very question about .. "How do I prevent direct access to the Default.aspx via URL entry..." is found in this very thread...



Found here: ...
Forum: ASP.NET Jan 22nd, 2008
Replies: 152
Views: 186,370
Posted By Paladine
This is done in your code prior this statement. This is "validation" is done when you pass the username/password into the DBConnection Function:


...
If DBConnection(txtUserName.Text.Trim(),...
Forum: ASP.NET Apr 21st, 2007
Replies: 152
Views: 186,370
Posted By Paladine
Hey Benbujwah,

If you did do the CUT and PASTE with Visual Web Developer Express, then that is the cause of the error. This code is for .NET 1.0 or 1.1 ONLY and not .NET 2.0 (which is what Web...
Forum: ASP.NET Mar 29th, 2007
Replies: 152
Views: 186,370
Posted By Paladine
No worries Rich,

Good question. See page 2 of this tutorial on how to do just what you asked.

http://www.daniweb.com/techtalkforums/thread19303-2.html
Forum: ASP.NET Mar 17th, 2007
Replies: 9
Views: 3,655
Posted By Paladine
The error states Object not declared.... On Line 41 and Char 3. Where is that in your code?

Provide the text from the error message you took a screen shot of, this will help us narrow things...
Forum: ASP.NET Jan 14th, 2007
Replies: 5
Views: 6,423
Posted By Paladine
Remember that this code is running on the web server in a process that is not running as the currently logged on (to the server) user. Therefore the process will be running under its own Window...
Forum: ASP.NET Dec 30th, 2006
Replies: 5
Views: 19,578
Posted By Paladine
Good points nikkiH!

One thing that can be done as well is to retrieve the date/time from the database as stored and use the parse/format methods in ASP.NET to produce the desired output.

...
Forum: ASP.NET Dec 14th, 2006
Replies: 6
Views: 1,809
Posted By Paladine
Not a dabbler in mySQL setups...but thought this may be helpful

http://www.interworx.com/support/docs/iworx-cp/sysadmin/system-services/mysql/howto-mysql-options
Forum: ASP.NET Dec 14th, 2006
Replies: 4
Views: 6,901
Posted By Paladine
Could you not test in a logic statement if the row count is not > 0 than ignore?
Forum: ASP.NET Dec 11th, 2006
Replies: 4
Views: 2,151
Posted By Paladine
How have you setup SQL? It sounds like you have it setup as Windows Authentication and NOT mixed mode.

You will have to add your ASP.NET user to the sql authenticated users.
Forum: ASP.NET Dec 10th, 2006
Replies: 4
Views: 2,151
Posted By Paladine
Couple of questions:

What framework are you running for IIS?
Is the directory of the application a Virtual Directory?
Do other ASP.NET application have the same problem? (i.e. a simple Hello...
Forum: ASP.NET Dec 10th, 2006
Replies: 8
Views: 7,430
Posted By Paladine
Also try looking at some of the tutorials and posts about Login pages, etc on Dani Web as they contain good examples of searches from values entered into a textbox.
Forum: ASP.NET Dec 7th, 2006
Replies: 3
Views: 3,287
Posted By Paladine
<appSettings/>
<connectionStrings>
<add name="pubsConnectionString1" connectionString="Data Source=P4C800E\SQLEXPRESS;Initial Catalog=pubs;Integrated Security=True"
...
Forum: ASP.NET Dec 7th, 2006
Replies: 8
Views: 7,430
Posted By Paladine
A search is bascially a query in the most basic sense. i.e. SELECT title FROM books WHERE author = "King, Stephen"

So the questions become;

What are you wanting to do for the search?
...
Forum: ASP.NET Dec 7th, 2006
Replies: 6
Views: 1,809
Posted By Paladine
Appears to be up and running again
Forum: ASP.NET Oct 21st, 2006
Replies: 152
Views: 186,370
Posted By Paladine
Hi Mike,

Visual Web Develper or Visual Studio 2005 is in ASP.Net 2.0 and not 1.1. So some modification of this code would need to be done, as there are some differences which makes this code...
Forum: ASP.NET Oct 19th, 2006
Replies: 152
Views: 186,370
Posted By Paladine
Hi Mike,

I would review the tutorial section at the top of this thread for the step by step procedure, but bascially the imports are placed at the top of the code behind page or top of the script...
Forum: ASP.NET Oct 10th, 2006
Replies: 4
Views: 1,553
Posted By Paladine
Here is a link.. (http://sqlserver2000.databases.aspfaq.com/what-are-reserved-access-odbc-and-sql-server-keywords.html)

NOTE: Access is not inclusive of the JET engine. So for a full...
Forum: ASP.NET Oct 10th, 2006
Replies: 5
Views: 5,913
Posted By Paladine
This is correct. But as an aside, it is not good practice to use the LIKE clause for something like a staffID, which should be unique or a primary key.

But that depends on the application and...
Forum: ASP.NET Sep 17th, 2006
Replies: 6
Views: 8,686
Posted By Paladine
pseudo_code:

Dim strSQL as String

strSQL = "SELECT Field1, Field2 FROM tbltemp WHERE Field1 = '" & TextBox1.Text & "'"



Hope this helps.
Forum: ASP.NET Jul 3rd, 2006
Replies: 14
Views: 7,192
Posted By Paladine
Hi there,
I have given you the tools to do this. Give it a try and if you have specific problems I will help you with it. The code to do this is right there in the links I provided.

Another...
Forum: ASP.NET Jul 3rd, 2006
Replies: 152
Views: 186,370
Posted By Paladine
Hi there glad I could help.

At the start of this thread, page 1, there is the steps to using a store procedure (preferred methodology) for this.


CREATE PROCEDURE sp_ValidateUser /*...
Forum: ASP.NET Jul 2nd, 2006
Replies: 6
Views: 2,599
Posted By Paladine
Understood, but without the Number column it is a very complex means of determining the row number of a record in a table. Why? Several reasons. First of all, remember, a SELECT statemet or...
Forum: ASP.NET Jul 2nd, 2006
Replies: 4
Views: 1,388
Posted By Paladine
Patience!

Also, we are not here to do your work for you, the general edicate here is to state the question / problem and provide the work you have tried to to solve it but have been unsuccessful....
Forum: ASP.NET Jul 2nd, 2006
Replies: 6
Views: 2,599
Posted By Paladine
Well, as I originally stated you are seeming to already be grabbing the row number in your select statement!

Note the changes in red to your code to get the "number" from the select statement.
...
Forum: ASP.NET Jul 1st, 2006
Replies: 3
Views: 3,493
Posted By Paladine
What do you have for Imports in this Class?
Forum: ASP.NET Jul 1st, 2006
Replies: 6
Views: 2,599
Posted By Paladine
Are you wanted the Number from your select statement criteria?

Because if the is the case then simply put:


label1.text = kisiler.GetValue(0)
' Where 0 represents the first colum or
' ...
Forum: ASP.NET Jul 1st, 2006
Replies: 1
Views: 1,318
Posted By Paladine
This may sound strange, but have you reinstalled Web Matrix and what version of .Net framework are you running? Have you reinstalled the .Net framework?
Forum: ASP.NET Jun 30th, 2006
Replies: 14
Views: 7,192
Posted By Paladine
As you wanting to store this in the Database?

You could us an old CGI standard? Or you could do something like this website shows (writing to a text file).
...
Forum: ASP.NET Jun 24th, 2006
Replies: 8
Views: 1,671
Posted By Paladine
Here is a link to doing in Visual Basic.NET, so you will have to make some modifications to this inorder to make it work.

http://msdn2.microsoft.com/en-us/library/ms162203.aspx
Forum: ASP.NET Jun 24th, 2006
Replies: 152
Views: 186,370
Posted By Paladine
Hi there

You dont need this: RETURN @Num_of_User a select statement by default returns a value already.


And you don't require this:
objReturnParam =...
Forum: ASP.NET Jun 24th, 2006
Replies: 8
Views: 1,671
Posted By Paladine
What you are doing is still not correct. You are passing a Select Command Object a Create Table Statement and then trying to fill a dataset (a SELECT query result set, which you are not doing) with...
Forum: ASP.NET Jun 21st, 2006
Replies: 152
Views: 186,370
Posted By Paladine
Sure, use the SQL statements in the Store Procedures in the code_behind, just like you would any other SQL statement.

Dim sqlstring as String = "SELECT Count(*) FROM tblUsers WHERE...."

Hope...
Forum: ASP.NET Jun 19th, 2006
Replies: 3
Views: 1,912
Posted By Paladine
In the ASP.NET page do something like this

(Assuming your data entry for date is a calendar).. it is the principle / logic here that matters.. not the methods

Session("Date") =...
Forum: ASP.NET Jun 19th, 2006
Replies: 3
Views: 1,006
Posted By Paladine
The theme denotes Windows XP campkev.

An issue like this, doesn't always require Install and reinstall of IIS, but rather a reinstall of .NET framework.

But glad you figured it out.
Forum: ASP.NET Jun 19th, 2006
Replies: 2
Views: 1,328
Posted By Paladine
Agreed.

What is the issue exactly? Have you verified the security access on the IIS of your client machine? Security, and permissions are usually the first thing to consider.
Forum: ASP.NET Jun 19th, 2006
Replies: 2
Views: 1,051
Posted By Paladine
Please provide more details. Innately you can edit an SQL statement inside the IDE. But are you meaning when the SQL statment is in the code / code behind?
Forum: ASP.NET Jun 19th, 2006
Replies: 5
Views: 2,078
Posted By Paladine
What needs to be added:

' |||||||||||||||||||||||||||||
' ||||| PALADINE"S CODE |||||
' |||||||||||||||||||||||||||||
Dim...
Showing results 1 to 40 of 319

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC