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...
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...
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...
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...
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.
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...
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...
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...
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?
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
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"...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.