Click here to Skip to main content
15,914,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to stop save a page in history of client computer [modified] Pin
findtango9-Aug-06 20:18
findtango9-Aug-06 20:18 
AnswerRe: how to stop save a page in history of client computer Pin
_AK_9-Aug-06 20:48
_AK_9-Aug-06 20:48 
Questionset focus in asp.net 1.1 with vb.net Pin
amaneet9-Aug-06 19:27
amaneet9-Aug-06 19:27 
AnswerRe: set focus in asp.net 1.1 with vb.net Pin
_AK_9-Aug-06 20:43
_AK_9-Aug-06 20:43 
GeneralRe: set focus in asp.net 1.1 with vb.net Pin
amaneet9-Aug-06 21:32
amaneet9-Aug-06 21:32 
GeneralRe: set focus in asp.net 1.1 with vb.net Pin
_AK_9-Aug-06 21:35
_AK_9-Aug-06 21:35 
AnswerRe: set focus in asp.net 1.1 with vb.net Pin
RaghuSanta21-Aug-06 22:10
RaghuSanta21-Aug-06 22:10 
QuestionGridview after update Pin
kjosh9-Aug-06 17:52
kjosh9-Aug-06 17:52 
Hi,
I have a gridview with Edit.After updating gridview again i binddata().
protected void GridView1_RowUpdating(Object sender, GridViewUpdateEventArgs e)
{
int qty;
int p;
int c;
qty = Convert.ToInt32(((TextBox)GridView1.Rows[e.RowIndex].FindControl("TextBox1")).Text);
Label t = (Label)GridView1.Rows[e.RowIndex].FindControl("Label4");
c = Convert.ToInt32(t.Text);
//c = Convert.ToInt32(((TextBox)GridView1.Rows[e.RowIndex].FindControl("TextBox4")).Text);
p = Convert.ToInt32(((Label)GridView1.Rows[e.RowIndex].FindControl("Label5")).Text);
shopcart.updatecartitems(c, p, qty);

binddata();

For BindData() code is
void binddata()
{

int i = Convert.ToInt32(Session["cartid"]);
DataSet ds = shopcart.getitemsfromcart(i);
GridView1.DataSource = ds;
GridView1.DataBind();
}

after updating even iam binding new data to gridview the row is still displaying textbox(with empty)In database the row is updated.but gridview binding not displaying updated data.Gridview displaying textbox with empty.
After editing any command is there like endedit.
Please help me.
Thanks in advance
AnswerRe: Gridview after update Pin
Mohamed El Gohary9-Aug-06 20:54
Mohamed El Gohary9-Aug-06 20:54 
QuestionHow to get data from database with the date range Pin
ypsyong9-Aug-06 16:19
ypsyong9-Aug-06 16:19 
AnswerRe: How to get data from database with the date range Pin
enjoycrack9-Aug-06 17:00
enjoycrack9-Aug-06 17:00 
QuestionHow to flush database table Pin
ypsyong9-Aug-06 15:40
ypsyong9-Aug-06 15:40 
AnswerRe: How to flush database table Pin
enjoycrack9-Aug-06 17:02
enjoycrack9-Aug-06 17:02 
GeneralRe: How to flush database table Pin
ypsyong9-Aug-06 19:21
ypsyong9-Aug-06 19:21 
GeneralRe: How to flush database table Pin
enjoycrack10-Aug-06 4:48
enjoycrack10-Aug-06 4:48 
QuestionEditing a column in GridView Pin
kjosh9-Aug-06 13:49
kjosh9-Aug-06 13:49 
AnswerRe: Editing a column in GridView Pin
Not Active9-Aug-06 15:05
mentorNot Active9-Aug-06 15:05 
QuestionUser control - when and why?? Pin
Shilpa19-Aug-06 11:15
Shilpa19-Aug-06 11:15 
AnswerRe: User control - when and why?? Pin
Mike Ellison9-Aug-06 11:20
Mike Ellison9-Aug-06 11:20 
GeneralRe: User control - when and why?? Pin
Shilpa19-Aug-06 11:23
Shilpa19-Aug-06 11:23 
GeneralRe: User control - when and why?? Pin
Mike Ellison9-Aug-06 11:25
Mike Ellison9-Aug-06 11:25 
GeneralRe: User control - when and why?? [modified] Pin
Shilpa19-Aug-06 11:27
Shilpa19-Aug-06 11:27 
GeneralRe: User control - when and why?? Pin
Mike Ellison9-Aug-06 11:46
Mike Ellison9-Aug-06 11:46 
GeneralRe: User control - when and why?? Pin
Shilpa19-Aug-06 11:57
Shilpa19-Aug-06 11:57 
GeneralRe: User control - when and why?? Pin
Christian Graus9-Aug-06 11:56
protectorChristian Graus9-Aug-06 11:56 

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.