Click here to Skip to main content
11,718,002 members (79,534 online)
   

ASP.NET

 
GeneralRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
krishnavaradharajan7-Jan-13 4:23
memberkrishnavaradharajan7-Jan-13 4:23 
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
piyush_dobariya7-Jan-13 18:41
memberpiyush_dobariya7-Jan-13 18:41 
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
David Mujica8-Jan-13 3:48
memberDavid Mujica8-Jan-13 3:48 
QuestionBrowser Compatibilty Pin
ravitejapammi6-Jan-13 23:54
memberravitejapammi6-Jan-13 23:54 
AnswerRe: Browser Compatibilty Pin
Sandeep Mewara7-Jan-13 2:53
mvpSandeep Mewara7-Jan-13 2:53 
GeneralRe: Browser Compatibilty Pin
ravitejapammi17-Jan-13 20:21
memberravitejapammi17-Jan-13 20:21 
GeneralRe: Browser Compatibilty Pin
Sandeep Mewara17-Jan-13 23:50
mvpSandeep Mewara17-Jan-13 23:50 
GeneralJavaScript - window.print() not working in Android mobile browsers Pin
ravitejapammi23-Jan-13 23:08
memberravitejapammi23-Jan-13 23:08 
QuestionHow can I delete a Column of XLSX file with EPPlus in web application? Pin
cawboy_iran6-Jan-13 20:00
membercawboy_iran6-Jan-13 20:00 
AnswerRe: How can I delete a Column of XLSX file From EPPlus in web application? Pin
Sandeep Mewara6-Jan-13 21:26
mvpSandeep Mewara6-Jan-13 21:26 
GeneralRe: How can I delete a Column of XLSX file From EPPlus in web application? Pin
cawboy_iran7-Jan-13 2:48
membercawboy_iran7-Jan-13 2:48 
QuestionWoW Slider now showing the image Pin
Jassim Rahma5-Jan-13 8:06
memberJassim Rahma5-Jan-13 8:06 
AnswerRe: WoW Slider now showing the image Pin
Sandeep Mewara5-Jan-13 20:09
mvpSandeep Mewara5-Jan-13 20:09 
QuestionUnable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox Pin
amsedky5-Jan-13 1:00
memberamsedky5-Jan-13 1:00 
this is my error
i change textbox at gridview to dropdownlist (tempaltefield)

Code:
string connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=DB.mdb";
OleDbConnection con = new OleDbConnection(connString);
OleDbCommand cmd = new OleDbCommand();
cmd.CommandText = "UPDATE Pay SET pay_sup_name=@pay_sup_name,pay_value=@pay_value,pay_check_No=@pay_check_No WHERE pay_id=@pay_id";

cmd.Parameters.Add("@pay_check_No", OleDbType.VarChar).Value = ((TextBox)PayGridView.Rows[e.RowIndex].Cells[2].Controls[0]).Text;

cmd.Parameters.Add("@pay_value", OleDbType.VarChar).Value = ((TextBox)PayGridView.Rows[e.RowIndex].Cells[3].Controls[0]).Text;

cmd.Parameters.Add("@pay_sup_name", OleDbType.VarChar).Value = ((DropDownList)PayGridView.Rows[e.RowIndex].Cells[4].Controls[0]).SelectedValue;

cmd.Parameters.Add("@pay_id", OleDbType.Integer).Value = Convert.ToInt32(PayGridView.Rows[e.RowIndex].Cells[1].Text);

cmd.Connection = con;
con.Open();
cmd.ExecuteNonQuery();
con.Close();
AnswerRe: Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox Pin
Sandeep Mewara5-Jan-13 20:24
mvpSandeep Mewara5-Jan-13 20:24 
Questiondisplay animated image while save data to asp.net Pin
ashraf almashhari4-Jan-13 21:46
memberashraf almashhari4-Jan-13 21:46 
AnswerRe: display animated image while save data to asp.net Pin
Sandeep Mewara4-Jan-13 22:14
mvpSandeep Mewara4-Jan-13 22:14 
QuestionAsp.net Pin
Manjunath Hegde4-Jan-13 0:41
memberManjunath Hegde4-Jan-13 0:41 
AnswerRe: Asp.net Pin
Rahul Rajat Singh4-Jan-13 1:04
memberRahul Rajat Singh4-Jan-13 1:04 
QuestionInsert/Update/Delete Records in Dynamic Generated Textbox/Checkbox and Loop Through All Records Pin
guodl3-Jan-13 10:11
memberguodl3-Jan-13 10:11 
Questionlive update Pin
Subin Mavunkal3-Jan-13 2:23
memberSubin Mavunkal3-Jan-13 2:23 
AnswerRe: live update Pin
Keith Barrow3-Jan-13 2:46
mentorKeith Barrow3-Jan-13 2:46 
AnswerRe: live update Pin
Rahul Rajat Singh3-Jan-13 22:04
memberRahul Rajat Singh3-Jan-13 22:04 
QuestionHow to populate WoW Slider from database Pin
Jassim Rahma1-Jan-13 8:32
memberJassim Rahma1-Jan-13 8:32 
QuestionUmbarco or Joomla? Pin
Jassim Rahma31-Dec-12 23:58
memberJassim Rahma31-Dec-12 23:58 
AnswerRe: Umbarco or Joomla? Pin
Rahul Rajat Singh3-Jan-13 21:51
memberRahul Rajat Singh3-Jan-13 21:51 
AnswerRe: Umbarco or Joomla? Pin
deflinek8-Jan-13 2:55
memberdeflinek8-Jan-13 2:55 
QuestionSlideShow Control Pin
cdpsource31-Dec-12 1:19
membercdpsource31-Dec-12 1:19 
AnswerRe: SlideShow Control Pin
jkirkerx31-Dec-12 10:23
memberjkirkerx31-Dec-12 10:23 
GeneralRe: SlideShow Control Pin
cdpsource31-Dec-12 23:41
membercdpsource31-Dec-12 23:41 
AnswerRe: SlideShow Control Pin
jkirkerx1-Jan-13 10:31
memberjkirkerx1-Jan-13 10:31 
GeneralRe: SlideShow Control Pin
@AmitGajjar1-Jan-13 6:41
member@AmitGajjar1-Jan-13 6:41 
GeneralRe: SlideShow Control Pin
cdpsource1-Jan-13 9:35
membercdpsource1-Jan-13 9:35 
Questioni hv registerd in free web hostin website and i create an empty website... Pin
syedkhaleel30-Dec-12 23:24
membersyedkhaleel30-Dec-12 23:24 
AnswerRe: i hv registerd in free web hostin website and i create an empty website... Pin
_Amy31-Dec-12 17:47
member_Amy31-Dec-12 17:47 
AnswerRe: i hv registerd in free web hostin website and i create an empty website... Pin
@AmitGajjar1-Jan-13 6:43
member@AmitGajjar1-Jan-13 6:43 
Questionregistration form Pin
khusali30-Dec-12 21:39
memberkhusali30-Dec-12 21:39 
AnswerRe: registration form Pin
_Amy31-Dec-12 17:45
member_Amy31-Dec-12 17:45 
AnswerRe: registration form Pin
@AmitGajjar1-Jan-13 6:55
member@AmitGajjar1-Jan-13 6:55 
AnswerRe: registration form Pin
Rahul Rajat Singh3-Jan-13 21:53
memberRahul Rajat Singh3-Jan-13 21:53 
QuestionSlider control in SSRS Pin
Sanjeewan9929-Dec-12 18:28
memberSanjeewan9929-Dec-12 18:28 
Questionadvertising platform...? Pin
Jassim Rahma29-Dec-12 9:24
memberJassim Rahma29-Dec-12 9:24 
GeneralRe: advertising platform...? Pin
jkirkerx30-Dec-12 13:38
memberjkirkerx30-Dec-12 13:38 
QuestionFile Upload Component...? Pin
Jassim Rahma28-Dec-12 9:44
memberJassim Rahma28-Dec-12 9:44 
AnswerRe: File Upload Component...? Pin
Sandeep Mewara28-Dec-12 21:14
mvpSandeep Mewara28-Dec-12 21:14 
QuestionCan we make a application to update FB status? Pin
anubhaw.gupta28-Dec-12 6:18
memberanubhaw.gupta28-Dec-12 6:18 
AnswerRe: Can we make a application to update FB status? Pin
Sandeep Mewara28-Dec-12 21:10
mvpSandeep Mewara28-Dec-12 21:10 
QuestionLive Streaming Broadcasting Pin
AhmedYehiaK28-Dec-12 3:19
memberAhmedYehiaK28-Dec-12 3:19 
AnswerRe: Live Streaming Broadcasting Pin
Sandeep Mewara28-Dec-12 21:05
mvpSandeep Mewara28-Dec-12 21:05 
GeneralRe: Live Streaming Broadcasting Pin
AhmedYehiaK29-Dec-12 0:03
memberAhmedYehiaK29-Dec-12 0:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 3 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid