Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~14.9K People Reached
About Me

I am a Performance Tester at BTL.

Favorite Forums
Favorite Tags
c# x 2

12 Posted Topics

Member Avatar for kimbula...

Hello, I use a variety of methods all with Regex. To use this you will need to add the namespace [CODE]using System.Text.RegularExpressions;[/CODE] Firstly the KeyPress Event [CODE] private void txtStockBought_KeyPress(object sender, KeyPressEventArgs e) { if (char.IsNumber(e.KeyChar)) { if (Regex.IsMatch(txtStockBought.Text, "\\D+")) { e.Handled = true; } } else { e.Handled = …

Member Avatar for kplcjl
0
5K
Member Avatar for mahdi68

[QUOTE=mahdi68;1242993]Hi i use this code for hide form but when i run project form is shown !!! where is probleam ??? thanks [CODE] private void Form1_Load(object sender, EventArgs e) { this.Visible = false; }[/CODE][/QUOTE] Hello, Try [CODE]this.hide[/CODE] Or [CODE]this.hide()[/CODE] Cannot remember if it needs the brackets or not.

Member Avatar for nick.crane
0
72
Member Avatar for sdhawan

[QUOTE=sdhawan;1236754]how can i Add to dropdown list duing runtime in visual studio.Suppose i have 4 list items in drop down and one of the option is to add a new item.What i want to do is when i select that option(create new) i should be able to add the fifth …

Member Avatar for sdhawan
0
113
Member Avatar for Ap0ca1ypse

Evening, I have built a program with full SQL functionality (from pulling to adding etc). I am using stored proceedures for the SQL queries. I seem to have a problem when adding / updating a SQL VARCHAR column when the item being added / updated has a space (ie 'Add …

Member Avatar for Ap0ca1ypse
0
176
Member Avatar for Ap0ca1ypse

Hello All, i am after a little information on a query i have. I have three forms that are fairly similar in the process that they take, the only difference is an extra textbox and different SQL DB Updates. so what i plan to do is merge all three forms …

Member Avatar for finito
0
169
Member Avatar for Ap0ca1ypse

Hello, Firstly, i am not at my computer atm so i will not be able to show you my code (i will post it later). I am creating a program for my dad which is sort of like a stock control program. I have a form with two comboboxes and …

Member Avatar for Ap0ca1ypse
0
9K
Member Avatar for Ap0ca1ypse

Hello, I have created a program and i have managed to publish my application. I have set it up to be installed via CD but it does not attach the MSAccess DB. My question is how do I add the DB?

Member Avatar for Ap0ca1ypse
0
145
Member Avatar for Ap0ca1ypse

Hello everybody, This must be so simple but I cannot find it anywhere. I want to split a form into two section by a line. Example TopData ______________________________________________ BottomData I cannot find the functionality anywhere and it is really bugging me. Any help will be much appreciated Thanks

Member Avatar for Ap0ca1ypse
0
72
Member Avatar for Ap0ca1ypse

Hello, How do I reinitialise a form load event? Example; Form1 Loads data from a Db and has 3 buttons, each button represents showing data from a different table onto form2 When form2 is initialise for the first time i can use an onload event, but if i go back …

Member Avatar for Ap0ca1ypse
0
121
Member Avatar for Ap0ca1ypse

Hello, I would like to list items from a database into a list but like to make it look clean. For example if database contains Column1, Column2 John,Smith Joe, Bloggs I want to list them like this John Smith Joe Bloggs Not like this (currently) John Smith Joe Bloggs Any …

Member Avatar for Ap0ca1ypse
0
91
Member Avatar for Ap0ca1ypse

Hello, I can pull 3 tables data into my program and read from all of them, i can update all 3 datasets but when it comes to updating the actual database i can only send the updates from the last dataset. [CODE] Imports System.Data Dim con As New OleDb.OleDbConnection Dim …

Member Avatar for Ap0ca1ypse
0
109
Member Avatar for Ap0ca1ypse

Hello all, I am creating a project for myself to practice Database connectivity, updating, deleting and adding items. I am having an issue updating one of the tables i have added, within a table there is a column called Today's Date which will contain the date the last time the …

Member Avatar for Ap0ca1ypse
0
126

The End.