I have use a table to store the conditional Statement as follow.
CommissionTable
CommissionRate ConditionalStatement
0.03 Sales < 50
0.05 Sales >= 50 And Sales < 80
0.06 Sales >= 80 And Sales < 100
0.07 Sales >= 100 And Sales < 120
0.08...
I want to create a dynamic object. When the user chooses a web service in a drop down list, the aspx will search the corresponding WSOjbect in the SQL server.
e.g. the WSOjbect = TravelAssociationServicesUK
Can I create a dynamic object as follow?
Dim TravelAssociationWS As New...
Here is what I write in Login.ascx
<script runat=server>
Sub btnLogin_Click(s As Object, e As EventArgs)
Dim member As New Member()
member = member.login(txtUserName.Text,txtPassword.Text)
if member.MemberID = 0 then
lblLoginMsg.Text = "Login is invalid! Try again."
else...
Hi
I am a beginner of ASP.NET. I have created a Login.ascx which is a login layout and check the authentication. After the user can pass his username and password, I will use a session to store an member object. However, I cannot call back the member object session outside of this login...
How to upload an excel file with chinese charaters into the database? I have set the datasource to the excel and select its content. However, all the chinese characters become strange words.
Any suggestion?
I want to use a javascript's comfirm function to ask the user whether to overwrite the file during upload.
The code as follow
----------------------
<script language= "JavaScript">
if (confirm("The file already exists. Are you sure you want to overwrite it?")) {...
I want to write the following Stored Procedure:
---------------------------------------------------------------------------
CREATE procedure sp_GetFirstNode (@id int, @permission_id varchar(1000))
as
begin
select top 1 *
into #temp
from InfoTypeMaster where
parent = @id
order by seq
while...
I want to block a cfm page if a user has already loaded that cfm page. Other users cannot be acccess that page.
<!--- block the following code if more than one user to access --->
<cfform name = "form1" action="#self#?fuseaction=#fusebox.XFA.UploadHomepage#"...
There are 2 arrays. arrPermissionDeny is to store the function id which is denied to the user. arrPermissionAccess is to store the function id which is allowed to the user. After the following programming has been run, a final permission access is expected.
The logic of the programming is ok...
Hi,
I want to order by the sequence of each id to display.
My table structure is:
id Name seq
---------------------------------
1 abc@yahoo.com 3
1 Cheung 2
1 Anita 1
2 def@yahoo.com 3
2 Leung...
I have a "registration" table which stores username and password. I want to encrypt the username and password when retrieving them. Any suggestion?
does anybody know how to communicate with asp page when i using cold fusion page?
I want to pass some variables in cold fusion to asp page.
Can I do this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.