ASP.NET - Visual Studo

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MR.T

    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.Sql Client and System.Data)?
    Thank you very much!!!

  • Ken Schaefer

    #2
    Re: ASP.NET - Visual Studo

    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" <anonymous@disc ussions.microso ft.com> wrote in message
    news:daf601c43b 27$3b3467b0$a60 1280a@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.Sql Client and System.Data)?
    : Thank you very much!!!
    :


    Comment

    Working...