Nested collection in DataSource  

My DataList has an interesting DataSource - it's an ArrayList of objects.??Each of the objects in my DataSource ArrayList has some string properties and a property that is a collection (another ArrayList).??On my page, I have my DataList... Continue Reading
Views : 67
Wednesday 2nd of January 2013

working with a hyperlink control in a dataset.  

I have a dataset that contains a hyperlink control in the template. I need to add some code that opens a new window when clicked but changes the size. something like this"'pageyouwanttoopen.aspx', 'nameofwindow',... Continue Reading
Views : 57
Wednesday 2nd of January 2013

System.NullReferenceException Error  

I am having a problem with a System.NullReferenceException error.??I have a single page with about 10 listbox pairs, and a set of > buttons.??The user should be able to use the buttons to select items from the list on the left and move them... Continue Reading
Views : 83
Wednesday 2nd of January 2013

Asynchronous Webservice EndInvoke Gets MissingMemberException  

I found my problem.I added a parameter to the BL and the method call in the *asmx, but forgot to put it in the actual CALL to the BL method in the asmx method body.Oops Continue Reading
Views : 48
Wednesday 2nd of January 2013

Where's the click event in the Calendar Control  

If you click on the current day it does nothing.??You have to click on a different day to fire the Changed event and copy the date into a textbox.Am I going down the wrong street again? Continue Reading
Views : 110
Wednesday 2nd of January 2013

Authentication By Form  

Is it possible to force windows authentication on one aspx but not another in the same application? So... Can I place tags in the aspx itself and how do I configure IIS if I don't want to force authentication for every page in the... Continue Reading
Views : 68
Wednesday 2nd of January 2013

Why use  

I was asked in an interview where i thought asp fitted in with the .net stratagy.??To be honest i am not sure what the hell teh .net stratagy is all about.??I kow it is microsoft trying to make everything work on line, but can someone explain it to... Continue Reading
Views : 65
Wednesday 2nd of January 2013

Stored Procedure in Access  

I have a Union query I want to use, but it needs to accept a parameter. I want to store the query in my access database and pass the parameter to it. I don't know how to do that. How should I write it in access what kind of OleDb command should I... Continue Reading
Views : 119
Wednesday 2nd of January 2013

Simple Question  

In Visual Basic.Net I can use the vbCRLF to genereate a line feed, but I know there is a better one in .NEt that is more universal.??Does anyone know what this is???Thanks for the helpKen Continue Reading
Views : 91
Wednesday 2nd of January 2013

Passing parameters in VB  

Is it possible to pass parameters from server-control events to server-side procedures???If it is possible, how is it normally done? JJ "Ignorance and prejudice and fear walk... Continue Reading
Views : 51
Wednesday 2nd of January 2013

Tiling Check Boxes  

Hey guys,gonna need to do this later this week, and thought I'd throw it out in case someone knows how to do it:I'm going to display a listing of checkboxes to the user. But I don't want it to be a vertical list. What I'd like is it... Continue Reading
Views : 94
Wednesday 2nd of January 2013

Windows XP created its own User Account machine A... .  

I did a clean reinstall yesterday and today when I went to customize my users I found a user called Machine A..., is this normal and if so what application does this. The user account does not appear at the welcome screen only in the usser... Continue Reading
Views : 128
Wednesday 2nd of January 2013

Setting focus to a control  

How can I set the focus on a control after a postback event? Continue Reading
Views : 61
Wednesday 2nd of January 2013

Unable to return results to DataGrid from Oracle StoredProc  

I have a glossary page and am posting back to itself with a querystring value for the specific details I want to read more about a specific term. When I click on the hyperlink to get more details, it reloads itself without the details I am looking... Continue Reading
Views : 114
Wednesday 2nd of January 2013

Disposing of Object and/or Components, Clarification Needed  

In working with ASP.Net I can create objects and load them into memory to be used by controls on the screen.??What about removing them when you are finished with them.??The help files lead me to believe this is an automatic process done by the... Continue Reading
Views : 85
Wednesday 2nd of January 2013

Visual Studio.NET question  

First, I appologize if this is off-topic.??I did not see a thread here.??Should there be one??Anyway, my issue is somewhat related.??The trouble is my InitializeComponent() method (the one in the "Web-form... Continue Reading
Views : 80
Wednesday 2nd of January 2013

Setting Web Page Print Format Layout  

Is it possible to set the Default page layout, (for printing purposes), to Landscape in an app, running on IE version 5+?If it can't be done from, does anyone know if it can be done from Client Script? RhysThought out...... Continue Reading
Views : 103
Wednesday 2nd of January 2013

Overcoming large image map problem in IE  

Hi all,On one of our web applications, an image is created dynamically.??On this image the user can hover the mouse over some parts of the picture to get certain information, and can then click on these same annotations to edit them.??In... Continue Reading
Views : 451
Wednesday 2nd of January 2013

my email script doesn't work  

I upgraded my framework to version 1.1 and now when I try to send mail using the code below it gives me an error??objMailMessage = New MailMessage????????objMailMessage.From= ""????????objMailMessage.To=... Continue Reading
Views : 73
Wednesday 2nd of January 2013


i want to select a row in a gridbox and delete that row from the databaseexample from book doesnt seem to work????Public Sub DeleteRecord(ByVal sender As Object, ByVal e AsDataGridCommandEventArgs)??????//what code... Continue Reading
Views : 50
Wednesday 2nd of January 2013

ASP .NET across the Network  

Hi all,I have a quick question. Can and ASP.NET page access a file that is on a another computer? It only needs to be able to read the file. We are currently running a standard domain.Thanks,Bueller Continue Reading
Views : 48
Wednesday 2nd of January 2013

Loading Lists From Comma Delimited text files  

I want to use comma delimited text files as the sources for the data I use at Page_Load time to populate a web page.??I'm pretty sure I've seen references to an OLE_DB provider for text in the general ADO capability, but it looks like only a few... Continue Reading
Views : 64
Wednesday 2nd of January 2013

Web.Config Help  

Below is my web.config file.I have set it up to try and let a user access ANY page in my application except for the one named guestbook.aspxIt is giving me the following configuration error however - "Parser Error Message: It is an error to... Continue Reading
Views : 168
Wednesday 2nd of January 2013

Can i use Include files for my connection in .net/ alternatives  

Hi all,In classical asp i could keep my connection details and objects in a seperate Include file and could keep it in the top of each asp file so i didn't need to open connection all over again. My questions are:can i use Include... Continue Reading
Views : 81
Wednesday 2nd of January 2013

Changing Database connections  

In ASP, an include file could be used to hold the the database connection string, meaning changing it in the one file would mean the entire site would connect differently. is there a way to do this in ASP.NET? At the moment i use VS.NET to create... Continue Reading
Views : 79
Wednesday 2nd of January 2013

Retrieving QueryString in Mobile Form  

In the Page_Load routine in my mobile web page, I'm having trouble retrieving a caller ID from the calling browser.??The following line works in a conventional .aspx page, but not in my mobile page:??lngDeliveryPersonID =... Continue Reading
Views : 86
Wednesday 2nd of January 2013


I have a datagrid that contains a template column. In this column I have two controls: The first control is an input field, the second is an asp:button control.??The user can enter a value in the input field and select the button (Save) control. When... Continue Reading
Views : 82
Wednesday 2nd of January 2013

Sessions "Timing Out"  

"gets lost" after some time.??I know the default time is 20 minutes How long before it goes away? , Has your webserver restarted? That will kill a session... Continue Reading
Views : 62
Wednesday 2nd of January 2013


Ok, I know the subject doesn't make sense, but I'm not sure how to summarize what I'm trying to do:I've got a page with a button at the bottom that can be "off the screen". i.e. you have to scroll to get there.??When the button is depressed,... Continue Reading
Views : 64
Wednesday 2nd of January 2013

Deployment with or w/out DLL   

I completed several small projects using VS.NET/VB on my local server.As I understand VS compiles your code into DLL automatically.Several of my current webhosting companies (for my old asp sites) say that they support .NET .When I asked... Continue Reading
Views : 73
Wednesday 2nd of January 2013