Click here to Skip to main content
15,891,184 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: parallel programming Pin
Rockstar_17-Apr-13 18:25
professionalRockstar_17-Apr-13 18:25 
AnswerRe: parallel programming Pin
Rockstar_17-Apr-13 18:27
professionalRockstar_17-Apr-13 18:27 
AnswerRe: parallel programming Pin
Richard MacCutchan17-Apr-13 22:41
mveRichard MacCutchan17-Apr-13 22:41 
GeneralRe: parallel programming Pin
vasanth2vasu18-Apr-13 1:24
vasanth2vasu18-Apr-13 1:24 
GeneralRe: parallel programming Pin
Richard MacCutchan18-Apr-13 1:30
mveRichard MacCutchan18-Apr-13 1:30 
GeneralRe: parallel programming Pin
vasanth2vasu18-Apr-13 1:46
vasanth2vasu18-Apr-13 1:46 
GeneralRe: parallel programming Pin
Richard MacCutchan18-Apr-13 2:08
mveRichard MacCutchan18-Apr-13 2:08 
AnswerRe: parallel programming Pin
Michael†Cheong18-Apr-13 4:36
Michael†Cheong18-Apr-13 4:36 
Quote:
string connStr = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
SqlConnection conn = new SqlConnection(connStr);
string strddl;
SqlCommand cmdddl;

Quote:
try
{
conn.Open();
strddl = "INSERT INTO Users (Username,Name,UserID,Password,UserRoles,SecurityAns) VALUES(@user,@name,@id,@pass,@roles,@Sec)";
cmdddl = new SqlCommand(strddl, conn);

cmdddl.Parameters.AddWithValue("@user", TextBox1.Text);
cmdddl.Parameters.AddWithValue("@name", TextBox2.Text);
cmdddl.Parameters.AddWithValue("@id", CID);
cmdddl.Parameters.AddWithValue("@pass", Password.Text);
cmdddl.Parameters.AddWithValue("@roles", Role);
cmdddl.Parameters.AddWithValue("@Sec", TextBox6.Text);
cmdddl.ExecuteNonQuery();


conn.Close();

}
catch (Exception ex)
{
Response.Redirect("~/ErrorPage.aspx");
}


Dun't know this code may help on u or not, for the parallel processing is mean wht? i just a newbie Big Grin | :-D
Questionabout forum source code Pin
ChandrusekarCS17-Apr-13 2:52
ChandrusekarCS17-Apr-13 2:52 
AnswerRe: about forum source code Pin
Richard MacCutchan17-Apr-13 4:35
mveRichard MacCutchan17-Apr-13 4:35 
AnswerRe: about forum source code Pin
AmitGajjar17-Apr-13 4:54
professionalAmitGajjar17-Apr-13 4:54 
QuestionPassing data to another page without receive frm database Pin
Michael†Cheong17-Apr-13 0:18
Michael†Cheong17-Apr-13 0:18 
AnswerRe: Passing data to another page without receive frm database Pin
JammoD8717-Apr-13 3:01
JammoD8717-Apr-13 3:01 
GeneralRe: Passing data to another page without receive frm database Pin
Michael†Cheong17-Apr-13 3:17
Michael†Cheong17-Apr-13 3:17 
GeneralRe: Passing data to another page without receive frm database Pin
Michael†Cheong17-Apr-13 3:46
Michael†Cheong17-Apr-13 3:46 
GeneralRe: Passing data to another page without receive frm database Pin
JammoD8717-Apr-13 4:40
JammoD8717-Apr-13 4:40 
GeneralRe: Passing data to another page without receive frm database Pin
Michael†Cheong17-Apr-13 6:55
Michael†Cheong17-Apr-13 6:55 
GeneralRe: Passing data to another page without receive frm database Pin
Rockstar_17-Apr-13 18:24
professionalRockstar_17-Apr-13 18:24 
QuestionEmail Receiving and Sending complete code in asp.net using C# Pin
Abid Hussain-(Abid)16-Apr-13 18:59
professionalAbid Hussain-(Abid)16-Apr-13 18:59 
AnswerRe: Email Receiving and Sending complete code in asp.net using C# Pin
Rockstar_16-Apr-13 19:20
professionalRockstar_16-Apr-13 19:20 
AnswerRe: Email Receiving and Sending complete code in asp.net using C# Pin
Sandeep Mewara16-Apr-13 19:47
mveSandeep Mewara16-Apr-13 19:47 
GeneralRe: Email Receiving and Sending complete code in asp.net using C# Pin
Abid Hussain-(Abid)16-Apr-13 20:16
professionalAbid Hussain-(Abid)16-Apr-13 20:16 
GeneralRe: Email Receiving and Sending complete code in asp.net using C# Pin
Richard MacCutchan16-Apr-13 21:26
mveRichard MacCutchan16-Apr-13 21:26 
AnswerRe: Email Receiving and Sending complete code in asp.net using C# Pin
Marco Bertschi16-Apr-13 22:36
protectorMarco Bertschi16-Apr-13 22:36 
QuestionCSS radioButton list Pin
Michael†Cheong16-Apr-13 6:30
Michael†Cheong16-Apr-13 6:30 

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.