The statement below errors out, says exception was not caught by the user. Any ideas what it could be?
Thanks.
...
Finally
' If the connection object is valid then close the connection
If conn IsNot Nothing Then
conn.Close()
End If...
I would like to replace the master name with a session value.
What would the proper syntax be to do this
<%@ Page EnableSessionState ="True" Debug ="true" Language="VB" MasterPageFile ="~/mysessionvalue.master" %>
Visual Studio Web Developer has not liked anyway I've tried to call it...
What is the proper syntax for retrieving querystring in db query, if the querystring is in code behind?
Code that compiles but does not retrieve
<script runat = "server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim myvalue as String...
This is what I was trying, the syntax will not run. What is the proper way to request myvalue within the select command.
VS underlines & myvalue &
<!--<script >
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Dim myvalue as string = request.querystring("value")...
What is the syntax to call a session variable within a query within ASP.NET?
Trying something like this (Request is not working)
<script>
Dim Var1 AS String
Var1 = Session("Varone")
Session["Varone"] = "apples";
</script>
The query
SELECT test.field1
FROM testtable
WHERE...
I'm trying to call html code that is saved in a table to a content holder within an aspx page.
What would the syntax be for the query and connection and then the field call syntax within the contentholder.
I'm using the Visual Studio Web developer.
We have tried a few different ways, if we...
The database seems to restore fine, but in Enterprise manager it shows the db(test) but shows "Test(Loading)". I look in the folder and it is there, with the date and time when it was restored and it is approximately the correct size.
Any ideas
For some reason when I try to add a new db it makes me give a password for the SA user.
I've never had this happen, usually I thought I only had to have a password if I added a username and password as an option.
What is the default password.
Thanks
Anyone know of any tools to take an existing MS Access Project or MS SQL Database and create ASP pages.
I think Ruby on Rails does it for .Net but I need ASP right now.
Looking to see what others have done to setup process for adding recurring events.
Similiar to scheduling a meeting every week.
Looking for best practice.
Stored procedures, auto generate, etc.???????
I'm subtotalling in SQL Server in a query and then post that to a graph.
The graph is saying it is not a numeric value.
What is the sql code to set the "sum(value) as totalvalue" to a numeric data type.
Thanks Dan
I'm subtotalling in SQL Server in a query and then post that to a graph.
The graph is saying it is not a number value.
What is the sql code to set the "sum(value) as totalvalue" to a numeric type.
Thanks Dan
I need the code to use on a popup for an insert or update page to.
On popup
When you hit submit.
It either updates or inserts the record.
Then closes the popup.
Then refreshes the window or layer you came from.
thanks
Using some of dreamweaver, part custom.
I'm trying to calc a date range and when I go to format and truncate it I get an error type mismatch formatnumber.
If I run it without the format it works.
<% = ((now() - (test.fields.item("date").value))/30) %>
This works outputs 10.28382726123
This...
I have two fields I want to calculate in ASP page and I get a type mismatch. The calculation is 20% * $10,000.00
I used money format and tried both decimal and numeric for the % number at .2.
Keep getting type mismatch when I try to calculate in the the ASP form.
We have a interface that has if statements in it that look for and id variable. If the ID > "" then it give you an update form, else give you an insert form.
The issue has arose that if you stay in the current window after the record has been inserted and refresh it repost the data and...
I need a table driven menu that will expand for infinite subcategories levels. Does anyone have any scripts or locations for clean ones that would work.
I'm looking for something clean and simple, something like the + to expand sub levels.
Thanks
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.