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 30
Search took 0.01 seconds.
Search: Posts Made By: headworth
Forum: C# January 6th, 2010, 10:03 AM
Replies: 6
Views: 1,434
Posted By headworth
Filter Column

As i do not have varable i have changes valueToUseAsAFilter
to where the data source is = new_HomeDataSet
This is all my code hope you can help?

public partial class Form1 : Form
{
...
Forum: C# January 6th, 2010, 09:42 AM
Replies: 6
Views: 1,434
Posted By headworth
Filter Column

Hi thank you for having a look
yes I get this error

Error 1 The name 'valueToUseAsAFilter' does not exist in the current context
Forum: C# January 6th, 2010, 09:32 AM
Replies: 6
Views: 1,434
Posted By headworth
Question Filter Columns

Can I have some help with this C#code

the problem is with "valueToUseAsAFilter" could advise what to use instead

bindingSource1.Filter = string.Format("MycolumnName = '{0}'",...
Forum: Visual Studio 2008 December 21st, 2009, 11:16 AM
Replies: 1
Views: 971
Posted By headworth
Unhappy Combobox list filter

Please can someone help with this ?

I need to be able to select more than one column

Me.NHEBindingSource.Filter = String.Format("{0} like '%{1}%'", Me.New_HomeDataSet.NHE.EMPLOYEE_GRADEColumn,...
Forum: Visual Studio 2008 December 20th, 2009, 03:24 AM
Replies: 1
Views: 971
Posted By headworth
Question Combobox list filter

Hi All

I have a datagridview on Form1 to filter my columns I have a combobox with a list of my columns if I select one column header in the combobox I can then enter the name in a textbox and the...
Forum: Visual Studio 2008 November 25th, 2009, 09:07 AM
Replies: 9
Views: 1,743
Posted By headworth
Angry Filter columns

I have recoded the line
But it will not except Me.Textbox1.text i do not need this for i only wont this filter to put the date column in ascending order

Me.SWR2010BindingSource.Filter =...
Forum: Visual Studio 2008 November 25th, 2009, 08:09 AM
Replies: 9
Views: 1,743
Posted By headworth
Red face Filter columns

Gonzalo can help with code?

My code is not working for the second filter

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try...
Forum: Visual Studio 2008 November 24th, 2009, 05:51 PM
Replies: 9
Views: 1,743
Posted By headworth
Question DataGrid filtering columns

How my datagrid filtering is working and i can reset my datagrid can someone help me with my next problem.

In my datagrid I have a column with dates i would like my filtering to select the column...
Forum: Visual Studio 2008 November 24th, 2009, 07:48 AM
Replies: 9
Views: 1,743
Posted By headworth
Cool Reset DataGrid after filtering

Thank you for having a look I am a begginer to?
Forum: Visual Studio 2008 November 23rd, 2009, 02:24 PM
Replies: 9
Views: 1,743
Posted By headworth
Question Reset DataGrid after filtering column

I have a form with a datagrid on it and textbox and one button with the button I filter one column.
This now works.
I would like to add a another button to reset the datagrid so I can refilter...
Forum: ASP.NET 3.5 Basics November 22nd, 2009, 05:08 PM
Replies: 7
Views: 1,248
Posted By headworth
Question DataGrid to filter name

Can I send you the Project?
Forum: ASP.NET 3.5 Basics November 22nd, 2009, 04:13 PM
Replies: 7
Views: 1,248
Posted By headworth
Angry DataGrid to filter name

Yes I used a example and modefied it
I have tried to do this another way and it loads when i debug
But when I select a employee and press filter it will not work?



[code]
Partial Public...
Forum: ASP.NET 3.5 Basics November 21st, 2009, 12:13 PM
Replies: 7
Views: 1,248
Posted By headworth
Question ddlColumnName

This is the code I am using
[Code]

Protected Sub btnFilter_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load

Dim AccessDataSource1 As New AccessDataSource

...
Forum: ASP.NET 3.5 Basics November 21st, 2009, 12:02 PM
Replies: 7
Views: 1,248
Posted By headworth
Unhappy Name 'ddlColumnName'

Error 1 Name 'ddlColumnName' is not declared.


If I declar ddlColumnName

Dim ddlColumnName As New ddlColumnName

it will ask me for type

Please can i have some help with this
Forum: Visual Studio 2008 October 2nd, 2009, 02:46 PM
Replies: 1
Views: 1,480
Posted By headworth
Question Problem adding to database

I have form1 with 3 Textboxs

TextBox1 Employee ID
TextBox2 First Name
TextBox3 Last Name

When I enter 1 in textbox1 and the names in the other 2 textboxs i press the
add + button and then I...
Forum: Visual Studio 2008 October 2nd, 2009, 02:32 PM
Replies: 2
Views: 803
Posted By headworth
Add to database

Thank you for your help with this code

Regards
Headworth
Forum: Visual Studio 2008 September 29th, 2009, 04:42 PM
Replies: 2
Views: 803
Posted By headworth
Question Add to database

Can I have some help with this code i am trying to add text to a database?
Error 1 Identifier expected.


Public Class Form1
Public Sub
Public dbConn As New...
Forum: Visual Basic 2008 Essentials September 10th, 2009, 03:18 AM
Replies: 1
Views: 1,288
Posted By headworth
Talking Close Form1 Answer

I have the answer

instead of Me.Hide()

It should be Me.Close()
Forum: Visual Basic 2008 Essentials September 9th, 2009, 03:07 PM
Replies: 1
Views: 1,288
Posted By headworth
Question Close Form1

I have a error when click button close the form well close but i can not write in the code window till i stop the debugging myself?

My code for closing form1 is

Me.Hide()

A first chance...
Forum: Visual Basic 2008 Essentials September 3rd, 2009, 01:21 PM
Replies: 6
Views: 3,253
Posted By headworth
Angry Listbox

It Was me I had it wrong like this[:(!]

lstDisplay(Items.add(txtPerson.Text))

When it should have been like this

lstDisplay.Items.Add(txtPerson.Text)

Thank you so much for your help just...
Forum: Visual Basic 2008 Essentials September 3rd, 2009, 12:46 PM
Replies: 6
Views: 3,253
Posted By headworth
Listbox

I have tried that and got 2 errors [:confused:]

Error 1 Property access must assign to the property or use its value.
Error 2 Name 'Items' is not declared.
Forum: Visual Basic 2008 Essentials September 3rd, 2009, 12:35 PM
Replies: 6
Views: 3,253
Posted By headworth
Red face Listbox

I am trying to show the value in textbox in listbox
Forum: Visual Basic 2008 Essentials September 3rd, 2009, 11:00 AM
Replies: 6
Views: 3,253
Posted By headworth
Question TextBox to ListBox show

Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click


'MessageBox.Show(txtPerson.Text.ToString)
'this messagebox works when I...
Forum: VB.NET 2002/2003 Basics August 24th, 2009, 03:38 AM
Replies: 0
Views: 1,579
Posted By headworth
Question How to assign a value for cell

I Have a warning Variable 'cell' is used before it has been assigned a value. A null reference exception could result at runtime.
I tried to fix this with the code 'AddHandler(cell.Value)' but it...
Forum: BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 August 4th, 2009, 06:56 AM
Replies: 2
Views: 1,450
Posted By headworth
Angry Code

Thanks Thearon

Headworth
Showing results 1 to 25 of 30

 




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