Click here to Skip to main content
15,916,949 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET performance Pin
Richard MacCutchan18-Apr-13 1:48
mveRichard MacCutchan18-Apr-13 1:48 
GeneralRe: ASP.NET performance Pin
Kalim_mughal18-Apr-13 2:06
Kalim_mughal18-Apr-13 2:06 
GeneralRe: ASP.NET performance Pin
Richard MacCutchan18-Apr-13 2:10
mveRichard MacCutchan18-Apr-13 2:10 
AnswerRe: ASP.NET performance Pin
ZurdoDev18-Apr-13 2:22
professionalZurdoDev18-Apr-13 2:22 
GeneralRe: ASP.NET performance Pin
Kalim_mughal18-Apr-13 2:45
Kalim_mughal18-Apr-13 2:45 
AnswerRe: ASP.NET performance Pin
ZurdoDev18-Apr-13 2:48
professionalZurdoDev18-Apr-13 2:48 
AnswerRe: ASP.NET performance Pin
Marco Bertschi18-Apr-13 5:51
protectorMarco Bertschi18-Apr-13 5:51 
Questionparallel programming Pin
vasanth2vasu17-Apr-13 10:57
vasanth2vasu17-Apr-13 10:57 
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 

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.