Click here to Skip to main content
15,887,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: problem with datetime datatype of sqlserver 2005 using asp.net Pin
Arindam Tewary30-Mar-10 19:25
professionalArindam Tewary30-Mar-10 19:25 
AnswerRe: problem with datetime datatype of sqlserver 2005 using asp.net Pin
Dinesh Mani30-Mar-10 20:16
Dinesh Mani30-Mar-10 20:16 
GeneralRe: problem with datetime datatype of sqlserver 2005 using asp.net Pin
ships_agr31-Mar-10 3:50
ships_agr31-Mar-10 3:50 
Questionrepeater control Pin
test-0930-Mar-10 18:26
test-0930-Mar-10 18:26 
AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:02
Arun Jacob30-Mar-10 20:02 
GeneralRe: repeater control Pin
test-0930-Mar-10 20:10
test-0930-Mar-10 20:10 
AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:12
Arun Jacob30-Mar-10 20:12 
GeneralRe: repeater control Pin
test-0930-Mar-10 20:19
test-0930-Mar-10 20:19 
this is how im adding new row...

private void adddescription()
   {
       int rowIndex = 0;


             if (ViewState["CurrentTable"] != null)
             {
                 //DataTable dtCurrentTable = (DataTable)ViewState["CurrentTable"];
                 dtDesc = (DataTable)ViewState["CurrentTable"];
                 DataRow drCurrentRow = dtDesc.NewRow();
                 if (dtDesc.Rows.Count > 0)
                 {
                     for (int i = 1; i <= dtDesc.Rows.Count; i++)
                     {
                         //extract the TextBox values
                         TextBox box1 = (TextBox)Rptdescription.Items[rowIndex].FindControl("TextName");
                         TextBox box2 = (TextBox)Rptdescription.Items[rowIndex].FindControl("TextDate");
                         TextBox box3 = (TextBox)Rptdescription.Items[rowIndex].FindControl("TextDescript");
                         drCurrentRow = dtDesc.NewRow();
                         drCurrentRow["RowNumber"] = i ;
                         ViewState["RowNumber"] = drCurrentRow["RowNumber"];
                         Label1.Text = ViewState["RowNumber"].ToString();
                         dtDesc.Rows[i - 1]["DescriptionName"] = box1.Text;
                         dtDesc.Rows[i - 1]["Date"] = box2.Text;
                         dtDesc.Rows[i - 1]["Description"] = box3.Text;
                         rowIndex++;
                     }
                     dtDesc.Rows.Add(drCurrentRow);
                   //  ViewState["CurrentTable"] = dtDesc;
                 }
                 else
                 {
                     dtDesc = (DataTable)ViewState["CurrentTable"];
                     // dtDesc = (DataTable)ViewState["CurrentTable"];
                     DataRow descRow = dtDesc.NewRow();
                     //  descRow["ProjectID"] = dtDesc.Rows.Count + 1;
                     descRow["DescriptionName"] = "";
                     descRow["Date"] = "";
                     descRow["Description"] = "";
                     dtDesc.Rows.Add(descRow);
                   //  ViewState["CurrentTable"] = dtDesc;
                 }
             }
             Bindrepeater();
   }

AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:23
Arun Jacob30-Mar-10 20:23 
GeneralRe: repeater control Pin
test-0930-Mar-10 20:46
test-0930-Mar-10 20:46 
AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:53
Arun Jacob30-Mar-10 20:53 
GeneralRe: repeater control Pin
test-0930-Mar-10 21:03
test-0930-Mar-10 21:03 
GeneralRe: repeater control Pin
Arindam Tewary30-Mar-10 21:15
professionalArindam Tewary30-Mar-10 21:15 
Questionusing javascript to create seat chart Pin
ships_agr30-Mar-10 18:15
ships_agr30-Mar-10 18:15 
AnswerRe: using javascript to create seat chart Pin
sashidhar30-Mar-10 23:34
sashidhar30-Mar-10 23:34 
GeneralRe: using javascript to create seat chart [modified] Pin
ships_agr31-Mar-10 3:48
ships_agr31-Mar-10 3:48 
GeneralRe: using javascript to create seat chart Pin
sashidhar31-Mar-10 19:39
sashidhar31-Mar-10 19:39 
GeneralRe: using javascript to create seat chart Pin
ships_agr1-Apr-10 3:32
ships_agr1-Apr-10 3:32 
GeneralRe: using javascript to create seat chart(i tried nd presenting the code here) Pin
ships_agr1-Apr-10 5:21
ships_agr1-Apr-10 5:21 
GeneralRe: using javascript to create seat chart(i tried nd presenting the code here) Pin
ships_agr1-Apr-10 5:26
ships_agr1-Apr-10 5:26 
QuestionReg IIS Pin
sowjanya330-Mar-10 17:48
sowjanya330-Mar-10 17:48 
AnswerRe: Reg IIS Pin
Arindam Tewary30-Mar-10 19:31
professionalArindam Tewary30-Mar-10 19:31 
GeneralRe: Reg IIS Pin
sowjanya331-Mar-10 23:37
sowjanya331-Mar-10 23:37 
AnswerRe: Reg IIS Pin
sowjanya330-Mar-10 21:27
sowjanya330-Mar-10 21:27 
Questiondialog box on if condition Pin
ships_agr30-Mar-10 9:23
ships_agr30-Mar-10 9:23 

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.