TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pedro Filpe
NA
1
1.1k
C# help I do not know where I put the code
Aug 28 2013 5:37 PM
Hello, I have 2 textboxes (tbMarcas and tbSubmarcas) Brands and Sub-brands both with autocomplete, but sub-brands need to work first met brands and I do not know how to make it work correctly, there is how I did the code ..
/ / Both operating
private void Auto_marcas (); [...]
private void Auto_submarcas (); [...]
private void Form1_Load (object sender, EventArgs e)
{
CONNECTION.Open ();
Auto_marcas () / / when compiling works 5 stars loads 6000 records in 1sec and makes the autocomplete function
Auto_submarcas () / / this also works but only if compiled tbMarcas with text on it in the textbox, I know it is to be in the load () but do not know where to put it to work, this is my question!
}
/ / I've tried this way but does not result
...
private void Auto_marcas (); [...]
private void Auto_submarcas (); [...]
private void Form1_Load (object sender, EventArgs e)
{
CONNECTION.Open ();
Auto_marcas ();
}
private void tbMarcas_Leave (object sender, EventArgs e)
{
Auto_submarcas ();
}
...
How do I solve this problem?
Reply
Answers (
1
)
Click button if cursor hovers for 3 seconds
How to make upload button with in gridview to see that in c#