Click here to Skip to main content
15,893,814 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: drag and drop element with javascript !!!!!!!!!!!! Pin
Michael Sync19-Aug-07 4:59
Michael Sync19-Aug-07 4:59 
AnswerRe: drag and drop element with javascript !!!!!!!!!!!! Pin
Not Active19-Aug-07 5:00
mentorNot Active19-Aug-07 5:00 
QuestionDataList Edit and Update please help very urgent.. Pin
bijeshputhalath19-Aug-07 1:32
bijeshputhalath19-Aug-07 1:32 
AnswerRe: DataList Edit and Update please help very urgent.. [modified] Pin
John-ph19-Aug-07 4:51
John-ph19-Aug-07 4:51 
AnswerRe: DataList Edit and Update please help very urgent.. Pin
Michael Sync19-Aug-07 4:53
Michael Sync19-Aug-07 4:53 
QuestionHttpWebRequest in medium trust Pin
daniel__c18-Aug-07 21:40
daniel__c18-Aug-07 21:40 
QuestionUpdate in GridView Pin
ksaw12318-Aug-07 20:54
ksaw12318-Aug-07 20:54 
AnswerRe: Update in GridView Pin
Milind Panchal18-Aug-07 21:31
Milind Panchal18-Aug-07 21:31 
constring = System.Configuration.ConfigurationManager.AppSettings["conString"];
con = new SqlConnection(constring);

Label Label1 = (Label)GridView1.Rows[e.RowIndex].Cells[0].FindControl("Label1");
TextBox txtFname = (TextBox)GridView1.Rows[e.RowIndex].Cells[1].FindControl("txtFname");
TextBox txtLname = (TextBox)GridView1.Rows[e.RowIndex].Cells[2].FindControl("txtLname");
TextBox txtAddress = (TextBox)GridView1.Rows[e.RowIndex].Cells[3].FindControl("txtAddress");
TextBox txtPhone = (TextBox)GridView1.Rows[e.RowIndex].Cells[4].FindControl("txtPhone");
cmd = new SqlCommand("Update Employee set(Fname,Lname,Address,Phone)values(@Fname,@Lname,@Address,@Phone)",con);
cmd.Parameters.AddWithValue("@Fname",txtFname.Text);
cmd.Parameters.AddWithValue("@Lname", txtLname.Text);
cmd.Parameters.AddWithValue("@Address", txtAddress.Text);
cmd.Parameters.AddWithValue("@Phone", txtPhone.Text);
con.Open();
dr = cmd.ExecuteReader(CommandBehavior.CloseConnection);

if (dr.Read())
lblmsg.Text = "Record has been successfully updated";
else
lblmsg.Text = "";
con.Close();
GeneralRe: Update in GridView Pin
ksaw12319-Aug-07 22:17
ksaw12319-Aug-07 22:17 
QuestionGridview Pin
Milind Panchal18-Aug-07 19:38
Milind Panchal18-Aug-07 19:38 
AnswerRe: Gridview Pin
#realJSOP19-Aug-07 1:57
mve#realJSOP19-Aug-07 1:57 
QuestionError Handling issue Pin
chris_wanaka18-Aug-07 17:45
chris_wanaka18-Aug-07 17:45 
QuestionASPX pages don't work after deployment Pin
ASPnoob18-Aug-07 12:36
ASPnoob18-Aug-07 12:36 
AnswerRe: ASPX pages don't work after deployment Pin
Christian Graus18-Aug-07 12:53
protectorChristian Graus18-Aug-07 12:53 
Questionsitemap/menu Pin
M.V18-Aug-07 8:15
M.V18-Aug-07 8:15 
QuestionDropdown list and TabeAdapter Pin
#realJSOP18-Aug-07 8:01
mve#realJSOP18-Aug-07 8:01 
AnswerRe: Dropdown list and TabeAdapter Pin
Michael Sync18-Aug-07 8:11
Michael Sync18-Aug-07 8:11 
GeneralRe: Dropdown list and TabeAdapter Pin
#realJSOP18-Aug-07 8:50
mve#realJSOP18-Aug-07 8:50 
AnswerRe: Dropdown list and TabeAdapter Pin
DavidNohejl18-Aug-07 8:24
DavidNohejl18-Aug-07 8:24 
GeneralRe: Dropdown list and TabeAdapter Pin
Not Active18-Aug-07 10:28
mentorNot Active18-Aug-07 10:28 
GeneralRe: Dropdown list and TabeAdapter Pin
DavidNohejl18-Aug-07 10:30
DavidNohejl18-Aug-07 10:30 
GeneralRe: Dropdown list and TabeAdapter Pin
Not Active18-Aug-07 15:21
mentorNot Active18-Aug-07 15:21 
GeneralRe: Dropdown list and TabeAdapter Pin
DavidNohejl19-Aug-07 2:13
DavidNohejl19-Aug-07 2:13 
QuestionHow to set CSS class to tbody of GridView? Pin
Michael Sync18-Aug-07 7:52
Michael Sync18-Aug-07 7:52 
AnswerRe: How to set CSS class to tbody of GridView? Pin
Michael Sync18-Aug-07 20:48
Michael Sync18-Aug-07 20:48 

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.