How to Insert a TextBox value in to Sql database using
C#.Net coding
Answer Posted / abcd
sqlcommand cmd=new sqlcommand("insert into dept values
('"+txtbox1.text+"'),con");
cmd.executenonquerry();
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is .net core framework?
Explain RenderBody and RenderPage in ASP.Net MVC?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
Explain the new features 3.5 framework against with the tool?
Describe the .net framework architecture.
Explain Sections is ASP.Net MVC?
What is the .net framework 3.0 (formerly winfx)?
How we can add the CSS in ASP.Net MVC?
Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).
What is the use of razor view engine?
Is .net framework 4.8 the last version?
How can I return string result from action in asp.net mvc?
What is Separation of Concerns in ASP.NET ASP.Net MVC?
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?
Explain the advantages of asp.net mvc over asp.net?