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 25 of 204
Search took 0.02 seconds.
Search: Posts Made By: Aaron Edwards
Forum: Access VBA January 2nd, 2008, 11:38 PM
Replies: 1
Views: 1,005
Posted By Aaron Edwards
ADO Connection problem when not logged in as an Ad

Hi,

Any idea why the following code would work when logged in as a user with
Admin priviledges, but not work when logged in as a user with only normal
priviledges?

This is from a VBA module...
Forum: ASP.NET 2.0 Professional January 1st, 2008, 07:31 PM
Replies: 1
Views: 1,070
Posted By Aaron Edwards
Invoke Events that were declated in a super class

Hi,

I have a thin class which inherits from UserControl which only adds an event, as follows:public class DynamicUserControl :UserControl
{
public event EventHandler dynamicControlEvent;

}
...
Forum: ASP.NET 2.0 Professional November 22nd, 2007, 01:00 PM
Replies: 0
Views: 764
Posted By Aaron Edwards
UserControl in a GridView

How do you wire up the events of a User Control, so that, when it is contained in a GridView, they can be handled by the GridView's RowCommand handler?

Thanks.

Aaron
Forum: ASP.NET 2.0 Professional November 22nd, 2007, 12:53 PM
Replies: 1
Views: 1,488
Posted By Aaron Edwards
Nevermind. The values in the database were...

Nevermind. The values in the database were actually null. I can't believe I didn't check that (they're not supposed to be). Just goes to show you, if there is a way for users to enter incomplete...
Forum: ASP.NET 2.0 Professional November 21st, 2007, 12:31 PM
Replies: 1
Views: 1,488
Posted By Aaron Edwards
Databinding the ImageURL Prop of an Image Control

I've got a TemplateField in a GridView that holds an ASP Image control, and populates it using databinding syntax as follows:

<asp:TemplateField>
<EditItemTemplate>
<asp:Image runat="server"...
Forum: ASP.NET 2.0 Basics October 31st, 2007, 10:53 AM
Replies: 1
Views: 1,092
Posted By Aaron Edwards
Weird Build Errors

I've had this weird problem come up now and again ever since VS Service Pack 1 (although I don't know if it's related).

I get build errors such as the following:

'ddlLicenseType' is not a...
Forum: ASP.NET 2.0 Basics August 23rd, 2007, 07:36 PM
Replies: 9
Views: 10,614
Posted By Aaron Edwards
I find the DataView is a handy object for doing...

I find the DataView is a handy object for doing this. I put 26 LinkButtons (A, B etc.) in the footer row of the GridView, assign them Commands "A", "B" etc, then handle the GridView RowCommand event...
Forum: ASP.NET 2.0 Basics August 23rd, 2007, 05:41 PM
Replies: 0
Views: 920
Posted By Aaron Edwards
SqlDataSource Control: Update clearing most fields

Any idea why a SqlDataSource control might wipe out most of the data in the record after it does an update?

I have a GridView which has only 4 columns. The underlying table has like 100 columns,...
Forum: ASP.NET 2.0 Professional August 5th, 2007, 09:55 PM
Replies: 1
Views: 610
Posted By Aaron Edwards
Any good Web-Based Query Builders Out There?

Hi,

Does anyone know if there is such a thing as a web-based Query-Builder tool out there, similar to the ones that come with SQL Server or Access?

I'm assuming such a thing wouldn't be...
Forum: Visual Studio 2005 May 25th, 2007, 08:43 AM
Replies: 0
Views: 654
Posted By Aaron Edwards
Differenes in IDE for C# vs. VB

Hi,

I recently started using C# instead of VB for my ASP projects. I did this for two reasons: (1) because I'm doing so much Java and C++ in school that it seemed to make sense to stay in one...
Forum: ASP.NET 2.0 Basics April 9th, 2007, 11:05 PM
Replies: 4
Views: 784
Posted By Aaron Edwards
Yes, Tiling! Sorry. That's what I mean. A...

Yes, Tiling! Sorry. That's what I mean. A repeater with conditional logic for separator rendering. Yes, that makes sense. Okay I'll try it. Thanks.

Aaron
Forum: ASP.NET 2.0 Basics April 9th, 2007, 10:04 PM
Replies: 4
Views: 784
Posted By Aaron Edwards
Sorry. I wasn't clear. I'm looking for a...

Sorry. I wasn't clear. I'm looking for a databound control that will allow me to display rows and columns of the same thing, i.e. thumbnails, in an X-Y fashion, where each thumbnail represents a...
Forum: ASP.NET 2.0 Basics April 9th, 2007, 07:31 PM
Replies: 4
Views: 784
Posted By Aaron Edwards
Anyone know a good matrix control?

Hi,

Anyone know a good matrix (i.e. rows and columns) repeater control? Thanks.

Aaron
Forum: ASP.NET 2.0 Basics April 9th, 2007, 07:29 PM
Replies: 1
Views: 775
Posted By Aaron Edwards
Are you sure you want to use a dataGrid and not a...

Are you sure you want to use a dataGrid and not a GridView?

Anyway, handle the RowSelected event. in the handler get the selected row with something like...

Dim row As GridViewRow =...
Forum: ASP.NET 2.0 Basics April 9th, 2007, 07:18 PM
Replies: 3
Views: 10,575
Posted By Aaron Edwards
Create a label and place it on the page. Let's...

Create a label and place it on the page. Let's say it's called myLabel.

After the GridView is bound to your datasource (let's say the GridView is called myGridView)... call

myLabel.Text =...
Forum: ASP.NET 2.0 Basics March 25th, 2007, 08:17 PM
Replies: 0
Views: 1,437
Posted By Aaron Edwards
Concurrency Violation Problem - Please HELP!

Hi,

First off, sorry about the cross-post, if anyone noticed it. I posted this in ADO.NET as well (although it looks a lot better over here, cause I didn't use those code tags).

I'm hoping...
Forum: ADO.NET March 25th, 2007, 08:15 PM
Replies: 1
Views: 1,379
Posted By Aaron Edwards
Sorry about the formatting. I though using those...

Sorry about the formatting. I though using those code tags would help it be more readable, but it kept everything on one line.

Aaron
Forum: ADO.NET March 25th, 2007, 08:13 PM
Replies: 1
Views: 1,379
Posted By Aaron Edwards
Concurrency Violation Problem - Please HELP!

Hi,

I'm hoping someone can help me. I've been at it for hours and I'm at a complete loss. Please have a look and if you think you know something, anything, that could help me see what I might be...
Forum: ASP.NET 2.0 Basics March 23rd, 2007, 04:25 PM
Replies: 1
Views: 783
Posted By Aaron Edwards
Nevermind, I figured this out. The problem...

Nevermind, I figured this out.

The problem was that in the page's preInit ...


Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
If...
Forum: ASP.NET 2.0 Professional March 23rd, 2007, 04:25 PM
Replies: 1
Views: 904
Posted By Aaron Edwards
Nevermind, I figured this out. The problem...

Nevermind, I figured this out.

The problem was that in the page's preInit ...


Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
If...
Forum: ASP.NET 2.0 Basics March 23rd, 2007, 02:26 PM
Replies: 1
Views: 783
Posted By Aaron Edwards
How to tell a User Control Who its Daddy is

I'm building a Content Management System that allows the user to dynamically change the MasterPageFile property of a page. I have 4 MasterPages setup that look different, but have all the same code...
Forum: ASP.NET 2.0 Professional March 23rd, 2007, 02:19 PM
Replies: 1
Views: 904
Posted By Aaron Edwards
How to tell a User Control Who its Daddy is

I'm building a Content Management System that allows the user to dynamically change the MasterPageFile property of a page. I have 4 MasterPages setup that look different, but have all the same code...
Forum: ASP.NET 2.0 Basics March 12th, 2007, 01:18 AM
Replies: 0
Views: 1,169
Posted By Aaron Edwards
How to Reference a Page in an External Class

I'm writing a Data Access Layer in a class that lives in the App_Code folder. I'm trying to move all my database access into that layer.

I want to write a method in that class that takes a page...
Forum: ASP.NET 2.0 Basics March 10th, 2007, 07:47 PM
Replies: 1
Views: 1,680
Posted By Aaron Edwards
You're passing in the wrong number of arguments...

You're passing in the wrong number of arguments to the SaveAs method. Use the intellisense feature to get a list of the necessary agruments. Keep in mind, sometimes there are multiple variations on...
Forum: ASP.NET 2.0 Basics March 10th, 2007, 06:13 PM
Replies: 1
Views: 820
Posted By Aaron Edwards
Try manually setting the GridView's EditIndex to...

Try manually setting the GridView's EditIndex to -1. That always works for me.

Oh, and if you're populating the GridView manually, you have to explicitly set its DataSource/DataMember and call...
Showing results 1 to 25 of 204

 


All times are GMT -4. The time now is 02:42 AM.


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