Click here to Skip to main content
15,943,479 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: POST xml request to an API with feedback asp.net mvc Pin
jkirkerx24-Oct-16 9:15
professionaljkirkerx24-Oct-16 9:15 
AnswerRe: POST xml request to an API with feedback asp.net mvc Pin
MacroSss26-Oct-16 1:23
MacroSss26-Oct-16 1:23 
GeneralRe: POST xml request to an API with feedback asp.net mvc Pin
MacroSss26-Oct-16 1:24
MacroSss26-Oct-16 1:24 
QuestionThere is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'SelectedClientList'. Pin
amioni20-Oct-16 1:43
amioni20-Oct-16 1:43 
AnswerRe: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'SelectedClientList'. Pin
jkirkerx20-Oct-16 8:57
professionaljkirkerx20-Oct-16 8:57 
QuestionHow to save modal popup form into database/data table Pin
Bootzilla3319-Oct-16 10:47
Bootzilla3319-Oct-16 10:47 
AnswerRe: How to save modal popup form into database/data table Pin
Sahil Saini @ Software Developer19-Oct-16 19:23
professionalSahil Saini @ Software Developer19-Oct-16 19:23 
Questioni want fill 2 table with 1 click can I? Pin
moj197817-Oct-16 9:00
moj197817-Oct-16 9:00 
C#
SqlConnection con;
                 con = new SqlConnection(@"Data Source=SEPEHR;Integrated Security=True;server=(local);Database=TestDatabaseByYall");
                 con.Open();
                 SqlCommand cmd;
                 cmd = new SqlCommand("INSERT INTO tbl_CustInfo (codemeli,mydate,name,idnasb,iddevice,email,mobile,tel,adress)" + "VALUES (@codemeli,@mydate,@name,@idnasb,@iddevice,@email,@mobile,@tel,@adress)", con);
                cmd.Parameters.AddWithValue("@codemeli", txtcodemeli.Text.Trim().ToString());
                 cmd.Parameters.AddWithValue("@mydate", mydat);
                 statuse = false;
                 cmd.Parameters.AddWithValue("@name", txtname.Text);
                 cmd.Parameters.AddWithValue("@idnasb", dridnasb.SelectedItem.Value);
                 cmd.Parameters.AddWithValue("@iddevice", drdevice.SelectedItem.Value);
                 cmd.Parameters.AddWithValue("@email", txtemail.Text.Trim());
                 cmd.Parameters.AddWithValue("@mobile", txtmobile.Text.Trim().ToString());
                 cmd.Parameters.AddWithValue("@tel", txttel.Text.Trim().ToString());
                 cmd.Parameters.AddWithValue("@adress", txtAdress.Text.Trim());
                 cmd.ExecuteNonQuery();
                 lblresult.Text = "Successful!";

                SqlCommand cmd2;
                string vart="1";
                string varf="0";
                cmd2 = new SqlCommand("INSERT INTO tbl_Customer_Statuse (idcustomer,level1,level2,level3,level4,Complate)" + "VALUES (@codemeli,@level1,@level2,@level3,@level14,@Complate)", con);
                cmd2.Parameters.AddWithValue("@codemeli",txtcodemeli.Text.Trim());
                cmd2.Parameters.AddWithValue("@level1",vart);
                cmd2.Parameters.AddWithValue("@level2",varf);
                cmd2.Parameters.AddWithValue("@level3",varf);
                cmd2.Parameters.AddWithValue("@level4",varf);
                cmd2.Parameters.AddWithValue("@Complate",varf);
                cmd2.ExecuteNonQuery();
                con.Close();

AnswerRe: i want fill 2 table with 1 click can I? Pin
Vincent Maverick Durano17-Oct-16 9:07
professionalVincent Maverick Durano17-Oct-16 9:07 
GeneralRe: i want fill 2 table with 1 click can I? Pin
moj197817-Oct-16 9:13
moj197817-Oct-16 9:13 
GeneralRe: i want fill 2 table with 1 click can I? Pin
Vincent Maverick Durano17-Oct-16 9:17
professionalVincent Maverick Durano17-Oct-16 9:17 
GeneralRe: i want fill 2 table with 1 click can I? Pin
moj197817-Oct-16 9:14
moj197817-Oct-16 9:14 
AnswerRe: i want fill 2 table with 1 click can I? Pin
Wendelius17-Oct-16 9:28
mentorWendelius17-Oct-16 9:28 
GeneralRe: i want fill 2 table with 1 click can I? Pin
moj197817-Oct-16 10:28
moj197817-Oct-16 10:28 
GeneralRe: i want fill 2 table with 1 click can I? Pin
Wendelius17-Oct-16 17:05
mentorWendelius17-Oct-16 17:05 
QuestionPosting back part of a model - instead of using querystrings for filters - MVC. part of the model post back Pin
jkirkerx17-Oct-16 8:38
professionaljkirkerx17-Oct-16 8:38 
AnswerRe: Posting back part of a model - instead of using querystrings for filters - MVC. part of the model post back Pin
jkirkerx17-Oct-16 10:21
professionaljkirkerx17-Oct-16 10:21 
QuestionTracking Pin
sarwajeet singh16-Oct-16 23:42
sarwajeet singh16-Oct-16 23:42 
AnswerRe: Tracking Pin
Eddy Vluggen17-Oct-16 1:50
professionalEddy Vluggen17-Oct-16 1:50 
QuestionRe: Tracking Pin
ZurdoDev17-Oct-16 8:17
professionalZurdoDev17-Oct-16 8:17 
QuestionAnyone know how to create or seen a toggle switch with two big word/many letter selections Pin
Bootzilla3316-Oct-16 15:15
Bootzilla3316-Oct-16 15:15 
AnswerRe: Anyone know how to create or seen a toggle switch with two big word/many letter selections Pin
Richard Deeming17-Oct-16 1:52
mveRichard Deeming17-Oct-16 1:52 
Questionweb form generate html on separate pages Pin
dcof16-Oct-16 9:08
dcof16-Oct-16 9:08 
AnswerRe: web form generate html on separate pages Pin
ZurdoDev17-Oct-16 8:24
professionalZurdoDev17-Oct-16 8:24 
AnswerRe: web form generate html on separate pages Pin
ZurdoDev17-Oct-16 8:25
professionalZurdoDev17-Oct-16 8:25 

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.