Click here to Skip to main content
15,922,419 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCan any body tell me any sites or downloads for taking suppor Pin
indian1433-Jul-07 7:15
indian1433-Jul-07 7:15 
AnswerRe: Can any body tell me any sites or downloads for taking suppor Pin
leckey3-Jul-07 8:03
leckey3-Jul-07 8:03 
GeneralRe: Can any body tell me any sites or downloads for taking suppor Pin
indian1433-Jul-07 18:05
indian1433-Jul-07 18:05 
GeneralRe: Can any body tell me any sites or downloads for taking suppor Pin
Sathesh Sakthivel3-Jul-07 18:18
Sathesh Sakthivel3-Jul-07 18:18 
GeneralRe: Can any body tell me any sites or downloads for taking suppor Pin
indian1434-Jul-07 2:53
indian1434-Jul-07 2:53 
QuestionRating System? Pin
Bacanze3-Jul-07 6:31
Bacanze3-Jul-07 6:31 
Questionhow to add a new row in a grid at runtime Pin
jamesmani2k53-Jul-07 4:24
jamesmani2k53-Jul-07 4:24 
AnswerRe: how to add a new row in a grid at runtime Pin
ToddHileHoffer3-Jul-07 7:26
ToddHileHoffer3-Jul-07 7:26 
Here is what you can do. Before you bind your grid (on page load, or whenever) store you dataTable in viewstate.


//In page load<br />
ViewState["yourDataTable"] = dt;<br />
<br />
<br />
 private void Addrow()<br />
{<br />
DataTable dt = (DataTable)ViewState["yourDataTable"];<br />
<br />
 int row = 0;<br />
<br />
            while (row < dt.Rows.Count)<br />
            {<br />
<br />
                TextBox txt = (TextBox)this.GridView.Items[row].FindControl("txt");<br />
dt.Rows[row]["txtValue"] = txt.Text;<br />
                <br />
<br />
                row += 1;<br />
            }<br />
<br />
 DataRow dr;<br />
dr = dt.NewRow();<br />
dt.Rows.Add(dr);<br />
<br />
<br />
 dg.DataSource = dt;<br />
dg.DataBind();





I didn't get any requirements for the signature


GeneralRe: how to add a new row in a grid at runtime Pin
jamesmani2k53-Jul-07 19:13
jamesmani2k53-Jul-07 19:13 
Questionhow to add a new row in a grid at runtime Pin
jamesmani2k53-Jul-07 4:23
jamesmani2k53-Jul-07 4:23 
QuestionProblem with Health Monitoring (asp.net c# web app) Pin
But_Im_a_Lady3-Jul-07 3:46
But_Im_a_Lady3-Jul-07 3:46 
QuestionGet value from textbox which is bounded in Gridview Coloumn Pin
vickyshah3-Jul-07 3:42
vickyshah3-Jul-07 3:42 
AnswerRe: Get value from textbox which is bounded in Gridview Coloumn Pin
But_Im_a_Lady3-Jul-07 3:58
But_Im_a_Lady3-Jul-07 3:58 
QuestionASP.NET Pin
.NET- India 3-Jul-07 2:58
.NET- India 3-Jul-07 2:58 
AnswerRe: ASP.NET Pin
Tamimi - Code3-Jul-07 3:00
Tamimi - Code3-Jul-07 3:00 
AnswerRe: ASP.NET Pin
Sathesh Sakthivel3-Jul-07 3:02
Sathesh Sakthivel3-Jul-07 3:02 
AnswerYou've been here long enough to know better Pin
leckey3-Jul-07 3:15
leckey3-Jul-07 3:15 
AnswerRe: ASP.NET Pin
Guffa3-Jul-07 3:26
Guffa3-Jul-07 3:26 
GeneralRe: ASP.NET Pin
Fred_Smith3-Jul-07 3:32
Fred_Smith3-Jul-07 3:32 
GeneralRe: ASP.NET Pin
Tamimi - Code3-Jul-07 3:40
Tamimi - Code3-Jul-07 3:40 
GeneralRe: ASP.NET Pin
Sathesh Sakthivel3-Jul-07 4:10
Sathesh Sakthivel3-Jul-07 4:10 
GeneralRe: ASP.NET Pin
Christian Graus3-Jul-07 10:57
protectorChristian Graus3-Jul-07 10:57 
AnswerRe: ASP.NET Pin
dekart_roo3-Jul-07 5:34
dekart_roo3-Jul-07 5:34 
AnswerRe: ASP.NET Pin
Dario Solera3-Jul-07 7:21
Dario Solera3-Jul-07 7:21 
AnswerRe: ASP.NET Pin
Pete O'Hanlon3-Jul-07 9:53
mvePete O'Hanlon3-Jul-07 9:53 

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.