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

.NET (Core and Framework)

 
AnswerStop. Desist. Leave now. Pin
Pete O'Hanlon26-May-09 3:08
subeditorPete O'Hanlon26-May-09 3:08 
Questiondoes .net Framework(2.0 and 3.5) Supports Robotics language VPL Pin
dewana26726-May-09 0:58
dewana26726-May-09 0:58 
AnswerRe: does .net Framework(2.0 and 3.5) Supports Robotics language VPL Pin
Dave Kreskowiak26-May-09 4:16
mveDave Kreskowiak26-May-09 4:16 
QuestionLogout code in C# Pin
manjusha s26-May-09 0:39
manjusha s26-May-09 0:39 
AnswerRe: Logout code in C# Pin
annathor27-May-09 0:57
annathor27-May-09 0:57 
QuestionLogout code in C# Pin
manjusha s26-May-09 0:23
manjusha s26-May-09 0:23 
AnswerRe: Logout code in C# Pin
Henry Minute26-May-09 0:26
Henry Minute26-May-09 0:26 
QuestionForm Disposal and Null Containers Pin
Tristan Rhodes26-May-09 0:14
Tristan Rhodes26-May-09 0:14 
AnswerRe: Form Disposal and Null Containers Pin
Henry Minute26-May-09 0:33
Henry Minute26-May-09 0:33 
GeneralRe: Form Disposal and Null Containers Pin
Tristan Rhodes26-May-09 1:29
Tristan Rhodes26-May-09 1:29 
GeneralRe: Form Disposal and Null Containers Pin
Henry Minute26-May-09 1:34
Henry Minute26-May-09 1:34 
GeneralRe: Form Disposal and Null Containers Pin
Tristan Rhodes26-May-09 3:31
Tristan Rhodes26-May-09 3:31 
GeneralRe: Form Disposal and Null Containers Pin
Pete O'Hanlon26-May-09 4:24
subeditorPete O'Hanlon26-May-09 4:24 
GeneralRe: Form Disposal and Null Containers Pin
Tristan Rhodes26-May-09 23:49
Tristan Rhodes26-May-09 23:49 
Questionmultiplication of columns Pin
manjusha s26-May-09 0:01
manjusha s26-May-09 0:01 
AnswerRe: multiplication of columns Pin
Henry Minute26-May-09 0:20
Henry Minute26-May-09 0:20 
GeneralRe: multiplication of columns Pin
manjusha s26-May-09 0:35
manjusha s26-May-09 0:35 
QuestionSql Query Pin
srinisiv25-May-09 23:05
srinisiv25-May-09 23:05 
AnswerRe: Sql Query Pin
Pete O'Hanlon25-May-09 23:46
subeditorPete O'Hanlon25-May-09 23:46 
GeneralRe: Sql Query Pin
srinisiv26-May-09 0:14
srinisiv26-May-09 0:14 
GeneralRe: Sql Query Pin
Pete O'Hanlon26-May-09 0:31
subeditorPete O'Hanlon26-May-09 0:31 
GeneralRe: Sql Query Pin
srinisiv26-May-09 0:49
srinisiv26-May-09 0:49 
QuestionInsert query Pin
manjusha s25-May-09 21:24
manjusha s25-May-09 21: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 22:00
subeditorPete O'Hanlon25-May-09 22:00 
QuestionHOW TO DISTINGUISE POINTS OF LINES AND CURVES ??? Pin
TARAK NATH ROY25-May-09 1:45
TARAK NATH ROY25-May-09 1:45 

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.