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

.NET (Core and Framework)

 
AnswerRe: does .net Framework(2.0 and 3.5) Supports Robotics language VPL Pin
Dave Kreskowiak26-May-09 5:16
mveDave Kreskowiak26-May-09 5:16 
QuestionLogout code in C# Pin
manjusha s26-May-09 1:39
manjusha s26-May-09 1:39 
AnswerRe: Logout code in C# Pin
annathor27-May-09 1:57
annathor27-May-09 1:57 
QuestionLogout code in C# Pin
manjusha s26-May-09 1:23
manjusha s26-May-09 1:23 
AnswerRe: Logout code in C# Pin
Henry Minute26-May-09 1:26
Henry Minute26-May-09 1:26 
QuestionForm Disposal and Null Containers Pin
Tristan Rhodes26-May-09 1:14
Tristan Rhodes26-May-09 1:14 
AnswerRe: Form Disposal and Null Containers Pin
Henry Minute26-May-09 1:33
Henry Minute26-May-09 1:33 
GeneralRe: Form Disposal and Null Containers Pin
Tristan Rhodes26-May-09 2:29
Tristan Rhodes26-May-09 2:29 
GeneralRe: Form Disposal and Null Containers Pin
Henry Minute26-May-09 2:34
Henry Minute26-May-09 2:34 
GeneralRe: Form Disposal and Null Containers Pin
Tristan Rhodes26-May-09 4:31
Tristan Rhodes26-May-09 4:31 
GeneralRe: Form Disposal and Null Containers Pin
Pete O'Hanlon26-May-09 5:24
mvaPete O'Hanlon26-May-09 5:24 
GeneralRe: Form Disposal and Null Containers Pin
Tristan Rhodes27-May-09 0:49
Tristan Rhodes27-May-09 0:49 
Questionmultiplication of columns Pin
manjusha s26-May-09 1:01
manjusha s26-May-09 1:01 
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 

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.