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 | 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 54
Search took 0.02 seconds.
Search: Posts Made By: sg48
Forum: Visual Basic 2008 Essentials May 4th, 2010, 04:38 PM
Replies: 0
Views: 768
Posted By sg48
Creating Enumerated Property in a Class

Thanks for your help
I would like the calling program to be able to do
dealslot.slottype= xxx where xxx is an enumerated list
provided by intellisense. How do I do this?


Imports...
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 12:23 PM
Replies: 14
Views: 3,468
Posted By sg48
Yes you are correct. I got fooled by the watch...

Yes you are correct. I got fooled by the watch window in the beginning.

Also, my Try Catch masked the problem.

The reason I didn't put in all of my code in the beginning was that I didn't...
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 12:01 PM
Replies: 14
Views: 3,468
Posted By sg48
I forgot to add the parameter. ...

I forgot to add the parameter.

CmdGetPersonData.Parameters.Add(useridparam)

Thank you for your response. It was helpful in getting me to the root of the problem.
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 11:55 AM
Replies: 14
Views: 3,468
Posted By sg48
I removed my tRy Catch and am getting following...

I removed my tRy Catch and am getting following error now

Procedure or function 'procGetPersonByUserIDSelect' expects parameter '@userid', which was not supplied.
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 11:44 AM
Replies: 14
Views: 3,468
Posted By sg48
I do appreciate your help. I put in an...

I do appreciate your help.

I put in an instruction to convert the ProviderUserKey to a string as you suggested and it does show a value. My code is failing when I am filling my dataset.
...
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 11:09 AM
Replies: 14
Views: 3,468
Posted By sg48
Because Session("loggedinusername") =...

Because

Session("loggedinusername") = Membership.GetUser().UserName

Shows the name of the logged in user
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 10:42 AM
Replies: 14
Views: 3,468
Posted By sg48
The value in the watch window shows as Empty when...

The value in the watch window shows as Empty when I click the + sign

I think the watch window is not relevant.

In my code when I manually examine the ProviderUserKey it is empty.

My query...
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 10:23 AM
Replies: 14
Views: 3,468
Posted By sg48
The problem is that it's empty in my code

When I breakpoint in my code the value UserKey is empty
There is definitely a value in the Membership DB
Forum: ASP.NET 3.5 Basics May 3rd, 2010, 09:52 AM
Replies: 14
Views: 3,468
Posted By sg48
Can't Read User.ProviderUserKey

Help please. Thank you.

I get this statement in the watch window:
Because this evaluation could cause side effects, it will not be executed until enabled by user.
...
Forum: ASP.NET 3.5 Basics April 13th, 2010, 01:01 PM
Replies: 0
Views: 932
Posted By sg48
Can't get linkbutton to work

I want to use linkbuutons so that I can avoid using querystrings I can't get them to work. The CommandArgument is, for example, Purchaser1PersonKey which is an integer In my subs I can't...
Forum: ASP.NET 3.5 Basics April 13th, 2010, 10:35 AM
Replies: 0
Views: 1,420
Posted By sg48
Need Help Using Linkbutton in gridview

I am using linkbutton in my gridview to avoid the use of querystrings. The gridview is filled from a dataset.
I almost have it working but the text the linkbutton is displaying does not vary as a...
Forum: ASP.NET 3.5 Basics April 10th, 2010, 04:15 PM
Replies: 6
Views: 2,347
Posted By sg48
Your stored procedure

I tried it exactly as you wrote it and it worked without any changes. Thank you.

I wanted to do it this way because I did not want to put person data into the offer table.
Forum: ASP.NET 3.5 Basics April 10th, 2010, 03:53 PM
Replies: 6
Views: 2,347
Posted By sg48
I think your analysis is right on

I agree with you. The problem is that BuyerAgent is in the 2nd table. I wasn't sure how to bind to both tables although I'm sure it can be done.

Also, I knew that combining my SELECTS into one...
Forum: ASP.NET 3.5 Basics April 10th, 2010, 03:05 PM
Replies: 6
Views: 2,347
Posted By sg48
Not sure I agree

Thanks for your response.

When I watch BuyersAgent it has the correct value, so it seems that it does exist.

Here is my stored procedure below

What I am trying to accomplish is the...
Forum: ASP.NET 3.5 Basics April 9th, 2010, 06:52 PM
Replies: 2
Views: 2,518
Posted By sg48
One other thing I realized

Mt dataset has multiple data tables
Forum: ASP.NET 3.5 Basics April 9th, 2010, 06:07 PM
Replies: 2
Views: 2,518
Posted By sg48
One additional point

I have been doing some searches on the internet and it seems my problem is occurring because my stored procedure has an expression. ie BuyersAgent.

Apparently this affects how it must be bound....
Forum: ASP.NET 3.5 Basics April 9th, 2010, 05:30 PM
Replies: 2
Views: 2,518
Posted By sg48
Field not found when binding dataset to gridview

I get the eror message: A field or property with the name 'BuyersAgent' was not found on the selected data source. Any help or insight is appreciated.1. If I remove the Bound Column BuyersAgent the...
Forum: ASP.NET 3.5 Basics April 9th, 2010, 05:29 PM
Replies: 6
Views: 2,347
Posted By sg48
Field not found when binding dataset to gridview

I get the eror message: A field or property with the name 'BuyersAgent' was not found on the selected data source. Any help or insight is appreciated.1. If I remove the Bound Column BuyersAgent the...
Forum: SQL Server 2008 April 9th, 2010, 12:15 PM
Replies: 3
Views: 515
Posted By sg48
Yes that works

Thank you for fast response. Very helpful
Forum: SQL Server 2008 April 9th, 2010, 11:03 AM
Replies: 3
Views: 515
Posted By sg48
Need help with simple query

I have a PersonTable with PersonID, FirstName, Last Name, etc

I have an OfferTable with BuyerID, AgentId, SellerID.

I want to write a query to get the names of the Buyer, Agent, Seller from the...
Forum: ASP.NET 3.5 Basics April 7th, 2010, 09:34 AM
Replies: 0
Views: 2,343
Posted By sg48
GridView - conditional disabling of select button

I have a gridview with a select link (Not auto created)
One of my columns is a date column
Another column is essentially a 'group code'
For rows that have the same group code I want to disable or...
Forum: ASP.NET 3.5 Basics March 29th, 2010, 01:29 PM
Replies: 0
Views: 829
Posted By sg48
Need help swapping image of ImageMap

I have an image map that portrays 5 steps in a process.
When one of the locations in the image map is clicked I would like to associate a new image with the image map
That is identical to the...
Forum: ASP.NET 3.5 Basics March 25th, 2010, 07:33 AM
Replies: 2
Views: 1,961
Posted By sg48
Makes sense. I switched to a dataset and problem...

Makes sense. I switched to a dataset and problem is solved. Thank you.
Forum: ASP.NET 3.5 Basics March 23rd, 2010, 10:31 AM
Replies: 1
Views: 849
Posted By sg48
Need help with DataTable /and DataAdapter

I am creating datatable and adding rows in a loop commented as
"populate datatable"

I then try to use the datatable when I am adding parameters to a sql
command. I get the error message "no row...
Forum: ASP.NET 3.5 Basics March 22nd, 2010, 06:24 PM
Replies: 2
Views: 1,961
Posted By sg48
Detailsview Not Visible -Help Please

I have a details view that is supposed to display one record from a master gridview on another page. I had this working but "broke" it.I am binding the detailsview programmatically to datareader....
Showing results 1 to 25 of 54

 


All times are GMT -4. The time now is 07:52 PM.


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