Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 38
Search took 0.01 seconds.
Search: Posts Made By: cesemj
Forum: ASP.NET 2.0 Basics March 12th, 2008, 06:54 AM
Replies: 0
Views: 1,211
Posted By cesemj
Pull data values & assign them to a text control

When I click on the dropdown list, ddlTest the ddlTest_SelectedIndexChanged event executes:

CType(Me.GridView1.Rows(Me.GridView1.EditIndex).FindControl("tbxTest"), TextBox).Text = "Newvalue"
...
Forum: ASP.NET 2.0 Basics March 4th, 2008, 02:16 PM
Replies: 2
Views: 2,013
Posted By cesemj
I have listed the columns below: ...

I have listed the columns below:

<asp:TemplateField HeaderText="HoursPerUnit" SortExpression="HoursPerUnit">

<EditItemTemplate>

<asp:TextBox ID="TextBox7" runat="server" Text='<%#...
Forum: ASP.NET 2.0 Basics March 4th, 2008, 02:03 PM
Replies: 2
Views: 2,013
Posted By cesemj
Receiving Error Msg:Unable to cast object of type

Goal: enter a number in two fields HoursPerUnit and PeoplePerUnit and the value for the third field, TotalHoursPerUnit will populate after the the number in the two fields have been caculated. Using...
Forum: ASP.NET 2.0 Basics February 20th, 2008, 11:39 PM
Replies: 2
Views: 2,358
Posted By cesemj
Resolved

Resolved
Forum: ASP.NET 2.0 Basics February 20th, 2008, 03:31 PM
Replies: 2
Views: 2,358
Posted By cesemj
Update: I know I can do this using the Navigate...

Update: I know I can do this using the Navigate URL Field in the grid view, but, I just want the button to only appear once.
Forum: ASP.NET 2.0 Basics February 20th, 2008, 02:40 PM
Replies: 2
Views: 2,358
Posted By cesemj
Filter results by value in a gridview field

Hi,
What is the simpliest way to click a button that open up another page whose rescords displayed and datasource is filtered based on the record ID value stored in page 1.

What I have done so...
Forum: ASP.NET 2.0 Basics February 19th, 2008, 01:57 PM
Replies: 0
Views: 5,812
Posted By cesemj
How to copy data from one gridview to another grid

Hello, I have gridview1 on a page that displays reults from a dropdownlist via a sqldatasource. I would like to copy two columns of data from gridview1 and copy them to another gridview1 on another...
Forum: ASP.NET 2.0 Basics February 12th, 2008, 10:13 AM
Replies: 6
Views: 1,842
Posted By cesemj
Hello and thank you for your direction, I used...

Hello and thank you for your direction, I used the following to see the value added to the DB table.

Protected Sub FormView1_ItemInserting(ByVal sender As Object, ByVal e As...
Forum: ASP.NET 2.0 Basics February 11th, 2008, 08:57 PM
Replies: 6
Views: 1,842
Posted By cesemj
do you have an example?

do you have an example?
Forum: ASP.NET 2.0 Basics February 11th, 2008, 12:34 PM
Replies: 6
Views: 1,842
Posted By cesemj
I removed the line, <asp:Parameter Name="@UserId"...

I removed the line, <asp:Parameter Name="@UserId" Type="String" />, logged in to the page and added a record clicking on the form view insert button. I checked the DB table and the userID(userName)...
Forum: ASP.NET 2.0 Basics February 10th, 2008, 01:35 PM
Replies: 6
Views: 1,842
Posted By cesemj
insert the username of the logged in user

How do I insert the UserName of the Logged in user into the
DB field UserID. I created a web form page, and added a form
view control set the page default to Insert Mode. The Page is used to...
Forum: ASP.NET 2.0 Basics December 6th, 2007, 03:04 AM
Replies: 0
Views: 3,228
Posted By cesemj
Column does not belong to table error

Problem: Column 'xxxxxx' does not belong to table when Adding a empty row to a datagrid.

Hello, I have form that allows me to enter multiple items and perform a batch insert into the DB. I want to...
Forum: ASP.NET 2.0 Basics December 6th, 2007, 02:37 AM
Replies: 5
Views: 1,454
Posted By cesemj
Helllo, I updated the my logic and added...

Helllo,

I updated the my logic and added page load code to bind to a blank data table with all the columns I need to add a blank row when using the Add Row Click but now I receive the error:...
Forum: ASP.NET 2.0 Basics December 4th, 2007, 09:41 AM
Replies: 5
Views: 1,454
Posted By cesemj
I added dt = (DataTable)gvParts.DataSource and...

I added dt = (DataTable)gvParts.DataSource and received error: DataTable is a type and cannot be used as an expression. and end of statement expected. I have tried the statement different ways and...
Forum: ASP.NET 2.0 Basics December 1st, 2007, 10:31 AM
Replies: 5
Views: 1,454
Posted By cesemj
Hello, I updated my logic, but it still seems...

Hello, I updated my logic, but it still seems like I am just recreating a new table. Please tell me where you think I am going wrong this time around. Thank you in advbance:

Protected Sub...
Forum: ASP.NET 2.0 Basics November 29th, 2007, 04:00 PM
Replies: 5
Views: 1,454
Posted By cesemj
I am working on the logic, because when I click...

I am working on the logic, because when I click on Add Row it recreates a new grid instead of add extra rows to the bottom of the grid.
Forum: ASP.NET 2.0 Basics November 29th, 2007, 02:15 PM
Replies: 5
Views: 1,454
Posted By cesemj
Problem with Adding a new row to an existing datag

Hello,

The existing data table binded to a grid works When I enter the number of line items I need and click on a button that say make grid. The problem is when click on Add Rows the extra row...
Forum: ASP.NET 2.0 Basics November 5th, 2007, 02:44 PM
Replies: 2
Views: 4,721
Posted By cesemj
Thank you, Issue resolved

Thank you, Issue resolved
Forum: ASP.NET 2.0 Basics November 2nd, 2007, 10:21 AM
Replies: 2
Views: 4,721
Posted By cesemj
The best way to design a data entry web form

Hello,
I am trying to build an Inventory application and I have an existing form that is used to enter information about materials that are shipped to our warehouse into a table named parts.

The...
Forum: ASP.NET 2.0 Basics October 26th, 2007, 10:29 AM
Replies: 2
Views: 1,856
Posted By cesemj
I fixed the update problem thank you,

I fixed the update problem thank you,
Forum: ASP.NET 2.0 Basics October 26th, 2007, 08:01 AM
Replies: 2
Views: 1,856
Posted By cesemj
I fixed the null problem by adding a static entry...

I fixed the null problem by adding a static entry "" into the drop down list, but when I click edit to update the record and make my change to a field and click update the data stays the same. An...
Forum: ASP.NET 2.0 Basics October 25th, 2007, 04:14 PM
Replies: 2
Views: 1,856
Posted By cesemj
SelectedValue which is invalid--it does not exists

Hello,

I receive the error message, SelectedValue which is invalid because it does not exist in the list of items, because I have nulls in the filed that I would like to update. I have placed the...
Forum: ASP.NET 2.0 Basics October 22nd, 2007, 04:07 PM
Replies: 4
Views: 9,129
Posted By cesemj
Thank you DPARSONS for the update.

Thank you DPARSONS for the update.
Forum: ASP.NET 2.0 Basics October 22nd, 2007, 02:16 PM
Replies: 4
Views: 9,129
Posted By cesemj
Hello, I have shortened the textbox to...

Hello,

I have shortened the textbox to txtboxTimeEntry. Also, I have delceared the textbox by placing a textbox into the main Content Area, before the FormView Section. This is the only way that...
Forum: ASP.NET 2.0 Basics October 22nd, 2007, 12:27 PM
Replies: 4
Views: 9,129
Posted By cesemj
Display current date and time in a webform TextBox

Hello,

How do you display the current date and time in a textbox on a webform? I have been using the below code, but receive error because is says the textbox is not delcared. I have the textbox...
Showing results 1 to 25 of 38

 




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