473,410 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

DataSource Controls

Hi

I'm following the example on how to create a HierarchicalDataSourceControl
using visual studio 2005 with asp.net 2.0 , and I'm getting a
System.StackOverflowException. Ive copied the code exactly, and when I Bind a
TreeView control to the FileSytemDataSource, it just hangs and eventually
crashes with System.StackOverflowException. The TreeView seems to Bind itself
over and over to the FileSsytemDataSource, and eventually runs out of memory.
I would really appreciate it if someone could help me out, or give any advice
or example on how to create a HierarchicalDataSourceControl, or even just
send a zip or rar file containing the working code, that would really help.

Here are the links I'm following, if anyone can get either one of these two
examples working I would really appreciate it.

http://fredrik.nsquared2.com/viewpost.aspx?PostID=238
http://msdn2.microsoft.com/en-us/lib...cecontrol.aspx
Mar 2 '06 #1
2 1095
DWS
Francis,
I think I remember how I made the MSDN example work. It had something to do
with passing in "" for the string or hard coding the starting point to
something like "c:/"

Good Luck
DWS
"Francis Reed" wrote:
Hi

I'm following the example on how to create a HierarchicalDataSourceControl
using visual studio 2005 with asp.net 2.0 , and I'm getting a
System.StackOverflowException. Ive copied the code exactly, and when I Bind a
TreeView control to the FileSytemDataSource, it just hangs and eventually
crashes with System.StackOverflowException. The TreeView seems to Bind itself
over and over to the FileSsytemDataSource, and eventually runs out of memory.
I would really appreciate it if someone could help me out, or give any advice
or example on how to create a HierarchicalDataSourceControl, or even just
send a zip or rar file containing the working code, that would really help.

Here are the links I'm following, if anyone can get either one of these two
examples working I would really appreciate it.

http://fredrik.nsquared2.com/viewpost.aspx?PostID=238
http://msdn2.microsoft.com/en-us/lib...cecontrol.aspx

Mar 3 '06 #2
That was a good suggestion, and it lead to some valuable information. if I
create a folder called stuff located at the root on my c: drive, and put any
number or files it will work. If I add a subfolder, it will still work. the
problem occurs as soon as I add 1 or more files in the sub folder just
created. then it crashes. If any has some advice, or suggestions on how to
fix this problem I would really appreciate it.

Thanks
Francis

"DWS" wrote:
Francis,
I think I remember how I made the MSDN example work. It had something to do
with passing in "" for the string or hard coding the starting point to
something like "c:/"

Good Luck
DWS
"Francis Reed" wrote:
Hi

I'm following the example on how to create a HierarchicalDataSourceControl
using visual studio 2005 with asp.net 2.0 , and I'm getting a
System.StackOverflowException. Ive copied the code exactly, and when I Bind a
TreeView control to the FileSytemDataSource, it just hangs and eventually
crashes with System.StackOverflowException. The TreeView seems to Bind itself
over and over to the FileSsytemDataSource, and eventually runs out of memory.
I would really appreciate it if someone could help me out, or give any advice
or example on how to create a HierarchicalDataSourceControl, or even just
send a zip or rar file containing the working code, that would really help.

Here are the links I'm following, if anyone can get either one of these two
examples working I would really appreciate it.

http://fredrik.nsquared2.com/viewpost.aspx?PostID=238
http://msdn2.microsoft.com/en-us/lib...cecontrol.aspx

Mar 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: | last post by:
Hello All, I am having a lot of difficulty trying to bind a templated column, that is programmatically created for a datagrid, to a datasource column. I have a datasource containing 2 columns,...
4
by: dyw55a | last post by:
Donna Mar 15, 10:11 am show options Newsgroups: microsoft.public.dotnet.framework.adonet From: "Donna" <dyw...@yahoo.com> - Find messages by this author Date: 15 Mar 2005 10:11:56 -0800...
12
by: Alan Silver | last post by:
Hello, SHORT VERSION OF THE QUESTION... What is your experience of the new ASP.NET datasource controls? Are they as good as they look, or are they another useless gimmick for doing flashy...
0
by: fig000 | last post by:
Hi, I'm trying to use the sqldatasource control and a detailsview to create a fully functional data entry screen; it's quite easy. I can see the strength of creating a master grid associated...
0
by: Amil Hanish | last post by:
Can I reuse the same DataSource on a page? I have two user controls that need the data from a DataSource; can I reuse a DataSource for both controls? What would be a good way to allow my user...
7
by: ThunderMusic | last post by:
Hi, This question probably went back a couple of times, but I didn't find anything about it on google, so I ask here... What is the best way to use the DataSource/DataBind pattern in a class? I...
5
by: Ken Varn | last post by:
I have just started using VS.NET 2005 after using VS.NET 2003. One of the things that I noticed is that in ASP.NET, the DataSource property for TextBoxes and other web controls is no longer...
9
pod
by: pod | last post by:
Hello I have a form which contains several textboxes and comboboxes I am able to loop through all the controls on this form and set the value (ctl.Text) to the Textboxes but if I try to...
0
by: morathm | last post by:
I have a windows client database management application written in C# that connects to remote web services to do all the heavy work. The thin-client app uses strong typed datasets, all maintained at...
0
by: shahiz | last post by:
This the error i get when i try to run my program Error: Unable to realize com.sun.media.amovie.AMController@18b81e3 Basically i have a mediapanel class that initialize and play the media as...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.