Forum: C# Sep 24th, 2008 |
| Replies: 11 Views: 2,202 To be frank, I don't understand your code on what to be done but hope this would help you...
sample code.
private void loopSample()
{
foreach (Control ctrl in this.Controls)
{
... |
Forum: C# Sep 23rd, 2008 |
| Replies: 5 Views: 2,343 correction.
//Populate first the combobox for country during form load
private void myForm_Load(object sender, EventArgs e)
{
string[] country = new string[] {"Philippines", "India",... |
Forum: C# Sep 23rd, 2008 |
| Replies: 5 Views: 2,343 Hope this could help.
Sample...
//Populate first the combobox for country during form load
private void myForm_Load(object sender, EventArgs e)
{
string[] country = new string[]... |
Forum: C# Sep 23rd, 2008 |
| Replies: 12 Views: 18,941 One more thing... since this is about a log in thing... its expected that every username or adminID is unique therefore if will log-in you're selecting a specific user, thus, the query will return... |
Forum: C# Sep 23rd, 2008 |
| Replies: 12 Views: 18,941 try this one...
Don't limit the "try catch" the error will occur anytime so its best to put all your codes in a try catch block.
private void button1_Click(object sender, EventArgs e)
{
... |