|
I have setted all account include IIS_WPG and ASPNET with full permission, but nothing is changed
I tried so hard and got so far
|
|
|
|
|
Are you using Access Database?
Check if its read only.
It should not be readonly.
Hope This Works...
|
|
|
|
|
Yes I am using Access database, I can't unset the readonly, because i uncheck Readonly option of the project folder, but when I view the property of the folder again, It still Readonly
I tried so hard and got so far
|
|
|
|
|
Hi All
I have done one function in asp.net.
Ival.Insert(1, New DBValues("Diagnosis", Diagnosis, mod_commonFunctions.DataType.DString))
Ival is my arraylist.
For i = 0 To IValues.Count - 1
nvalues = IValues(i) 'the value of ith index is assgning to nvalues(here value is form of DBvalue'
ParamList = ParamList & ", @" & nvalues.ColumnName
ColumnList = ColumnList & "," & nvalues.ColumnName
Next
ParamList = Trim(Mid(ParamList, 2))
ColumnList = Trim(Mid(ColumnList, 2))
sqlcmd.CommandText = "INSERT INTO " & Tablename & " (" & ColumnList & ") VALUES (" & ParamList & ")"
sqlcmd.Transaction = Tran
With sqlcmd.Parameters
For i = 0 To IValues.Count - 1
Dim pParam As New SqlParameter
nvalues = IValues(i)
pParam.ParameterName = "@" & nvalues.ColumnName
pParam.Value = nvalues.ColumnValue
.Add(pParam)
Next
End With
sqlcmd.ExecuteNonQuery()
When i reach executenonquery,then i got error:"Error converting datatype nvarchar to numeric"
I am not understand How to solve this error?If u have soln pls solve it and give me ans.
Thanks
monika
|
|
|
|
|
put a break point and check the values that u r inserting, do they match the data types in the database columns?
Best Regards
3ala2
|
|
|
|
|
Hi Monika !
Please check whether one of your table has nVarchar data type for a column. If yes then you will have to append a 'n' before the value part of it in the query. For example.
If i have a table structure like this --
Column Name DataType
ID numeric
Name varchar
DispName nvarchar
Note that DispName is nvarchar.
When you try to insert rows in the above table you will have to do something like this --
insert into xtable(ID,Name,DispName) values(1,'some name',n'some n varchar data')
Hope i am clear !!
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Just check out the datatype of which you r pass and the backend . Because both have the same datatype otherwise same error will generate
|
|
|
|
|
Hi,
Just want to ask a little tutorial on how I will goin to verify the email address of a user indicated in my registration form. Let say if he/she put an email address then once submitted, a verification email will sent to the email address she/he inputted. Registration will be successful once he/she made a verification using the email she/he indicated.
Thanks in advance.
|
|
|
|
|
u need to define a flag (boolean) variable, let's call "Verified" in the users table and give it the value of 0 if the user isn't verified and 1 if he/she is verified
in ur form u send the Verified value = 0
and then u send the email to the user, the email should include a link to activate the accoun, u can send something in the query string to activate the account
if u have other questions or u need some code snippests don't hesitate to ask again
ok man?
Best Regards
3ala2
|
|
|
|
|
hi.. thank you so much for your reply. Yes,I think it will be best if you can share a code sample on this for my reference.
Thanks in advance again
|
|
|
|
|
Hi,
Can anybody give me a sample code on this one. Thanks in adavnce.
|
|
|
|
|
Does any1 know an "rtl" calendar or date picker compatible with asp.net 1.1 implemented in javascript?
i need to use it for arabic
Thanx in advance
Best Regards
3ala2
|
|
|
|
|
|
Hi,
By using of Bitmap object I am drawingImage and showing tht image on Image on Image Control..
First I draw an Image and Click the Preview Button It showing Image on the Image Control...
But When I modified and the Bitmap and Re click the Preview Button It showing Old Image.. When I refresh the Browser Then New Image loding into tht control...
If you catch my Error.. Reply me.. as soon as possible..
Thanking you..
Balu
|
|
|
|
|
Hi
Am having a datagrid with ImageId,ImageButton(displaying an image).
When i click an Imagebutton in any one of the row, i want the corresponding ImageId to be assigned to a variable.
How can i do it?
Plz help me...
|
|
|
|
|
My application is running for last three month. but before two days my web provider inform me that your application is using max IIS resources and pooling size had reached to max.
So what should i do? What is cause of this problem?
I had not declare too much session veriables in my application too.
neetu
|
|
|
|
|
try to:
- define pool size, u need to get to a number that suits both the server and the client requests
- decrease the use of sessions and replace it with client cookiesand query string variables
- decrease the round trip on the server using javascript
Hope this would help
Best Regards
3ala2
|
|
|
|
|
Hi,
Just to add to the other replies, check if you have declared or used any class objects and have not released or disposed them after there use is over. Try to instantiate objects on demand and dispose them immediately after there use.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
HI
Guyz cab any one plzzzz let me know how can i check the size of uploaded file by implementing http handler, thankx in advance.
|
|
|
|
|
I m using VB.NET as Code Language for my ASP.NET Pages. I m using a dropdown List in my page. I have following function for changing two values with each other. See Comments.
Public Sub changePos(ByVal sender As Object, ByVal e As EventArgs)
Dim pos_new, pos_old As New DropDownList
pos_new.DataTextField = CType(sender, DropDownList).Text // Here I m getting new Selected Value.
pos_old.DataTextField = ???? // How I can I get old value of that dropdown List.
End Sub
|
|
|
|
|
u need to declare 2 global variables pos_old, pos_new
<br />
If pos_old <> pos_new Then<br />
temp = pos_old<br />
pos_old = pos_new<br />
pos_new = temp<br />
End If<br />
temp is the current selected value
hope this would help
Best Regards
3ala2
|
|
|
|
|
Dear just3ala2.
I have done that. But Sir I m talking that how can I get value of pos_old. I have get pos_new value like
pos_new.DataTextField = CType(sender, DropDownList).Text
in Event Handler.
I m not able to get value of pos_old variable.
|
|
|
|
|
Hi,
Safecom wrote: Dim pos_new, pos_old As New DropDownList
Do you want the positions to be interchanged in same Drop down or 2 different drop downs. If you want it in the same one then check the other reply from just3ala2 to your query. Please specify in details.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hi Friends ,
I have installed .NET1.1 Framewrork and Visual Studio2003 On my PC.
After , installing .NET 1.1 while I am trying to run the simple asp.net application,
It is giving me the message Error while running the project and terminate the debug and run process. Is there any work around rigarding this problem? Please Suggest your solutions.
In Advance ,
Thanking you ,
Param
param
|
|
|
|
|
What is the Error Message.
|
|
|
|