Click here to Skip to main content
15,898,538 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 22:06
professionalAnurag Gandhi8-Feb-11 22:06 
GeneralRe: bound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 22:41
C#Coudou8-Feb-11 22:41 
GeneralRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 22:54
professionalAnurag Gandhi8-Feb-11 22:54 
QuestionCheckbox inside gridview. Pin
fififlowertot8-Feb-11 0:04
fififlowertot8-Feb-11 0:04 
AnswerRe: Checkbox inside gridview. Pin
Vimalsoft(Pty) Ltd8-Feb-11 20:10
professionalVimalsoft(Pty) Ltd8-Feb-11 20:10 
GeneralRe: Checkbox inside gridview. Pin
fififlowertot9-Feb-11 0:03
fififlowertot9-Feb-11 0:03 
GeneralRe: Checkbox inside gridview. Pin
Vimalsoft(Pty) Ltd9-Feb-11 19:14
professionalVimalsoft(Pty) Ltd9-Feb-11 19:14 
Questionfind runtime textbox value from grid Pin
Sneha Bisht7-Feb-11 19:52
Sneha Bisht7-Feb-11 19:52 
I create a gridview with runtime columns. after that add textbox in this column.
Here the code.
protected void grdOne_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
TemplateField T = new TemplateField();
grdOne.Columns.Add(T);
GridViewRow gvr = e.Row;
TableCell tcell = new TableCell();
for (Int32 i = 0; i < columnCounter; i++)
{
TextBox tb = new TextBox();
tb.Width = 30; tb.Text = "0";
tb.ID = "tb_" + i.ToString();
tcell.Controls.Add(tb);
}
gvr.Cells.Add(tcell);
grdOne.Controls[0].Controls.AddAt(0, gvr);


}


}

But when i fetch textbox value from this grid that comes with error.
can any one tell me how to fetch textbox value from my grid
m using these line of code to fetch textbox values

public void GetArray(GridView grd)
{
String[,] ar = new String[rowCounter, columnCounter];
for (int i = 0; i < grd.Rows.Count; i++)
{
for( int j=1; j<= grd.Columns.Count; j++)
{
String tId = "grdOne_ctl03_tb_" + j.ToString();
String t = ((DataControlFieldCell)(grd.Rows[i].FindControl()).text;
}

}
}
AnswerRe: find runtime textbox value from grid Pin
Parwej Ahamad8-Feb-11 0:08
professionalParwej Ahamad8-Feb-11 0:08 
QuestionHow can I get Session value in c#? Pin
buffering836-Feb-11 12:49
buffering836-Feb-11 12:49 
AnswerRe: How can I get Session value in c#? Pin
Shujaat Gul6-Feb-11 20:15
Shujaat Gul6-Feb-11 20:15 
AnswerRe: How can I get Session value in c#? Pin
Vimalsoft(Pty) Ltd7-Feb-11 20:15
professionalVimalsoft(Pty) Ltd7-Feb-11 20:15 
AnswerRe: How can I get Session value in c#? Pin
Ravi Sant3-May-11 0:20
Ravi Sant3-May-11 0:20 
Questionstrange box characters Pin
mnemonic696-Feb-11 2:29
mnemonic696-Feb-11 2:29 
AnswerRe: strange box characters Pin
Dhyanga7-Feb-11 6:14
Dhyanga7-Feb-11 6:14 
QuestionASP.NET+VB (LOGIN TO WEB SITE) Pin
Mujibulhaq5-Feb-11 20:00
Mujibulhaq5-Feb-11 20:00 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Sandeep Mewara6-Feb-11 6:52
mveSandeep Mewara6-Feb-11 6:52 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Vimalsoft(Pty) Ltd8-Feb-11 20:19
professionalVimalsoft(Pty) Ltd8-Feb-11 20:19 
QuestionI want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Nadia Monalisa4-Feb-11 17:30
Nadia Monalisa4-Feb-11 17:30 
AnswerRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Shahriar Iqbal Chowdhury/Galib6-Feb-11 9:04
professionalShahriar Iqbal Chowdhury/Galib6-Feb-11 9:04 
GeneralRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Nadia Monalisa6-Feb-11 10:22
Nadia Monalisa6-Feb-11 10:22 
GeneralRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Not Active6-Feb-11 11:27
mentorNot Active6-Feb-11 11:27 
QuestionASP.NET development on Mac OS X Pin
Paul Watson4-Feb-11 7:51
sitebuilderPaul Watson4-Feb-11 7:51 
AnswerRe: ASP.NET development on Mac OS X Pin
Eaverae10-Feb-11 4:50
Eaverae10-Feb-11 4:50 
GeneralRe: ASP.NET development on Mac OS X Pin
Paul Watson10-Feb-11 7:05
sitebuilderPaul Watson10-Feb-11 7:05 

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.