Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > asp.net > july 2007 > threads for friday july 6

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

Client side jscript issue
Posted by john at 7/6/2007 9:50:28 PM
Working in Visual Studio Objective: I am trying to have my server side vb code construct a file name for use with my client side JavaScript code to then save the file to the web. My saving to the web method is working with a preset test filename. The issue I have is that when I put this Java...more >>

Binding
Posted by dancer at 7/6/2007 8:16:33 PM
Using VB.Net and ASP.Net 1.1 I will create a form that will have maybe 20 or 30 fields. Can I bind that information directly, or does it have to go into a database first? ...more >>

SQL Query
Posted by Uriah Piddle at 7/6/2007 7:56:22 PM
Hi Gang, In sql Server 2005, I am running a query with an nvarchar param in the WHERE clause like this: .. . . @Bar nvarchar .. . . Select * From Foo WHERE Foo.Bar = @Bar The problem: this query is returning nothing when I KNOW that there is a record that matches. I send the quer...more >>

Line break VB.NET
Posted by dancer at 7/6/2007 7:48:03 PM
Using VB.Net and ASP.Net 1.1 Here is a VERY simple MS Access database request. How can I get a line break between the name, address, & city fields when they are written? & vbCrLf _ returns an error of " End of statement expected." <%@ Page Language="VB" %> <%@ Import Namespace="...more >>

CheckBox and GridView
Posted by Jason Huang at 7/6/2007 6:21:02 PM
Hi, In my ASPNET2.0 C# webform, I have a GridView1 which has CheckBox1 on it. If the GridView1 has 10 rows, is it possible to restrict the GridView to have just one CheckBox checked? given that the CheckBox1's AutoPostBack is not true. I am thinking using the JavaScript to accomplish this pu...more >>

SQL MemeberShip Provider: How to manage passwords without writing code?
Posted by Max2006 at 7/6/2007 6:14:07 PM
Hi, I am using asp.net 2 SQL membership provider. Is there any tool or application that helps me manage my users' password? I am trying to do that without writing any code. Thank you, Max ...more >>

C# to VB: specific issue
Posted by Michel Couche at 7/6/2007 5:01:23 PM
Hello, Normally automatic converters do a very good job at translating code between C# and VB I have a specific issue however that I can not solve using these converters .... and I just can not figure out how to do it myself. The line that causes problem is: : <%# ((AuthorizationRule) C...more >>

listbox question
Posted by Jon at 7/6/2007 1:27:30 PM
Is there a way to populate a listbox and highlight the items passed to it from a prior page? I have page1 that has a grid view with 2 columns (customers, locations) I need to be able to select a row (customer) and click update, then go to my update page and carry over the customer name and ...more >>



Responding to LinkButton within a Gridview
Posted by CJM at 7/6/2007 1:00:05 PM
[code snippets at the end] I have a page that allows the user to search a DB by querying one of 3 fields. When results are returned, I want the user to be able to click a value in one of three columns (that directly relate to the 3 searchable fields) and have the page postback and requery g...more >>

Problem with Membership login
Posted by BJ at 7/6/2007 12:47:09 PM
I am creating a site that contains a user login. I pulled down the "How do I ..." video and sample code from asp.net on Membership and Securing a website. When I am in VS2005 and run the application in Debug mode, I can login to the site. When I access the site from out site of VS (http://loc...more >>

visual studio warnings
Posted by param NO[at]SPAM community.nospam at 7/6/2007 12:39:48 PM
Hi all, Visual Studio is giving me the following errors on my global.asax page when I compile the site. Any ideas? Warning 2 CA1811 : Microsoft.Performance : 'global_asax.Application_Error(Object, EventArgs):Void' appears to have no upstream public or protected callers. TIA! ...more >>

asp.net forms authentication override based on individual pages.
Posted by Nalaka at 7/6/2007 12:26:47 PM
Hi, I have a asp.net application with forms authentication enabled. Users create private (database driven) messages (pages; like a message board) that is only viewed by logged in users. Now I need to give the users the ability to publish these messages to the public (if they decide the cont...more >>

Don't understand "application is already precompiled"
Posted by Dave at 7/6/2007 12:04:30 PM
When and what does .Net want to compile? I have a file called upload.cs. I made changes to it. Tried to rebuild. But it won't saying "the application is already precomiled." I would have expected the cs code change to update the Dlls or something. What is it that I'm not getting? Even if ...more >>

Where does MS Expression & Silverlight fit in?
Posted by VB Programmer at 7/6/2007 11:34:51 AM
First, let me apologize in advance for my ignorance. But, I have gotten very tiny glimpses of Expression and Silverlight and am a little confused... I am an ASP.NET (VB.NET) web developer. I also develop in Flash. Few *stupid* questions... 1. Where does MS Expression fit in to all of this...more >>

Get record count from filtered datasourse (not set)
Posted by WebBuilder451 at 7/6/2007 11:20:01 AM
What are the steps necessary to get the filtered count from datasource. If i have to move it into a table just to gat the count i'll do so, but i'm not sure what the steps are needed to accomplish this. Thanks KES -- thanks (as always) some day i''m gona pay this forum back for all the ...more >>

Helper function problems
Posted by 276q NO[at]SPAM cox.net at 7/6/2007 11:08:11 AM
I'm trying to display header text in my repeater control on a condition if a record exists in my resultset. I cannot get 'cat' to display the "category" record from my resultset (the delimiters are wrong in this context of a repeater control): <% dim cat cat = <%# Container.DataItem("categ...more >>

ASP.NET button that calls another webform in a pop-up --- please help!!
Posted by at 7/6/2007 10:39:36 AM
Hi everyone, I have an APS.NET (v1.1) type button on a webform page. What I want it to do is when the user clicks it, it then calls another webform page that appears in a pop-up window. Now I know that the button has an "onclick" attribute but that's as far as I get. I guess you need some...more >>

What do you use to design your web pages?
Posted by JJ at 7/6/2007 10:27:13 AM
I asked this question before, but I suspect that I worded it badly. Its time to update my software, so I am wondering what others use to design the 'look' of their web pages (i.e. prior to coding in visual studio). I can't imagine many actually do it from scratch in Visual Studio....do they?...more >>

Adding Headers in ASP.NET on vista
Posted by MikeB at 7/6/2007 9:49:32 AM
Hi, I had the following code running fine on my xp box. Then, I got a vista box and now I get a "PlatformNotSupportedException" when I try to add the header. I do know that now in IIS7 there are different ways to do things, but I have the issue of deploying to IIS6 servers. ...more >>

data row class (.net 2)
Posted by Dave T at 7/6/2007 9:32:03 AM
If I have a typed data set with columns ColumnA and ColumnB (both strings) in a table, I was thinking that I could do something like this Partial Public Class TheTDS .... Partial Public Class TheDataTableRow Private ReadOnly Property ConcatenatedColumn() As String Get ...more >>

Does databinding affect the source data used to bind to the control?
Posted by mark4asp at 7/6/2007 8:53:59 AM
I have a class containing a generic list, List<T> of static data. Immediately after this data has been bound to a control how will that affect the List<T> data? Does the databound control interfere with the static List<T> data in any way. For instance what would happen if a 2nd user wanted to...more >>

Blocked cookies
Posted by James at 7/6/2007 8:18:01 AM
Hello I have a simple site that has a logon page using my Access membership provider. Username and password. Problem is that IE blocks cookies from my site so people have to add the ip address as a trusted address. Is there anyway past this, I have come across compacted cookies but not ...more >>

Change Password Control Help
Posted by Wannabe at 7/6/2007 4:58:04 AM
I added a change password control to my application and when I run the page that has it, I get an error: Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances. Not sure where to start for this error, because all the code ...more >>

A bit of math logic please
Posted by catherine NO[at]SPAM myoddjobs.info at 7/6/2007 1:56:38 AM
Hi, basically I need a function which will return a number for... Given a number n (Say 800px) by what factor do I need to shrink it to get it as close to but not over 300px? Bear in mind that the number n may be 301px or 1638px Thanks for any help! Kate ...more >>

Date format in Datagrid
Posted by vineethash NO[at]SPAM gmail.com at 7/6/2007 1:41:22 AM
I am reading in results from an SQL database one of the fields is a date value. I wish to be able to display the date as only "dd/mm/yyyy" in datagird (.net)can some body give me an example. now it showing with Date and Time ...more >>


DevelopmentNow Blog