I have a Access Database that is available on a server. There is one particular workstation that will not recognize the Date() function when accessing the database. All other workstations function properly. Can anyone help with this?
I am using this code to close the browser window when button2 is clicked, but it only works after I click the button twice. I have tried putting it in the Page_Load, and in the If(Not Ispostback) and If(Ispostback). I have also tried putting it in the Sub button2_click, which runs a few other...
I have this select statment where I am selecting a bunch of fields and would like to set them all as variables. Originally I used a separate select statement for each field. This is my idea of how this should work, but id doesn't.
Dim connectionString As String =...
I have a custom validator and would like to set it to allow between 1 and 500 characters. I would also like to allow certain characters like .,'!@$%*&()+=- I really only want to exclude <>. Is there any way I can do this?
<asp:RegularExpressionValidator id="problemvalidator2"...
I have just completed my asp.net application and now every page is displaying bogus javascript errors. They say Expected';' for lines that only contain something like one <td> tag. Some pages don't even have any javascript code om them. Please help!
I know this is wrong, I am trying to set the text 'DTP' appear in textbox insertbarcde only if index 1 is selectedfrom dropdown inserthardware. How should this code look?
<SCRIPT LANGUAGE=javascript>
<!--
function OnChange(dropdown)
{
var myindex = inserthardware.selectedIndex
If myindex...
When you tab to this textbox 'dci.gov' appears, I would like the cursor to be placed at the beginning not the end though.
<asp:Textbox id="Insertemail" maxlength="30" onfocus="javascript:if (this.value == '') {this.value = '@dci.gov';}" width="175" onkeypress="return noenter()" runat="server"...
I have this in the body tag of my asp.net page
onLoad="javascript:document.form1.insertfirstname.focus()"
When the page loads I get the error
document.form1.insertfirstname is null or not an object
What can I do about this?
I am using a custom validator to check the value of a drop-down. if the value = something, then I want the textbox next to it to require a string of 8 characters.
Here is my function
Sub validatebarcode(source as Object, value as ServerValidateEventArgs)
If...
I have a drop-down box and a textbox. I would like to set the validator of the textbox to require a value only if a specific value is selected in the drop-down. So far this is what I have done, and it does not work. I would like to do this in VB also.
This is in the page_Load
If...
I have a drop-down box and a textbox. I would like to set the validator of the textbox to require a value only if a specific value is selected in the drop-down. Is there a way to do this?
I am unsing the Javascript window.close and would like to eliminate the the popup that asks if you are sure you want to close the browser.
'Close Browser window when posting
Button2.Attributes.Add("onClick", "javascript:self.close)")
This is the code I'm using, I think there is a way to set...
I am trying to figure out how this Update statement should look. I think the quotes are in the wrong place.
Dim oleCommand = New OleDbCommand("Update requests Set technician ='" & tech.selecteditem.text & "','" comments ='" & comments.text & "' Where ticket='" & request.Querystring("id"))
I have this code that runs, but nothing shows up in the access table. What am I doing wrong?
Dim connectionString As String =("Provider=Microsoft.Jet.OLEDB.4.0; data source=" & server.mappath("SupportRequests.mdb"))
Dim oleConnection As New OleDBConnection(connectionString)...
I am running sql 2000 and exchange 2000. How can I create a sql table from the exchange global address list? I want to continue to update it then afterwords..
I am running sql 2000 and exchange 2000. How can I create a sql table from the exchange global address list? I want to continue to update it then afterwords.
I cannot get this statement to work. 'result' is being pulled from a sql statement. when the message is sent the link reads 'result' instead of the actual number that it should be coming from the sql statement.
objEmail.Body="<a href=http://premio/support.aspx?id=result>test</a>
I can't get this line to function
objEmail.Body="<u>Owner:</u>  " + insertfirstname.text + " " + insertlastname.text + " <br><Br><u>Hardware:</u> " + inserthardware.selecteditem.value + "      <u>Software:</U> " + insertsoftware.selecteditem.value +...
I want to set the value of my variable as a hyperlink so I can call it into the body of an email that is being generated.
dim hyperlink as string
hyperlink = <a href="page.aspx">Click here</a>
How can I do this the right way?
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.