Interviewer And Interviewee Guide

Dot Net Framework Interview Question:

How to Insert a TextBox value in to Sql database using C#.Net coding?

Submitted by: Administrator
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();
Submitted by: Administrator

Read Online Dot Net Framework Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.