Hi there I have a link button in my datagrid and the link button opens up another page such as
Private Sub dgStaff_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgStaff.ItemCommand
Dim sb As New...
Hi there, I have a button and when I click on it I want to be directed to another page, but I want this page to open in a new window and be of a certain height and width, any ideas?
I need something like this
Response.Redirect("PC.aspx?ID=" & ddlPC2.SelectedValue & "&w=300&h=300")
but I need...
Hi there, I am saving a page with a few items back to a database.
However, when I overwrite my old values and press save the values in my text box go back to the previous value.
Then if i press F5 the page refreshes and the new values appear. However, I want to see the new values straight...
What is the best way to deal with hyphens.
I am passing in a search name into a sql query but if the name has a hyphen such as strName = o'connor
Then I need to pass in the strName = o''connor
Other wise it errors
Any ideas?
Hi there I wanted to insert a record into a database using javascript, such as
function InsertSP()
{
var strConn = 'Driver={SQL Server};Server=**;Database=**;Uid=**;Pwd=*;';
var oConn = Server.CreateObject("ADODB.Connection");
oConn.Open(strConn);
var oRS =...
Hi there why doesn't this work
<%
Dim xlApp
xlApp.Application.Visible = true
Response.Write "Finish"
Response.End
%>
How come I can't do this in dreamweaver?
Hi there I am wanting to execute this stored procedure
DECLARE @String Varchar(8000)
SET @String = '''S501734'',''S510385'''
INSERT INTO #Output
exec spt_rep_payable_status '( creditor.account_no in (' + @String + ') ) ', NULL, NULL, 'ZLV', '', '', '', '', 0, 0, 'Jul 20 2006', 'N'...
Hi there I have a control called Search and in that control I have a property such as:
Dim _Source As String
Public Property Source() As String
Get
Return _Source
End Get
Set(ByVal Value As String)
_Source = Value
End Set
End...
Hi there, hopefully not another Excel question but I have the folllowing code
<form ACTION="<%=Request.Servervariables("URL")%>" METHOD="Post" name="search" id="search" > <%
Dim xls
Set xls = CreateObject("Excel.Application")
with xls
.Application.Visible = TRUE...
I have a select tag which is I need to fix at a width but there is no width property attached. Any ideas
<td width="140"><font size="2">
<%
If request.Form("hid") <> "optA" And request.Form("hid") <> "" Then
%>
<select name="ddl" id="ddl" onkeypress="if(event.keyCode==13)...
Hi How can I open this hyperlink in a new window.
<td width="350" height="32" bgcolor="#F2FCFF" colspan="2"><a href="<%response.Write("test.asp")%>?login=<%= objRec("login") %>"><%Response.write("Click here to view")%></td>
I need this to open up a new window I am passing through the...
On my page load event in asp.net I populate a text box where it's visible property = false
i have a checkbox and on the click event I use:
function PC()
{
var i = document.getElementById("hiddenPC1");
alert(i);
}
However,I am receiving a value of null even though I know I have a value in the...
I have a datagrid with 4 template columns. On the last column I have a imagebutton which has a cross on the image, this button is going to be used for delete.
The problem I'm having is that I can not access this button in any way. I am using vb all I am trying to do is to delete the record...
I am setting up a new user in Active Directory like so
Dim bolCreate As Boolean = True
Dim adPath As String = "LDAP://........."
Dim adDirectory As New DirectoryEntry(adPath)
adDirectory.AuthenticationType = AuthenticationTypes.ServerBind...
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.