You can put a slash in front of the href, if the file is in the root of the web site folder.
<link href="/logon.css" rel="stylesheet" />
I not sure what your trying to do, I get that your trying to change the text color.
My typical CSS file looks like this
I call it a theme file, in which this file controls the theme of the web pages
The first 4 sections set the elements input, textarea, option, the next sets the elements html and body
One you set stuff globally, then you can fine tune other stuff by using ID names and Class Names
into the <head> tags of Site.master using <style></style> the colour of the text links remains grey, but I noticed that the font had changed from normal to bold as in your 'font-weight: bold;', so something is happening, it's just not clear what exactly!
There is two dropdown list on page. One is for State and second one is for City related to that sate only.
I have added the Name of state in first dropdown list and would like to write programming in such a way so
that when I select the name of state the city related to that state adds automatically in second dropdown list.
Public Sub BindData()
Dim oconn As New SqlConnection(sqlconn)
' AddHandler ddlLocation.SelectedIndexChanged, New EventHandler(AddressOf ddl_SelectedIndexChanged)
Dim ocmd As New SqlCommand("select l.locationid,l.Location, c.CourseId, i.instructorId,CourseName, i.instructorname, dbo.fnFormatDate(t.trainingDates, 'MON/DD/YYYY') trainingDates, t.trainingTime,CourseDescription from tblCourses c, tblLocations l, tblTrainingDates t, tblInstructors i, tblCourseInstructor ci where l.locationid = c.locationid and c.dateId = t.dateId and i.instructorid = ci.instructorId and c.courseid=ci.courseid and YEAR(t.trainingDates) = YEAR(getDate()) and l.locationId = " & ddlLocation.SelectedValue, oconn)
Dim oda As New SqlDataAdapter(ocmd)
Dim builder As New SqlCommandBuilder(oda)
Dim ds As New DataSet()
gv1.DataSource = ds
We would like to select a value from the ddlLocation dropdownlist and display records associated with that value.
I am developing an ASP.net application wherein I am trying to connect to Oracle database using sqldatasource. While defining new connection, when i click on test connection button on the dialog box, I am getting error:
Error 12541 - TNS: no listener.
My oracle listener is up. Kindly help me in getting rid of this error.