0

This will be a great help for me to carry my project further.

I need to check the text box value(form) with database. If it exist I try to show warning message and if not ask the user to enter the values.

I try to implement this code with Windows form,MVC format.

Can you provide sample code for this? Any suggestion ideas?

Thank You.

2
Contributors
1
Reply
13
Views
3 Years
Discussion Span
Last Post by __avd
-1

Welcome,
You can do (search from database) in many ways - executing queirues or LINQ to SQL or EntityDataModel. Please show your code to us so we can suggest or guide you on that issue.

Votes + Comments
View: private void textBox1_KeyDown(object sender, KeyEvent Args e) if (e.KeyCode == Keys.Enter) { MessageBox.Show(controller.CheckAndGetBarcode()); } } Model: public class ProductModel { public string s; public st
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.