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 > february 2006 > threads for saturday february 18

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

App_Code class not working
Posted by mark.irwin NO[at]SPAM myrapidsys.com at 2/18/2006 10:16:30 PM
Need help. I create a vb file in my app_code folder. Here is the code: Imports Microsoft.VisualBasic Imports System.Net.Mail Public Class email_error Public Function Send_Error(ByVal str_Page As String, ByVal str_Message As String, _ ByVal str_SQL As String, ByVal str_StackTrace ...more >>


Looking for a book on writing ASP.NET Controls with VB.NET
Posted by Nathan Sokalski at 2/18/2006 9:42:50 PM
I am an ASP.NET developer who would like to start learning about writing ASP.NET custom controls using VB.NET. I already have a reasonable amount of knowledge with making ASP.NET pages, and am looking for a book specifically on writing controls. Here are some things I would like the book to ta...more >>

Help: What is wrong with this code?
Posted by Progman at 2/18/2006 9:30:33 PM
I am getting the error: "[Microsoft][SQL Native Client][SQL Server]Must declare the scalar variable "@UserComment".]" The code: <asp:FormView ID="FormView1" runat="server" BackColor="White" BorderColor="White" DefaultMode="Insert" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"...more >>

Does the ASP.Net Panel client side onLoad work?
Posted by B. Chernick at 2/18/2006 7:24:27 PM
I'm trying to create a web page and I need a javascript function to be called on the load of a particular panel. (The panel is hidden during some but not all postbacks.) The function is bound to the panel in VB as follows: pnlAdd.Attributes.Add("onLoad", "SetupScreenLite()") This is ...more >>

Prevent two users from accessing the same file at the same time
Posted by Shawn at 2/18/2006 7:14:58 PM
Well, the subject sais it all. What is the best approach to prevent this from happening? Thanks, Shawn ...more >>

Formatting vs 2005
Posted by Mike at 2/18/2006 7:00:49 PM
Hello, I drag 2 images next to each other in a vs 2005 web page.There is a white space between them. When I look at the code it is formatted to be on seperate lines.If I remove all the spaces and the tags are next to each other it is correct(No whitespace). How do I make this the default?...more >>

Resolve url problem with asp.net tilde ("~")
Posted by ibiza at 2/18/2006 4:27:36 PM
Hi all, I have a problem which I don't understand with the "~" mark in a NavigateUrl property of an asp:HyperLink. I have this in a master page, to build the standard menu (rMenuItems is a Repeater): Protected Sub rMenuItems_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.Web...more >>

ASP.NET recycled
Posted by Edgardo at 2/18/2006 4:25:53 PM
Our web site keeps going down at 12:30 AM or so just about every night and when we look in our event viewer we see the following message. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1003 Date: 2/18/2006 Time: 1:30:47 AM User: N/A Computer: CCRANE ...more >>



Make a page to update information, show saved data from database.
Posted by Øyvind Isaksen at 2/18/2006 3:34:34 PM
I want to make a page to update articles stored in my SQL Server. Ofcourse, the saved article information needs to be displayed in the form fields when the page is opened. Then the user can update the information, and save it back to the database. I got different prosedures to display contr...more >>

PostBackUrl and Retrieving Values from User Controls
Posted by osh at 2/18/2006 3:07:25 PM
All, I am having trouble using the PostBackUrl feature in .NET 2.0. I have several User Controls that are on a MasterPage. The User Controls contain the form fields for a basic search on available homes and properties in a given area. I put these form fields into User Controls because they wi...more >>

ASP.net 2 xml.document
Posted by Jon Spivey at 2/18/2006 1:27:20 PM
Hi, Moving from asp.net 1.1 to 2. I have an xml control on a page in the code behind file I pull in some xml from a remote web site and format it with an xsl stylesheet, code is just this Dim s As String = "http://site.com/page.xml" Dim d As New System.Xml.XmlDocument Dim u As New System.X...more >>

Problem running ASP.NET 1.1 and 2.0 apps on the same server...
Posted by Kevin S. Goff at 2/18/2006 12:25:19 PM
I'm coming into a situation where a company has both 1.1 and 2.0 ASP.NET apps on the same server. Each application has been configured (using IIS) for the appropriate framework (on that last ASP.NET tab in configuration management). Here's the problem. When we configure a 2.0 app, it "breaks...more >>

DataGridItem Collection / DataGrid Paging Question
Posted by GD at 2/18/2006 10:18:01 AM
Got a simple ASPX page (.NET v1.1) with a DataGrid displaying a list of widgets. If the page has a QueryString called WidgetId specific, I need to automatically mark the specific DataGridItem as selected. Pretty simple, here's what I did: for (int i=0; i<dgWidgets.Items.Count; i++) { Dat...more >>

MasterPage setting in web.config - Design Error
Posted by Brian Orrell at 2/18/2006 8:02:56 AM
I have set the masterPageFile property in my web.config as follows: <pages masterPageFile="~/Main.master" > When I create a webform and I don't specify a masterPageFile in the aspx (so that it uses the web.config specified master) and I go into design view for the aspx, I get the following...more >>

Urgent : Populate a dataset from a stored proc in .NET 2.0
Posted by John at 2/18/2006 1:40:55 AM
Hi all, I'm sorry I'm reposting this but the original was urgent and I do need closure on this. I'm calling a stored proc which does 4 "selects" and then I populate a dataset looping through the dr using a dr.NextResult() but the stored proc may not return any results for one or more Selec...more >>

Adding rows dynamically to a datagrid
Posted by Ram at 2/18/2006 12:50:46 AM
Hi, Pls could anyone tell me how to do the following task. I am having a datagrid with certain columns. Now what i need is , I have to include a button in each row and on clicking this button , i have to generate a similar row below the row that have clicked . ie like a child row ...more >>

Converting the time from one timezone to another
Posted by Nathan Sokalski at 2/18/2006 12:00:00 AM
I asked a question about a week ago about how to get my local time, since my application is running on a server halfway around the world. I have determined that my code would look something like this: Dim servertime As Date = Date.Now Dim utctime As Date = servertime.ToUniversalTime() D...more >>

DataBinding Static Methods!
Posted by Adam J Knight at 2/18/2006 12:00:00 AM
Hi all, I have created a class that contains static method; these method return db data. If i use the following code in my code behind all works fine: ddlMyDropDownList.DataSource = myClass.GetData() If i code it into my page like so: <asp:DropDownList ID="test" DataSource="<%# myClass....more >>


DevelopmentNow Blog