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 > april 2006 > threads for saturday april 1

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

accessing datagrid cell
Posted by Sam at 4/1/2006 11:35:57 PM
Hi all, Would some one tell me why the value of the e.Item.Cells(index).Text argument in my datagrid control update event is empty even though I have it populated? If I want to know a value of a cell in my datagrid control, it it better to use this expression "MyString = Ctype(e.Item.cell...more >>


Display data in datagrid using dropdown selection
Posted by priyanka.freakout NO[at]SPAM gmail.com at 4/1/2006 11:01:04 PM
Hi All, In my form I have created a dropdown box which is populated with data from a database on page load and i have also created a dropdwon box and what i intend on doing is displaying data re;ated to dropdown selection into a data grid. I have attached part of the code. Can someone pl...more >>

2.0 Menu Difficiency
Posted by CMM at 4/1/2006 10:01:53 PM
The menu control in ASP.NET 2.0 is pretty cool... but there's seems to be a fairly glaring oversight in it. Only the text is clickable... the surrounding area of the menu is not clickable even though it responds to "hover." This is very user-unfriendly and is most noticeable when you orient ...more >>

Have some bugs in Login Control
Posted by ad at 4/1/2006 9:47:32 PM
I use the login controls of vs2005 in my WebApplication. It run ok in development time, but the login will always fail after deployment. Have some bugs in Login Control? ...more >>

Computer Programming Website Help Needed
Posted by Kathy A. Hertzog at 4/1/2006 9:38:31 PM
Hello. My name is Kathy Hertzog. I am currently the president of Landlord Association.Com, Inc. which has a website for landlords at http://www.LandlordAssociation.Org. We require technical assistance to continue maintaining and updating our growing website business. We are looking for people ...more >>

Simple Variable Pass on to SQL Where Query question.
Posted by Phillip Vong at 4/1/2006 8:05:17 PM
I'm a newbie using VS2005 to learn and test. I'm testing against the Northwind DB. I created a simple variable called "myVariable" and I assigned it the character "c". I want my SQL query to use this variable in the "Where" statement where it will pull up all names with the letter "c" in it...more >>

Problems with .NET 2 Menu
Posted by WT at 4/1/2006 7:27:05 PM
I use Menu navigation control in an ascx, the Menu if filled with Menuitems during Load event. Sub-MenuItems are added to the ChildItems collection. But on the display the behavior of menu is not working: everything is written in the same column, without any level considerations. When I mo...more >>

ASP.NET Newbie
Posted by hangaround at 4/1/2006 6:29:09 PM
When I use IIS to browse some samples which written by ASP.NET.I met with errors as following: ///////////////////////////////////////////////////// Server Error in '/' Application -------------------------------------------------------------------------------- Configuration Error Descript...more >>



Create datatable with an Image
Posted by Tina at 4/1/2006 5:45:44 PM
I need to create a datatable, in code, and put images into it (gifs and jpg). I use code similar to that below to create the table but I'm not sure how to get the image into the table.... dim mytable as new datatable mytable.TableName = "ImageTable" dim cols as DataColumnCollection cols...more >>

EN-DAAB -- DbCommandWrapper not defined?
Posted by K B at 4/1/2006 5:27:57 PM
Hi, I'm using the Enterprise Data Access Application Block. I've imported the Data and Data.SQL dlls. With the following code block, I get an error that "Type DbCommandWrapper is not defined." I can't find an answer...all examples I've seen use this. Dim db As Database = DatabaseFactory....more >>

Tools to Migrate .net projects to JAVA
Posted by Ing. Eduardo F. Sandino at 4/1/2006 5:09:12 PM
Hi, there is some tool, software to migrate .net projects to Java, specially WEB PROJECTS.... ? Can anyone help me.!!!! ...more >>

declarative model
Posted by Mike Gaab at 4/1/2006 4:47:37 PM
If I use the visual design features of VS 2005, what happens once a control is taken from the toolbox and placed in the design window? In VS 2003 you could see where the control was declared and instantiated. I would like to take a look at the companion partial class that contains initializati...more >>

How to "Log Off" a user
Posted by GaryDean at 4/1/2006 4:43:14 PM
Using 1.1.... I have an application using Forms Authentication that, like all other such applicaitons, uses FormsAuthentication.RedirectFromLoginPage to authenticate a user. at a point in time I want to "log off" that user meaning that I want that user to no longer be authenticated and I w...more >>

RESOURCE FILE PROBLEM
Posted by Savas Ates at 4/1/2006 4:37:10 PM
I created App_GlobalResources directory and I put my Resource file which is named WebResources.resx It includes one record name value Button1 isbuluyorum and other fields are empty. In my Resource.aspx file i add a control like this <asp:Button id="Button1" style="Z-I...more >>

Best practice for Error Handling in ASP.Net and C#
Posted by RonL at 4/1/2006 4:31:41 PM
What is the recommended best technique for handling errors/exceptions in ASP.Net. I've read about the following techniques: 1. Try/Catch 2. Page_Error 3. Application_Error in the glabal.asax 4. Custom errors in Web.Config. I'm probably going to go with #1 (Try/Catch) but was wonde...more >>

Application_start and session_start still used?
Posted by Joe Befumo at 4/1/2006 3:46:53 PM
I just created the default personal site project in Visual Studio 2005, = and it worked perfectly -- very nice. Next, I'd like to import some stat-capture code that I have working in a = Visual Studio 2003 asp,net project. The first think I noticed is that in the 2003 project, there's a = g...more >>

can i change a HyperlinkURL in a Template field in a GridView via
Posted by Vear at 4/1/2006 2:30:01 PM
I have a gridview inside a content placeholder that has the first column as a hyperlink. I changed it from a Hyperlinkfield to a Template field so I could name the hyperlink control. I can't figure out how to reference it so I can change the URL depending on which Stored procedure I bind to it...more >>

Repeater DataBinding - moving the Data forward
Posted by musosdev at 4/1/2006 11:37:10 AM
Hi guys I have a Repeater that I'm databinding to an OleDBDataReader which has the SQL... SELECT TOP 2 ... WHERE... ORDER BY ... But I don't actually want the top 2.. I want the 3rd and 4th TOP results of the result set, effective TOP 4 but then ignoring the TOP 2. Is there any way t...more >>

Session_End
Posted by Bruno at 4/1/2006 11:16:10 AM
We are attempting to automatically log users off from the Session_End event in global.asax. It is not a critical task, more of a housekeeping task so that we know if users have closed down their browsers without logging off first. However, although the code seems to run OK on our development ...more >>

HELP!!! - Request.Url
Posted by chanko at 4/1/2006 11:15:47 AM
Hello everyone! I need a little help from all of you Just needed to know if there was any way of getting the Request.Url of a Request.Url Let me clarify: There are pages, that will call on other pages. The 2nd page is throwing an error at me, but I need to know which page initially ...more >>

How many is a linke clicked?
Posted by Mohsen Vafa at 4/1/2006 10:45:21 AM
How can i count the number of click on a link? I don't want to use Response.Redirect. ...more >>

hide query string
Posted by prefersgolfing at 4/1/2006 10:42:20 AM
Is there a way to hide the query string in the address bar? ...more >>

Is storing connection string in a session variable a good idea?
Posted by booksnore at 4/1/2006 9:43:10 AM
I have an application where a have a single admin database and multiple customer databases containing the customer's warehouse data. In the admin database I hold a user table and also a client table which holds the encrypted individual clients connection string to their database. At the moment o...more >>

Blocking Security Alert during Response.Redirect
Posted by dougloj at 4/1/2006 7:49:27 AM
Hi. Does anyone know how to keep a user from getting a Security Alert when I redirect from https: to http: in my code? Any and all ideas are welcomed. TIA - Doug ...more >>

event handling in asp.net
Posted by Mike Gaab at 4/1/2006 7:28:36 AM
I am having two problems: 1. Determing the signature of event handlers for any control that raises events. I have a handle on the arguments but the method name is not clear. 2. What is the relationship between event properties and public methods listed in the VS class browser. An examp...more >>

HTTP/1.1 500 Internal Server Error. Pleeeease...
Posted by fazeee at 4/1/2006 1:40:05 AM
Hi Everyone! I am trying to create ne C# Project in VS 2003 (I use XPSP2) The problem is as follows: The Web Server reported the followin error when attempting to create or open the web project located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal Server...more >>

Dot Net Nuke - Newbie - How to add a module
Posted by Beenz at 4/1/2006 12:12:21 AM
Hi, Dot net nuke is smthg completely new for me, although I am working on ASP.Net for aorund 2 years. I want to create a portal using DNN, need to add a module(written in C#) to it. But I am just unable to work this out(feel like pulling my hairs), downloaded both DNN with Source code and DNN i...more >>

i have a problem with cssclass could any one help
Posted by prasad at 4/1/2006 12:06:25 AM
see iam having a user control and i want a cssclass for that users control ,no prolem in providing that .but the problem is that it requires two diff styles for the same control so i need two cssclass files but i think i should not pass two css classes ,so what i can do to pass two diff styles i...more >>

General Practise for deploying CR on ASP.Net
Posted by Rabbit at 4/1/2006 12:00:00 AM
I would like to know the common practise for the captioned subject Currently if create a Web Setup Project to deploy my ASP.net 2.0 solution, it will include all my source code, as my target machine don't have crystal report installed, I was wondering if I can use Build->Publish Web Site to de...more >>

Which built the account of ASPNET
Posted by ad at 4/1/2006 12:00:00 AM
There is an ASPNET account in my windowsxp. Which program built it? IIS, .NETFRAMEWORK 2.0, or ? ...more >>

binding sitemappath with custom .sitemap file
Posted by Danial at 4/1/2006 12:00:00 AM
Hi, How can I bind sitemappath (breadcrumb control of asp.net) to a custom ..sitemap file? By defualt its looking for web.sitemap file and giving me not found exception. Thanks Danial ...more >>

User Controls and Session
Posted by ad at 4/1/2006 12:00:00 AM
I am using the UserControls of VS2005 to verify user login, and I use Session to cache some user's data. Will the session data will be clean when user logout then login immediately? ...more >>


DevelopmentNow Blog