473,385 Members | 1,641 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,385 software developers and data experts.

ASP.NET - Visual Studo

Hello.
I'm trying to develop ASP.NET Web Application with
Microsoft Visual C# .NET V. 7.0 Framework 1.0, but I have
two problems:
1. In the Toolbox I dragged a few object
like "TextBox", "Button" and "ListBox" on
the Form. In addition I dragged DataGrig, the problem is
that I can't see the
DataGrid in the browser in run time or in the "view in
Browser" option. In the past I had the same problem
with "Button". I run the file "aspnet_regiis.exe" in the
"cmd" and it solved the problem. But not in the
DataGrig case.
2. My second problem is with the ListBox.
The DataSource In the property of the ListBox, is empty. I
try to bind a DataReader object to the ListBox by
writ "DataReader" in the DataSource property, but I get
error in run time. Do I need to call some namespace (I
have System.Data.SqlClient and System.Data)?
Thank you very much!!!

Jul 19 '05 #1
1 1187
Hi,

Please try a Visual Studio .Net group, as this doesn't have anything to ASP
per se. For the second question, make sure you post the error message you
see. You might also want to make sure that you have your event wireups still
in place in your code-behind file.

Cheers
Ken

"MR.T" <an*******@discussions.microsoft.com> wrote in message
news:da****************************@phx.gbl...
: Hello.
: I'm trying to develop ASP.NET Web Application with
: Microsoft Visual C# .NET V. 7.0 Framework 1.0, but I have
: two problems:
: 1. In the Toolbox I dragged a few object
: like "TextBox", "Button" and "ListBox" on
: the Form. In addition I dragged DataGrig, the problem is
: that I can't see the
: DataGrid in the browser in run time or in the "view in
: Browser" option. In the past I had the same problem
: with "Button". I run the file "aspnet_regiis.exe" in the
: "cmd" and it solved the problem. But not in the
: DataGrig case.
: 2. My second problem is with the ListBox.
: The DataSource In the property of the ListBox, is empty. I
: try to bind a DataReader object to the ListBox by
: writ "DataReader" in the DataSource property, but I get
: error in run time. Do I need to call some namespace (I
: have System.Data.SqlClient and System.Data)?
: Thank you very much!!!
:
Jul 19 '05 #2

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

Similar topics

0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
1
by: Daniel A. Thomas | last post by:
License required Maybe you don't have this but have one of the products that qualifies for the upgrade such as ... Visual Studio .NET 2003 Professional Visual Studio .NET 2003 Professional...
0
by: athos | last post by:
Previously, we could use Visual Studio .Net 2002 combined with Visual SourceSafe 6.0 to maintain version control for Stored Procedures. (refer to "How to add SQL Server 2000 Stored Procedures to...
1
by: antjudy01 | last post by:
Hi, I was thinking about joining the MSFT Empower program which includes "5 licenses to Visual Studio 2005 Professional Edition". My question is how do I get the media to actually install the...
2
by: clintonb | last post by:
Using Visual Studio 2005, I created a new website: File->New->Web Site and chose the ASP.Net Web Site template. Saved it in location c:\Projects\GCSLRMS_DotNet\WS\WebSite1. It created the...
3
by: Edwin Smith | last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the...
0
by: nemo | last post by:
Hello, I m looking for a feature that could really help everyone debugging code. I often have to use the "Attach to Process..." function from Visual Studio 2005 Prof. to debugg my code called...
2
by: Cramer | last post by:
So, what is the relationship between Visual Studio and Visual Web Developer. I find a lot of documentation on MSDN that presents Visual Web Developer as it's own stand-alone product (which I'd...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.