How to Insert a TextBox value in to Sql database using
C#.Net coding
Answers were Sorted based on User's Feedback
Answer / jayatirtha joshi
assign the textbox valuu to a string than using sqlcommand
in c# writing insert querry . insert the value into the
database.
ex; sqlcommand cmd=new sqlcommand("insert into emp values
('"+textbox1.text+"'),con");
cmd.executenonquerry();
| Is This Answer Correct ? | 24 Yes | 3 No |
How to Redirect Tracing to a File
what is lazy loading in entity framework?
Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Which filter executes first in an asp.net mvc application?
What is the need of .Net framework ?
what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?
Why do you need to serialize
About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?
6 Answers Infosys, Microsoft, MMTS,
What is entity framework firstordefault?
Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )
What is poco proxy? : Entity framework