Reset All Fields in Form
-
hi good evening frnds, I have three doubts here... 1) How can i refresh my windows form everytime,when i submit the values to the database using C#. 2) can u gimme autogenerate code for userid, its urgent pls help me 3) i need some clarification abt ths error : what is meant by, insert command confilcted with foreign key column hope u gimme as early as possible... thnx in advance, nagendra kumar
-
hi good evening frnds, I have three doubts here... 1) How can i refresh my windows form everytime,when i submit the values to the database using C#. 2) can u gimme autogenerate code for userid, its urgent pls help me 3) i need some clarification abt ths error : what is meant by, insert command confilcted with foreign key column hope u gimme as early as possible... thnx in advance, nagendra kumar
nagendra.vk wrote:
How can i refresh my windows form everytime,when i submit the values to the database using C#.
Read about patterns like MVC/MVP. You need to have a model. All your UI controls will be observing it, whenever the model changes, controls will update itself. Read about data binding.
nagendra.vk wrote:
can u gimme autogenerate code for userid, its urgent pls help me
NO. We don't serve urgent requests :)
nagendra.vk wrote:
insert command confilcted with foreign key column
Looks like the value you are inserting is not present in the parent table.
Navaneeth How to use google | Ask smart questions
-
hi good evening frnds, I have three doubts here... 1) How can i refresh my windows form everytime,when i submit the values to the database using C#. 2) can u gimme autogenerate code for userid, its urgent pls help me 3) i need some clarification abt ths error : what is meant by, insert command confilcted with foreign key column hope u gimme as early as possible... thnx in advance, nagendra kumar
1 - you can iterate over the controls collection and reset them all that way 2 - ++userid 3 - I suggest you do some reading before touching any more database code, as it's clear you don't understand them at all.
Christian Graus Driven to the arms of OSX by Vista.
-
hi good evening frnds, I have three doubts here... 1) How can i refresh my windows form everytime,when i submit the values to the database using C#. 2) can u gimme autogenerate code for userid, its urgent pls help me 3) i need some clarification abt ths error : what is meant by, insert command confilcted with foreign key column hope u gimme as early as possible... thnx in advance, nagendra kumar
Hi, you can see my post on this topic :) Reset all controls on form (Windows forms – C#[^] Hope it helps, Haris