all groups > asp.net > march 2007 > threads for saturday march 17
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
VS2005 - how to specify location of a text file in dev and production?
Posted by dgk at 3/17/2007 11:18:30 PM
I have a few text files that I read in at run time into label
controls; they're stored in a Text folder in the app. At run time I
try to read them in by using "~/text/thefile.txt" but it doesn't work
in the editor or when published. I've tried a few appgetpath type
things and can't get one to wo... more >>
Problems With Custom RoleProvider and Forms Authentication
Posted by Tomasz at 3/17/2007 10:54:14 PM
Hello Developers!
I have an interesting problem using my custom MembershipProvider,
RoleProvider and Forms Authentication.
Both MembershipProvider and RoleProvider require session state, where some
very important context data are stored during the Session_Start event. My
MembershipProvid... more >>
How to access a member or method to another page?
Posted by Nick at 3/17/2007 10:52:40 PM
hi,
I have two page like this:
public partial class FormMessage : System.Web.UI.Page
{
public static void ShowSomething()
{
........
}
}
This is another page in a seperate cs file.
public partial class FormMessage : System.Web.UI.Page
{
public void Login()
{
... more >>
LINE BREAK ISSUE
Posted by Simon Gare at 3/17/2007 7:02:04 PM
Hi all,
have a line of code in a ViewLocation.aspx.cs file below
StringBuilder sb = new StringBuilder();
sb.Append("Driver No:
").Append(driver.DriverNo.ToString()).Append("<br>");
sb.Append("Name: ").Append(driver.FirstName).Append("
").Append(driver.LastName).Append("<br>... more >>
Is it possible to use ASP.NET push new content to browser automatically
Posted by Reid LI at 3/17/2007 6:21:17 PM
I just know I can do something in HTTP header like
<meta http-equiv="refresh" content="5">
but can ASP.NET push, for example, new database content to browser
automatically without using browser polling like the above.
... more >>
asp.net 2.0 Message Board in C#?
Posted by Frank Miverk at 3/17/2007 5:44:08 PM
Hi,
Curious to know if there are any C# asp.net message board code with sql
server database schema.
Something similar to the php Serendipity blog would be perfect.
Even something more lightweight would do the trick.
thanks for any tips and figure this has been written by others already... more >>
Security Context of Background Thread
Posted by Matt at 3/17/2007 4:18:24 PM
I've written a class that allows me to add documents to a SharePoint
Document Library from another web application. The web app runs under
a domain account that has permissions to SharePoint. However, when I
try to do this from a background thread it fails with Access Denied.
I've tested the W... more >>
VB2005 - Untrusted Location
Posted by Joseph Gruber at 3/17/2007 3:44:53 PM
Ok, so I'm about to go nuts. Here's the background -- My Documents is
redirected to a network location and My Documents is an offline
folder. So my projects location is located in my (network) My
Documents location.
Everytime I open a project I get the message: The project location is
not t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Page.Title
Posted by rn5a NO[at]SPAM rediffmail.com at 3/17/2007 1:30:10 PM
I am using the Title property of the Page class in the Page_Load event
to set the title of the page so that the browser displays appropriate
titles.
<html>
<head runat="server">
<script runat="server">
Sub Page_Load(.......)
If Not (Page.IsPostBack) Then
Page.Title ... more >>
Queries from Access
Posted by James at 3/17/2007 12:02:03 PM
Hello all
I am having a odd problem, I have a page that lists users (GridView), this
list links through to another page when you click on the name. The second
page lists all phone calls they received during the previous month
(GridView). I have done this by a Querystring passing SupportId f... more >>
Set Background Color Using Column Value?
Posted by TF at 3/17/2007 5:26:18 AM
Very newbie question and I hope this is the right group. I have a
table on a web page which contains info about paint colors. One column
contains the hex value for the color's RGB value. I want to display
info from the table in a grid or table and use the column value from
the RGBHex column to... more >>
|