User Profile

Collapse

Profile Sidebar

Collapse
DJOuk
DJOuk
Last Activity: Mar 20 '08, 11:38 AM
Joined: Dec 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • DJOuk
    started a topic HELP! Listview not working with edit button ASP.NET
    in .NET

    HELP! Listview not working with edit button ASP.NET

    Posted this on Asp.Net, seems to be a hard problem, I still can't work it out

    I have a edit button, this works fine, until I add the code that prevents the edit button from being seen by users who did not post that ticket. I cannot understand why this is happening. I get an error on the button says 'object reference not set in instance of object'



    It happens when I add the following code:

    ...
    See more | Go to post
    Last edited by jhardman; Mar 21 '08, 06:07 PM. Reason: please stop posting .NET questions in the ASP forum. ASP has no listviews, so your question makes no sense in the ASP forum. It belongs in .NET

  • DJOuk
    started a topic Accessing indivdual columns from a xsd file - ASP.Net
    in .NET

    Accessing indivdual columns from a xsd file - ASP.Net

    How can I access the result of an SQL XSD query? I have called the tableadapter and the query but not sure how to access it:

    I tried this:

    Code:
    DataTable commentinfo = commentclass.GetCommentInfo(commentid);
            int userrating = Convert.ToInt32(commentinfo.Rows[0]["userrating"].ToString());
            int commentposterid = Convert.ToInt32(commentinfo.Rows[0]["userposterid"].ToString());
    ...
    See more | Go to post
    Last edited by jhardman; Mar 17 '08, 02:55 PM. Reason: moved to the .NET forum, ASP forum is for "classic" ASP

  • DJOuk
    replied to Reading values from a Query
    Thanks!

    I did it by assigning the query to a string, spliting it into a array and looping though that array
    See more | Go to post

    Leave a comment:


  • DJOuk
    started a topic Reading values from a Query

    Reading values from a Query

    Hi,

    I want to read the result of a query I made in a .xsd file. I made a instance of the table adapter called 'address'.

    Now, the query gives you the address details of a user using their login id to filter the results.

    The problem is this how i call the query:

    string details = Address.GetUser sAddresses(logi n);

    how can i read though the columns and get the individual details...
    See more | Go to post
No activity results to display
Show More
Working...