Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 16 of 16
Search took 0.02 seconds.
Search: Posts Made By: steve35719
Forum: ASP.NET 2.0 Basics September 8th, 2006, 12:30 PM
Replies: 0
Views: 1,359
Posted By steve35719
FormView Label problem...

I'm having no success with a bound label in a FormView. I want the label to display the date and time when a record is edited. I've tried the Item_Updated event but nothing happens to the label. ...
Forum: ASP.NET 2.0 Basics July 13th, 2006, 11:42 AM
Replies: 5
Views: 3,683
Posted By steve35719
Adding a Panel control in FormView

I'm trying to add a panel to an EditItemTemplate of a FromView without success. I have a checkbox with the checked property bound to a field in the FormView. I'm trying to react to the checkbox's...
Forum: VB Databases Basics June 29th, 2006, 06:13 PM
Replies: 4
Views: 11,092
Posted By steve35719
I thought so initially, however I haven't seemed...

I thought so initially, however I haven't seemed to get it to work.

<asp:FormView ID="FormView1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1" Width="238px">
<EditItemTemplate>...
Forum: VB How-To June 29th, 2006, 07:49 AM
Replies: 0
Views: 1,895
Posted By steve35719
Making a Panel visible in a FormView

I have a panel that is only visible if a user checks a bound checkbox in an edititemtemplate of a formview. I can't get the panel to become visible when I check the bound checkbox. How does one...
Forum: VB Databases Basics June 29th, 2006, 07:46 AM
Replies: 4
Views: 11,092
Posted By steve35719
I figured it out. I used ISNULL of the Sql...

I figured it out. I used ISNULL of the Sql statement to evaluate the value of the bound checkbox. If the value was indead null, then I used the ISNULL function to assign it a value of "0". Works...
Forum: VB Databases Basics June 25th, 2006, 07:48 AM
Replies: 4
Views: 11,092
Posted By steve35719
Conversion from type 'DBNull' to type 'Boolean' is

I've been trying for a very long time to figure this out but can't seem to do it. I'm just trying to two-way databind a checkbox in a FormView but keep getting the exception: "Conversion from type...
Forum: ASP.NET 2.0 Basics April 21st, 2006, 09:42 AM
Replies: 1
Views: 5,304
Posted By steve35719
Any thoughts?

Any thoughts?
Forum: ASP.NET 2.0 Basics April 11th, 2006, 10:57 AM
Replies: 1
Views: 5,304
Posted By steve35719
CheckBoxList and Null Values

I'm only trying to Update a record in a db. I can't even get the DetailsView to appear because I keep getting: 'CheckBoxList1' has a SelectedValue which is invalid because it does not exist in the...
Forum: ASP.NET 2.0 Basics December 11th, 2005, 01:49 PM
Replies: 17
Views: 27,196
Posted By steve35719
Hey, I finally figured it out! I didn't have to...

Hey, I finally figured it out! I didn't have to implement any code. In the UpdateParameters collection for the Parameter "Color", I added the line: ConvertEmptyStringToNull="false" and it works...
Forum: ASP.NET 2.0 Basics December 1st, 2005, 06:42 PM
Replies: 17
Views: 27,196
Posted By steve35719
Imar, I'm at work right now until 3 am, so I...

Imar, I'm at work right now until 3 am, so I can't try the code until I get home. I hope it works and will post whether it does or not. Where do I learn about writing code like that? Would a VB...
Forum: ASP.NET 2.0 Basics December 1st, 2005, 05:46 PM
Replies: 17
Views: 27,196
Posted By steve35719
No, there is only a "null" value. I want to...

No, there is only a "null" value. I want to replace the "null" value with one from the DropDownList.
Forum: ASP.NET 2.0 Basics December 1st, 2005, 05:17 PM
Replies: 17
Views: 27,196
Posted By steve35719
Imar, I've just about had all I can stand... I...

Imar, I've just about had all I can stand... I did exactly as you said and keep getting:
'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of items....
Forum: ASP.NET 2.0 Basics December 1st, 2005, 04:31 PM
Replies: 17
Views: 27,196
Posted By steve35719
The original code does not work at all. I've had...

The original code does not work at all. I've had to remove: SelectedValue='<%# Bind("Color") from the tags of the DropDownList because I keep getting an error:
'DropDownList1' has a SelectedValue...
Forum: ASP.NET 2.0 Basics December 1st, 2005, 03:41 PM
Replies: 17
Views: 27,196
Posted By steve35719
If I remove everything from the EditItemTemplate...

If I remove everything from the EditItemTemplate then my dropdownlist is gone. I've included a code-behind event to occur with a selection of the dropdownlist but I still keep getting an error.
...
Forum: ASP.NET 2.0 Basics December 1st, 2005, 03:52 AM
Replies: 17
Views: 27,196
Posted By steve35719
I'm not sure how to do that. I don't really know...

I'm not sure how to do that. I don't really know how to write VB code in the "code behind" file nor do I know where to learn how to write it. If I remove the "'" from:
'Dim selectedValue As String...
Forum: ASP.NET 2.0 Basics November 30th, 2005, 12:41 AM
Replies: 17
Views: 27,196
Posted By steve35719
Saving DropDownList selection to a database

What am I missing? I can't figure it out. Granted, I'm a complete newb, but I've been trying for weeks! While in "template mode", removed the default textbox in the DetailsView EditItemTemplate...
Showing results 1 to 16 of 16

 


All times are GMT -4. The time now is 10:20 AM.


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