Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 149
Search took 0.01 seconds.
Search: Posts Made By: keyvanjan
Forum: Classic ASP Basics October 10th, 2007, 11:31 AM
Replies: 2
Views: 14,993
Posted By keyvanjan
thanks it helped

thanks it helped
Forum: Classic ASP Basics October 10th, 2007, 10:00 AM
Replies: 2
Views: 14,993
Posted By keyvanjan
how to add 6 percent to a number?

i have a database price field
i want to calculate and add 6 % to it
how?
Forum: ASP.NET 2.0 Professional September 19th, 2007, 10:01 AM
Replies: 1
Views: 960
Posted By keyvanjan
function

hi,
i have a photo name field in my sql database
it stores photo names with extensions like this
test.jpg
test2.gif
how can i split just the photo name from the (.)
i want to add a string to it...
Forum: ASP.NET 2.0 Professional September 19th, 2007, 06:28 AM
Replies: 0
Views: 657
Posted By keyvanjan
stored procedure problem

Hi,
i have the following sp.
it checks the user pass and username
whenever a user logss in the logins(integer) field which is set to increment 1 login increments 3 times instead of once
for...
Forum: ASP.NET 2.0 Professional September 18th, 2007, 08:01 AM
Replies: 4
Views: 1,151
Posted By keyvanjan
yes and now it works hexValue = hexValue &...

yes and now it works

hexValue = hexValue & strHexValue
Next
Return hexValue
Forum: ASP.NET 2.0 Professional September 18th, 2007, 04:46 AM
Replies: 4
Views: 1,151
Posted By keyvanjan
yes i commented it out on purpose here is the...

yes i commented it out on purpose
here is the original function for asp.net 1.1 please convert it to asp.net 2.0
just test it in your application and you see what error i get

Function...
Forum: ASP.NET 2.0 Professional September 17th, 2007, 09:02 AM
Replies: 4
Views: 1,151
Posted By keyvanjan
please fix this function

hi,
i get error:hexvalue is used before it has been assigned a value
i used it in asp.net 1.1 but in 2.0 i get that error.please fix it
Public Function hexValue(ByVal intHexLength As Integer) As...
Forum: ASP.NET 2.0 Professional August 12th, 2007, 12:10 PM
Replies: 0
Views: 1,014
Posted By keyvanjan
datalist paging problem

Hi,
I have the following code
I got it from asp.net tutorials
but waht is the code for pagedData.DataSource=???
can you write an example to get some data from a database
in this code it is...
Forum: ASP.NET 2.0 Professional July 31st, 2007, 11:57 AM
Replies: 0
Views: 2,309
Posted By keyvanjan
GetLocalResourceObject masterpage does not work

Hi,
I have a masterpage and i have also placed a localResources to get the language values.
the masterpage inherits from a vb class in app_codee folder
when i try to get values through...
Forum: ASP.NET 2.0 Professional July 31st, 2007, 11:27 AM
Replies: 4
Views: 768
Posted By keyvanjan
Thanks a lot planie it worked

Thanks a lot planie it worked
Forum: ASP.NET 2.0 Professional July 30th, 2007, 01:45 AM
Replies: 4
Views: 768
Posted By keyvanjan
thanks i did exactly what you say but i get...

thanks
i did exactly what you say but i get this error:
Argument not specified for parameter 'WebsiteTitle' of 'Public Sub New(WebsiteTitle As String)'.
I have no idea how to use a function or sub...
Forum: ASP.NET 2.0 Professional July 29th, 2007, 04:48 PM
Replies: 4
Views: 768
Posted By keyvanjan
access values of a class in other classes

Hi,
I am really confused!


I have different classes in my app_code folder
in one of my classes(below) i get the records of my config table
the table contains global necessary things like...
Forum: ASP.NET 2.0 Professional July 29th, 2007, 09:47 AM
Replies: 1
Views: 1,005
Posted By keyvanjan
function returns Incorrect syntax

I have a datalist:
<asp:DataList ID="DataList2" runat="server"
DataSourceID="ObjectDataSource2"
RepeatDirection=Horizontal
RepeatColumns=4 EnableViewState="False" Font-Bold="False"...
Forum: ASP.NET 2.0 Professional July 28th, 2007, 07:07 AM
Replies: 1
Views: 632
Posted By keyvanjan
how to access local resources programaticaly?

Hi,
I have created a local resources folder with some new language files
i can set the labels and other controls through the meta:resourcekey
but i want to set some of the values programaticaly in...
Forum: ASP.NET 2.0 Professional July 24th, 2007, 09:52 AM
Replies: 2
Views: 1,578
Posted By keyvanjan
use app_code vb class instead of codebehind

Hi,
I have got a web blog application
the person who has designed it has put all the code in app_code vb classes
how is that? he has ot used codebehind he has just referenced from the pages to...
Forum: SQL Server 2000 June 30th, 2007, 05:12 AM
Replies: 1
Views: 9,067
Posted By keyvanjan
how can i alter table (primary key + identity )

i have the 2 script

one alters the column to have primary key
the other one adds a new id field that is identity
now how can i add both together
so that it alters a field to primary key and...
Forum: SQL Server 2000 June 30th, 2007, 02:06 AM
Replies: 2
Views: 914
Posted By keyvanjan
no i use export wizard to export my tables to...

no i use export wizard to export my tables to remote host but in this way my primary keys are dropped
Forum: SQL Server 2000 June 29th, 2007, 05:17 PM
Replies: 2
Views: 914
Posted By keyvanjan
Why do i get erro when alter table command in ms s

hi,
i have created this table in ms sql 2000

CREATE TABLE [Cmm_Category] (
[CatID] [int] IDENTITY (1, 1) PRIMARY KEY CLUSTERED NOT NULL ,
[CatName] [nvarchar] (50) NULL ,
[CatImage] [varchar]...
Forum: ASP.NET 2.0 Basics June 2nd, 2007, 02:52 PM
Replies: 2
Views: 809
Posted By keyvanjan
stored procedure problem

Hi,
I have this code

Dim cnn As New SqlClient.SqlConnection(strConnection)
cnn.Open()
Dim Cmd As New SqlCommand()
Cmd.Connection = cnn
With Cmd
.Connection = cnn
.CommandType =...
Forum: ASP.NET 2.0 Basics June 1st, 2007, 02:36 AM
Replies: 0
Views: 655
Posted By keyvanjan
session problem

I have to folders one for english and one for farsi
i have created a membership system but when i loggin for ex in english i just see the pages of that english folder
how is that
here is the...
Forum: ASP.NET 2.0 Basics May 28th, 2007, 12:19 PM
Replies: 0
Views: 740
Posted By keyvanjan
Regular expression problem

I have the following regular expression:
(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{6,32})$
it cheks the username to see if it does not have invalid characters
but the user should insert BOTH...
Forum: ASP.NET 2.0 Basics May 28th, 2007, 10:25 AM
Replies: 5
Views: 847
Posted By keyvanjan
No everything is ok here is the code: Sub...

No everything is ok
here is the code:
Sub Display_UserInfo()
Dim dr As SqlDataReader
Dim cmd As SqlCommand
Dim strUserID As String = ""

Dim strSQL As String
strSQL = "SELECT...
Forum: ASP.NET 2.0 Basics May 28th, 2007, 08:44 AM
Replies: 5
Views: 847
Posted By keyvanjan
No i don't think so here is the sp: if exists...

No i don't think so
here is the sp:
if exists (select * from dbo.sysobjects where id = object_id(N'K1SP_UpdateProfile') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure...
Forum: ASP.NET 2.0 Basics May 27th, 2007, 02:55 PM
Replies: 5
Views: 847
Posted By keyvanjan
why does only my password field get updated??!!!!

Hi,
I use asp.net 2
i have a form that gets the values from my sql db

i use the following code but only my password field gets updated!!!!!

Dim cnn As New...
Forum: ASP.NET 2.0 Basics January 23rd, 2007, 04:58 PM
Replies: 15
Views: 2,546
Posted By keyvanjan
by the way Quick209 thanks for your full...

by the way Quick209 thanks for your full explanation
Showing results 1 to 25 of 149

 


All times are GMT -4. The time now is 09:29 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.