Wrox Programmer Forums
|
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2006, 01:28 AM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to fetch textbox values

Hi

I am trying to add four textbox arrays dynamically to the web page on click of button, depending on the no of list items added by user.
Although i m able to add textboxes as desired in the table on web form,but unable to retreive values .

code is something like this:

for(i=0;i<ListBox1.Items.Count;i++)
{
tc=new TableCell();
txtCallPrem[i]=new System.Web.UI.WebControls.TextBox();
tr.cells.add(tc);

tc=new TableCell();
txtOnCall[i]=new System.Web.UI.WebControls.TextBox();
tr.cells.add(tc);
table2.rows.add(tr);
}

Now I am trying to add values inserted by user into an arraylist

alCall.add(Request.Params["txtShiftAll[0]"]);

but everytime value returned is 'null'.

Please let me know what needs to be done to fetch the textbox values?








Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to fetch distinct records on 2 field values LeoMathew XSLT 17 March 19th, 2008 07:45 AM
unable to display stored data in textbox(asp.net) Abhinav_jain_mca ADO.NET 6 August 4th, 2004 07:45 AM
unable to print stored data in textbox(asp.net) Abhinav_jain_mca ADO.NET 1 July 30th, 2004 09:34 PM
unable to pass values from include file kuehhc Beginning PHP 1 June 8th, 2004 10:46 PM
Unable to change DB values using ASP dghughes42 Classic ASP Databases 2 January 31st, 2004 02:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.