ASP.NET - Visual Studo

M

MR.T

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!!!
 
K

Ken Schaefer

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

: 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!!!
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,149
Messages
2,570,843
Members
47,390
Latest member
RobertMart

Latest Threads

Top