Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. barrylowe

    Chart Control 3.5 - X-axis Labels

    I have a fairly basic line graph which is bound to a SQLDataSource control. The graph displays perfectly, but I want the labels on the X-axis to display vertically rather than horizontally. I have used the following code to try and do this but it is having no effect: <AxisX Title="Patient...
  2. barrylowe

    Syntax Error in Update Trigger

    DOH!!!! Many thanks for pointing out the blindingly obvious to me. :-)
  3. barrylowe

    Syntax Error in Update Trigger

    I am trying to write a trigger in SQL Server 2000 that will update the LastModifiedOn filed in my table every time the record is updated. I have used the following code but it is producing a syntax error: CREATE TRIGGER [UpdateAssessments] ON [dbo].[Assessments] FOR UPDATE AS BEGIN UPDATE...
  4. barrylowe

    Dropdown List in a Formview

    I am tearing my hair out over a problem with drop-down lists. I am trying to use one in my main prject but have had such problems that I have created a test page just containing a single drop-down list to see fi I can figure out the problem. Basically I have a test table with 2 fields...
  5. barrylowe

    Connecting to a SQL Server database in VB5

    I have an old VB5 app which connects to an Access database and then loops through a recordest creating an array of labels for the records. I have been asked to link to a different database which is in SQL Server 2000. The code I used to connect to the access database was as follows: Dim...
  6. barrylowe

    Very Simple Question

    Thanks for your help.
  7. barrylowe

    Very Simple Question

    But is a repeater not used to display multiple records? I only want to show the fields for a single record. Kind of like the page you would go to when drilling down from a list.
  8. barrylowe

    Very Simple Question

    I mean easy as in simple and quick to do. The page is merely a data display, so there will be minimal testing involved and is therefore not a consideration. The reason I asked the question in the first place is that everytime I see a microsoft demo they are knocking things together in no time...
  9. barrylowe

    Very Simple Question

    What is the easiest way to display the contents of a database record on an ASP.net page using Visual Studio 2005? The page merely needs to display the data as read-only text. In the past I have used a series of labels which were populated using a datareader. The datareader was filled using...
  10. barrylowe

    Sorting with the XMLdatasource control

    Yeah, I was trying to utilise the built-in functionality that the XMLdatasource provides and to be honest with the exception of the sorting it has worked a treat. I actually have an XMLDocument object loaded in that page which I use for other little pieces of dynamic coding, however I am still...
  11. barrylowe

    Sorting with the XMLdatasource control

    I have a gridview which is bound to an XMLdatasource control. Everything is working perfectly apart from the sorting functionality. I am aware that sorting is not supported by the XMLdatasource. Can anyone tell me the easiest way around this problem?
  12. barrylowe

    Populating a label from XML

    Thanks very much for that, it set me on the correct path for my solution. My final code was: Dim XMLdoc As XmlDocument = New XmlDocument() XMLdoc.Load(Server.MapPath("XMLfiles/FOIrequests.xml")) Me.lblDateUpdated.Text = XMLdoc.SelectSingleNode("/FOI_Enquiries/@CreatedOn").Value
  13. barrylowe

    Populating a label from XML

    I have a web page which uses a GridView to display the contents of an XML file. The grid is bound to the XML file using an XMLDataSource control and that all works fine. The XML fle looks something like this: <FOI_Enquiries CreatedOn = "12-Aug-08"> <Enquiry EnquiryID="89"...
  14. barrylowe

    Scoping of Session Variables

    Looking for a bit of help regarding the scoping of session variables. I have a couple of old application developed in ColdFusion, both of which store the ID of the person logged in a session variable called session.who Every page in each of the applications then has an include fiel which...
  15. barrylowe

    Refreshing a drop-down list

    I have no idea if it is possible to code an FTP to behave in that manner. I would however be interested to see the code if anyone knows how to do it. I have actually managed to resolve my issue by changing the buttons from Submit buttons to generic ones, then writing a javascript function...
  16. barrylowe

    Refreshing a drop-down list

    Can anyone tell me the simplest way of refreshing a drop-down list. I have a page which talks the user through a series of steps to link a document to a particular record in my database. First they click a link which opens up an FTP window. Thet then drag and drop the required file into the...
  17. barrylowe

    Problems typing into a combo box

    Thanks for getting back to me guys. PHV - The error is raised when I click on the button or move away from the recommendation combo, but there is no one line of code that falls over. TheAceMan1 - To be honest I never really thought of doing it that way as it is not our standard user...
  18. barrylowe

    Problems typing into a combo box

    I have a small form which is used to record recommendations against health issues for a patient. The form had 2 combo boxes on it; Recommendation and Status. Recommendation gets it values from a lookup table. The rowsource of the recommendation combo is set to the following: SELECT...
  19. barrylowe

    MSFlexGrid - Merging Rows

    I have a flexgrid on my form which is used to display Issues and their corresponding recommendations. Issues have only one visible column which displays a description of the issue. The recommendations have 2 columns: a description column and a column stating whether is is met or unmet. When...
  20. barrylowe

    Forcing an item to the bottom of a drop-down list

    No, they appear to be sorted by the order they were entered into the database.

Part and Inventory Search

Back
Top