|
How to using database connection with tree using javascript. In tree child contain acceess with table field only.
eg.in database table some othere coloum are there. they are have some data for that coloum. for eg table name for stud. it contain name filed, roll no. In name field so many input are given, like ram, suresh,ramesh,clark.
I want to click root for studtent(it is parrent nodes) under chiled node for name. i want to click namem, immediately followed by given input from the databse.
Pls give me ,if u know the answer reply for me linguage_23@yahoo.com
|
|
|
|
|
same error "Error, general error. Watch the code! (1.5)
"
|
|
|
|
|
First of all, to all those who are facing Error :general error. Watch the code! (1.5)
I faced it too. I just had to import the access database to SQL(in my case) and make sure that the value im assigning to cstrConnectionString in TreeWork.asp is valid connection string. Thats all and problem solved. I was not able to connect to Access database due to xyz(maybe WebServer setting) reasons
Dear Iulian
Have you worked on the next version? With add, edit & delete node ?
Before reaching to your solution, I found another solution which use <ul> and <li> tags and combined with javascript do the work. If you are interested I can mail you. I have not yet decided which one to use.
Thanks
|
|
|
|
|
hi ,
even i am facing the same error dnt know y..plz solve my problem.and also can u mail it to me to my id plz
thanx for ur help
|
|
|
|
|
Dear
it is an very good code could you please send me the code for how to add, edit & delete
node,plz send it on my mail id panditavinod1@rediff.com
thanxs & regards
Vinod
|
|
|
|
|
i have copied all the asp files in c:\inetpub\wwwroot\crystal\treeview folder along with the database testtree.mdb file.
In treework.asp i am modifying the path of the database path like this:
Const cstrConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\wwwroot\crystal\treeview\testtree.mdb"
When I am trying to run the treework.asp page it gets redirected ti this URL -> "http://crystal/crystal/treeview/Error.asp?sa=True" &
i get this error:
ERROR
My server O/S is Windows 200 Server, client is Windows2000 Prof. and IIS version on the server is 5.0
What is the reason of this error ??
|
|
|
|
|
Hi,
please comment out On Error Resume Next line in treework.asp, run the tree again and check which is the error message then. Thanks.
|
|
|
|
|
its displaying as object required session("...") treework.asp line 167
|
|
|
|
|
your global.asa not running. Session("Session_JustStarted") = true.it will be done.
|
|
|
|
|
Hello
I need to create a tree structure with infinite child in asp.
With expand collapse feature.
I need your help with some ideas how it could be implemented .
Thanks in advance
with regards
vimal
Help in need is the help indeed
|
|
|
|
|
i have downloaded your code but it is not working.when i run treework.asp the screen is blank.how to create DSN??
ramyamn
|
|
|
|
|
Excellent and easy to use control.
I made 1 small change to the code which made it better (for me at least).
In the treework.asp file I modified the select statement by adding " ORDER BY NodeCaption" to the end of the statement.
Now it doesn't matter what order I enter nodes and leafs to the tree, they are always sorted alphabetically.
Avery Hilditch
In the beautiful city of
Adelaide, South Australia
|
|
|
|
|
Hi,
because I get questions regarding that message from all of you, I would like to recommend you to check the following things before mailing me:
1. Be sure that the Access database is converted to your actual Access version.
2. Be sure that the path to the .mdb file is correct written in TreeWork.asp file.
3. Be sure that you have properly installed the sample on your computer. (you have created an IIS virtually directory on the sample location folder).
Best regards,
Iulian Iuga
|
|
|
|
|
I am still getting this error
i have implemented all the 3 things you have mentioned perfectly and i dont know why i get this error
Can u help me out
thanks and regards
vimal
Help in need is the help indeed
|
|
|
|
|
Hi Iulian,
I try to run your code, but this not work. I am asp developer(also do others like php). I Changed ur code pls chk this. but it does not show any error or not go to if not rs.eof or else part.
--------------------code----------------
sub ReadTreeContent(p_strConnectionString, _
p_strQuery)
'On Error Resume Next
dim objConn
dim objRS
set objConn = server.CreateObject("ADODB.Connection")
if Err.number <> 0 then
'RedirectToError ERR_CANNOT_CREATE_CONNECTION_OBJECT & "(1.1)", false
Response.Write err.Description&err.number
end if
objConn.Open p_strConnectionString
if Err.number <> 0 then
'RedirectToError ERR_CANNOT_OPEN_DATABASE & "(1.2)", false
Response.Write " open error "&err.Description&" "&err.number
end if
set objRS = objConn.Execute(p_strQuery,,adCmdText)
if Err.number <> 0 then
'RedirectToError ERR_CANNOT_EXECUTE_QUERY & "(1.3)", false
Response.Write " Recordset error "&err.Description&" "&err.number
end if
if not objRS.EOF then
Response.Write "Enter"
StoreTreeContent objRS
else
Response.Write "End Of file"
end if
set objRS = nothing
set objConn = nothing
end sub
---------------end code----------------
Is there any new version? pls mail me at himadrish@yahoo.com
Regards,
HIMADRISH
Himadrish Laha
|
|
|
|
|
I want to know why I keep getting this error message.
Error, general error. Watch the code! (1.5)
|
|
|
|
|
Please have a look to the "Error Page" thread. If that doesn't solve you the problem, please let me know and I will try to help you. Thanks.
|
|
|
|
|
i want expanded tree to be retain as it.
Even though i refresh main frame(parent).
how can i do this
|
|
|
|
|
I don't understand the reason for "Error,general error. Watch the
code!(1.5)". Please help.
|
|
|
|
|
Hi, one the reason you get this error is because the database is created with an older version of Access. Please open the mdb file with your Access version and convert it to the newly version.
Please let me know if you still get problems. Thanks.
|
|
|
|
|
Hi, I did convert in current access database version , and got the same error ! !
Can you help me
|
|
|
|
|
|
Please give me more information about the environment in which you are running in problems? (OS? IIS version? Office version?) Thanks.
|
|
|
|
|
hello My environment is Win XP pro, Office 2000, iis server 5, ie 6,
Can you please help?
Emmanuel Constant
|
|
|
|
|
I got the same error
Error, general error. Watch the code! (1.5)
anyone solve this problem
Bunso
|
|
|
|