Click here to Skip to main content
15,896,606 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: datatable Pin
Vimalsoft(Pty) Ltd22-Jul-09 22:50
professionalVimalsoft(Pty) Ltd22-Jul-09 22:50 
GeneralRe: datatable Pin
Malik112222-Jul-09 23:08
Malik112222-Jul-09 23:08 
GeneralRe: datatable Pin
Vimalsoft(Pty) Ltd22-Jul-09 23:15
professionalVimalsoft(Pty) Ltd22-Jul-09 23:15 
GeneralRe: datatable Pin
Malik112223-Jul-09 0:08
Malik112223-Jul-09 0:08 
GeneralRe: datatable Pin
Malik112223-Jul-09 3:05
Malik112223-Jul-09 3:05 
GeneralRe: datatable Pin
Vimalsoft(Pty) Ltd23-Jul-09 4:08
professionalVimalsoft(Pty) Ltd23-Jul-09 4:08 
AnswerRe: datatable Pin
Baran M22-Jul-09 23:41
Baran M22-Jul-09 23:41 
AnswerRe: datatable Pin
Zafar A khan 23-Jul-09 0:44
professionalZafar A khan 23-Jul-09 0:44 
Hi Malik.

Just Assign one table to other
like
DataTable dt=datatable;

if one table already contains some records and you don't want to loss that then use
the following code.

//copy tbl1 to tbl2
       public DataTable MergTables(DataTable tbl1, DataTable tbl2)
       {
           if (tbl1.Rows.Count > 0)
           {
               foreach (DataRow row in tbl1.Rows)
               {
                   DataRow newrow = tbl2.NewRow();
                   newrow["Col1"] = row["Col1"].ToString();
                   newrow["Col2"] = row["Col2"].ToString();
                   newrow["Col3"] = row["Col3"].ToString();
                   tbl2.Rows.Add(newrow);
                   tbl2.AcceptChanges();

               }
           }
           return tbl2;
       }

GeneralRe: datatable Pin
Malik112223-Jul-09 3:03
Malik112223-Jul-09 3:03 
QuestionDebugging ASP.NET web application Pin
Chesnokov Yuriy22-Jul-09 21:34
professionalChesnokov Yuriy22-Jul-09 21:34 
AnswerRe: Debugging ASP.NET web application Pin
Vimalsoft(Pty) Ltd22-Jul-09 22:51
professionalVimalsoft(Pty) Ltd22-Jul-09 22:51 
AnswerRe: Debugging ASP.NET web application Pin
Chesnokov Yuriy23-Jul-09 0:08
professionalChesnokov Yuriy23-Jul-09 0:08 
GeneralRe: Debugging ASP.NET web application Pin
Vimalsoft(Pty) Ltd23-Jul-09 0:13
professionalVimalsoft(Pty) Ltd23-Jul-09 0:13 
AnswerRe: Debugging ASP.NET web application Pin
Chesnokov Yuriy23-Jul-09 0:47
professionalChesnokov Yuriy23-Jul-09 0:47 
GeneralRe: Debugging ASP.NET web application Pin
Vimalsoft(Pty) Ltd23-Jul-09 1:01
professionalVimalsoft(Pty) Ltd23-Jul-09 1:01 
Questionupdate query Pin
mylogics22-Jul-09 21:22
professionalmylogics22-Jul-09 21:22 
AnswerRe: update query Pin
Blue_Boy22-Jul-09 21:26
Blue_Boy22-Jul-09 21:26 
GeneralRe: update query [modified] Pin
mylogics22-Jul-09 21:31
professionalmylogics22-Jul-09 21:31 
AnswerRe: update query Pin
Vimalsoft(Pty) Ltd22-Jul-09 22:15
professionalVimalsoft(Pty) Ltd22-Jul-09 22:15 
AnswerRe: update query Pin
Baran M22-Jul-09 23:38
Baran M22-Jul-09 23:38 
QuestionGoogle search API (in .Net Code) Pin
ravindarp22-Jul-09 21:14
ravindarp22-Jul-09 21:14 
AnswerRe: Google search API (in .Net Code) Pin
Manas Bhardwaj22-Jul-09 22:07
professionalManas Bhardwaj22-Jul-09 22:07 
GeneralRe: Google search API (in .Net Code) Pin
ravindarp22-Jul-09 22:30
ravindarp22-Jul-09 22:30 
GeneralRe: Google search API (in .Net Code) Pin
K030622-Jul-09 23:00
K030622-Jul-09 23:00 
GeneralRe: Google search API (in .Net Code) Pin
ravindarp22-Jul-09 23:44
ravindarp22-Jul-09 23:44 

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.