Click here to Skip to main content
15,509,322 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: multiplication of columns Pin
Henry Minute26-May-09 1:20
Henry Minute26-May-09 1:20 
GeneralRe: multiplication of columns Pin
manjusha s26-May-09 1:35
manjusha s26-May-09 1:35 
QuestionSql Query Pin
srinisiv26-May-09 0:05
srinisiv26-May-09 0:05 
AnswerRe: Sql Query Pin
Pete O'Hanlon26-May-09 0:46
mvaPete O'Hanlon26-May-09 0:46 
GeneralRe: Sql Query Pin
srinisiv26-May-09 1:14
srinisiv26-May-09 1:14 
GeneralRe: Sql Query Pin
Pete O'Hanlon26-May-09 1:31
mvaPete O'Hanlon26-May-09 1:31 
GeneralRe: Sql Query Pin
srinisiv26-May-09 1:49
srinisiv26-May-09 1:49 
QuestionInsert query Pin
manjusha s25-May-09 22:24
manjusha s25-May-09 22:24 
The data is not getting inserted into the database...
i have written the following code...


SqlConnection con = new SqlConnection("Data Source=.\\sqlexpress;Initial Catalog=MLM;Integrated Security=True");
con.Open();
SqlCommand com = new SqlCommand("Insert into RegistrationForm(UserName,Pin_ID,SponserName,Sponser_Pin,Registration_Date,Main_Sponser_Name,Placement_Info,Title,Maritial_status,MemberName,CompanyName,Date_Of_Birth,Age_In_Years,Mother_Name,Address,City,State,PinCode,Phone_No,Mobile_No,Email_Id,Pan_No,Nominee_Name,Relation_with_member,Nominee_Birth_Date,Age,DD_No,Bank_Name,Branch_Name,Enter_Login_Password,Confirm_Login_Password,Enter_Pin_Password,Confirm_Pin_Password)values('" + TextBox30.Text + "','" + TextBox31.Text + "','" + TextBox26.Text + "','" + TextBox27.Text + "','" + TextBox28.Text + "','" + TextBox29.Text + "','" + RadioButtonList1.Text + "','" + DropDownList4.Text + "','" + DropDownList6.Text + "','" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox3.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','" + DropDownList5.Text + "','" + TextBox9.Text + "','" + TextBox10.Text + "','" + TextBox11.Text + "','" + TextBox12.Text + "','" + TextBox13.Text + "','" + TextBox14.Text + "','" + TextBox15.Text + "'," + TextBox16.Text + "," + TextBox17.Text + ",'" + TextBox18.Text + "','" + TextBox19.Text + "','" + TextBox20.Text + "','" + TextBox21.Text + "','" + TextBox22.Text + "','" + TextBox23.Text + "','" + TextBox24.Text + "')", con);

string s1 = TextBox30.Text;
string s2 = TextBox28.Text;
string s3 = TextBox1.Text;
string s4 = TextBox7.Text;
string s5 = TextBox8.Text;

string s6 = DropDownList5.Text;
string s7 = TextBox9.Text;
string s8 = TextBox27.Text;
string s9 = TextBox26.Text;

Response.Redirect("Welcomeltr.aspx?TextBox30=" + s1 + " &TextBox28=" + s2 + "&TextBox1=" + s3 + "&TextBox7=" + s4 + "&TextBox8=" + s5 + "&DropDownList5=" + s6 + "&TextBox9=" + s7 + "&TextBox27=" + s8 + "&TextBox26=" + s9);

com.ExecuteNonQuery();
//com2.ExecuteNonQuery();
con.Close();


Thanks in advance
AnswerRe: Insert query Pin
Pete O'Hanlon25-May-09 23:00
mvaPete O'Hanlon25-May-09 23:00 
QuestionHOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
TARAK NATH ROY25-May-09 2:45
TARAK NATH ROY25-May-09 2:45 
AnswerRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
molesworth25-May-09 23:24
molesworth25-May-09 23:24 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
TARAK NATH ROY26-May-09 0:08
TARAK NATH ROY26-May-09 0:08 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
molesworth26-May-09 0:22
molesworth26-May-09 0:22 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
TARAK NATH ROY26-May-09 1:01
TARAK NATH ROY26-May-09 1:01 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
TARAK NATH ROY26-May-09 1:03
TARAK NATH ROY26-May-09 1:03 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
molesworth26-May-09 2:23
molesworth26-May-09 2:23 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
TARAK NATH ROY26-May-09 3:15
TARAK NATH ROY26-May-09 3:15 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
molesworth26-May-09 4:05
molesworth26-May-09 4:05 
GeneralRe: HOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
molesworth26-May-09 4:20
molesworth26-May-09 4:20 
QuestionWSE 3.0 setting option is not available Pin
kamaldeepgurhani24-May-09 22:13
kamaldeepgurhani24-May-09 22:13 
QuestionI need to Debug my setup project. Pin
velkumar_in24-May-09 22:05
velkumar_in24-May-09 22:05 
AnswerRe: I need to Debug my setup project. Pin
Moim Hossain2-Jul-09 10:36
Moim Hossain2-Jul-09 10:36 
QuestionHow to run .net application on Macintosh operating system.? Pin
Piyush Vardhan Singh24-May-09 21:45
Piyush Vardhan Singh24-May-09 21:45 
AnswerRe: How to run .net application on Macintosh operating system.? Pin
molesworth25-May-09 1:10
molesworth25-May-09 1:10 
GeneralRe: How to run .net application on Macintosh operating system.? Pin
Piyush Vardhan Singh25-May-09 2:46
Piyush Vardhan Singh25-May-09 2:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.