all groups > asp.net > may 2006 > threads for saturday may 27
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
display float
Posted by Howard at 5/27/2006 11:39:23 PM
I have a databind in a repeater control
<%#Eval("Score")%>
Score is a float
float Score = 3.2;
However the html output is always 3 I cannot make it display 3.2.
PLease help,
Howard
... more >>
why only one server-form in an aspx file?
Posted by Dan at 5/27/2006 11:08:42 PM
Hi again,
I tried to create a second server-form in an aspx file, but there can be
only one.
Independantley of it's useful or not, why is it so?
And why can't i create a form directly in vb.net (from the code-behind page)
assuming i first deleted the form tag in the aspx file?
Thanks
Da... more >>
How to make VS create a page_init (c#)
Posted by SingLu at 5/27/2006 10:48:01 PM
I'm going nuts here. I'm using VS2005 and C# and would like to create a
simple page and use the page_init-event. I add a new page but can't find a
way to make VS add a eventhandler. If I dbl.click the page I get a page_load
method - but I want to see a list of possible events (including page_i... more >>
webrequest post method and navigate to the new url
Posted by guoqi zheng at 5/27/2006 9:56:04 PM
Dear Sir,
We know that we can use webRequest to make a http post. What we want is that
after http post, we would like to redirect user to the destination URL as
well. So actually, we like to have a similiar function as client html form
post but done in server side?
Is this possible and ... more >>
Pass control back from HTTPModule or HTTPHandler
Posted by Max at 5/27/2006 8:35:50 PM
I have my HTTPModule or HTTPHandler registered to process all file types
(*).
I have IIS configured to pass all requests to ASP.NET for this virtual
directory.
In some cases depending on the request parameters I may decide that I need
to yield this request and I want it to be processed as if my... more >>
master pages & authorization controls
Posted by dmm at 5/27/2006 6:18:46 PM
Hi all,
I am using master pages and am having a bit of an issue. As part of my
masterpage I want to display the user's current logged in status using the
LoginView. However I get the following error:
Control 'loginView' of type 'LoginView' must be placed inside a form tag
with runat=server... more >>
Must Declare the Scalar Variable error
Posted by Oded Dror at 5/27/2006 4:46:30 PM
Hi there,
Please take a look at the source code and tell me whats wrong?
Imports System.Data
Imports System.Data.SqlClient
Partial Class Test
Inherits System.Web.UI.Page
Const conString As String = "Data Source=.;Initial
Catalog=Northwind;Integrated Security=True"
Public Fun... more >>
SQL: IF EXISTS... using TEXT field
Posted by Darrel at 5/27/2006 1:12:46 PM
I'm trying to use a IF EXISTS (SELECT...) UPDATE... ELSE INSERT... sql
query.
This works until I try to use it with a text field type. When I do that, I
get an error saying ntext can't be used in this type of aggregate query.
Ugh.
So, is there solution to this via SQL? Or do I manually ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ddl datasource and User.Identity.Name (2.0)
Posted by WebBuilder451 at 5/27/2006 10:08:01 AM
I have a drop down list of saved searches for a user and i'm trying to use
the datasource control to populate the ddl. The select value in the
storedproc is the user.Identity.name. How can i use this parameter? it's not
a form field, nor a session, but it's there. Any idea how i can get this?
... more >>
Change 'ok' and 'cancel' to some other text
Posted by Steve at 5/27/2006 6:03:35 AM
Asp.NET 2.0
For a button control I have set the following:
OnClientClick="return confirm('Are you sure you want to do this?');"
Of course the 'OK' and 'Cancel' buttons come up for the user.
However I am developing this page in another language and I don't want
it to say 'OK' or 'Cancel... more >>
ASP.Net [2.0] XMLReader / Stream?
Posted by Rob Meade at 5/27/2006 12:00:00 AM
Hi all,
I'm having a few difficulties with the above, ie I cant find any good
examples anywhere of how to do what I want to do!
I have an xml file on my desktop which I want to read in.
Having checked the info for XML file reading it suggests that with .net 2.0
you should use the XMLRea... more >>
|