Click here to Skip to main content
15,890,690 members
Home / Discussions / C#
   

C#

 
GeneralSql Server CE - Replication Pin
pat27088126-Sep-04 21:56
pat27088126-Sep-04 21:56 
GeneralGeneric Logging on PocketPc Pin
mathon26-Sep-04 21:42
mathon26-Sep-04 21:42 
GeneralRe: Generic Logging on PocketPc Pin
Dave Kreskowiak27-Sep-04 4:23
mveDave Kreskowiak27-Sep-04 4:23 
QuestionFluid UI Toolkit??? Pin
Agent 8626-Sep-04 20:57
Agent 8626-Sep-04 20:57 
AnswerRe: Fluid UI Toolkit??? Pin
sreejith ss nair26-Sep-04 21:03
sreejith ss nair26-Sep-04 21:03 
GeneralRe: Fluid UI Toolkit??? Pin
Agent 8627-Sep-04 6:10
Agent 8627-Sep-04 6:10 
GeneralI realy need help ! Pin
Sakkijha26-Sep-04 20:33
Sakkijha26-Sep-04 20:33 
GeneralRe: I realy need help ! Pin
sreejith ss nair26-Sep-04 20:55
sreejith ss nair26-Sep-04 20:55 
hi,

Your doubt is still there. See it's a matter of logic. Try to figurout some logic to achive. Don't cry like this Cry | :(( . Be happy and bold.Blush | :O

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace namespaceName
{

public class Form1 : System.Windows.Forms.Form
{
private DataSet Dataset;
private System.Windows.Forms.Button button1;
private System.ComponentModel.Container components = null;

public Form1()
{

InitializeComponent();
}

private void addRC()
{
//Write code block which will create dataset with records.
// Say your dataset name here is addRCDataSet
this.Dataset=addRCDataSet.Clone();
}

private void button1_Click(object sender, System.EventArgs e)
{
DataTable Dtable=Dataset.Tables["YourTable"].Copy();

DataRow Dtr=Dtable.NewRow();

Dtr["xxxx"]="ha ha";
Dtr["yyyy"]="hi hi";
Dtr["zzzz"]="ho ho";

Dtable.Rows.Add(Dtr);

//After adding what ever rows you want

Dataset.Tables.Remove("YourTable");
Dataset.Tables.Add(Dtable);


}
}
}


**************************
S r e e j i t h N a i r
**************************
GeneralRe: I realy need help ! Pin
Sakkijha26-Sep-04 21:07
Sakkijha26-Sep-04 21:07 
GeneralRe: I realy need help ! Pin
sreejith ss nair26-Sep-04 21:20
sreejith ss nair26-Sep-04 21:20 
GeneralRe: I realy need help ! Pin
Sakkijha26-Sep-04 21:28
Sakkijha26-Sep-04 21:28 
GeneralRe: I realy need help ! Pin
sreejith ss nair26-Sep-04 21:35
sreejith ss nair26-Sep-04 21:35 
GeneralRe: I realy need help ! Pin
Sakkijha26-Sep-04 21:41
Sakkijha26-Sep-04 21:41 
GeneralRe: I realy need help ! Pin
sreejith ss nair26-Sep-04 22:17
sreejith ss nair26-Sep-04 22:17 
GeneralRe: I realy need help ! Pin
Sakkijha26-Sep-04 23:07
Sakkijha26-Sep-04 23:07 
GeneralRe: I realy need help ! Pin
sreejith ss nair26-Sep-04 23:16
sreejith ss nair26-Sep-04 23:16 
GeneralConfirm delete on DataGrid Pin
Reinier van de Wetering26-Sep-04 19:51
Reinier van de Wetering26-Sep-04 19:51 
GeneralRe: Confirm delete on DataGrid Pin
Rob Koval26-Sep-04 20:13
Rob Koval26-Sep-04 20:13 
GeneralRe: Confirm delete on DataGrid Pin
Reinier van de Wetering26-Sep-04 22:04
Reinier van de Wetering26-Sep-04 22:04 
GeneralRe: Confirm delete on DataGrid Pin
Syed Abdul Khader26-Sep-04 21:06
Syed Abdul Khader26-Sep-04 21:06 
QuestionHow can I get the code coverage tool? Pin
Colinyin26-Sep-04 18:08
Colinyin26-Sep-04 18:08 
AnswerRe: How can I get the code coverage tool? Pin
leppie26-Sep-04 22:00
leppie26-Sep-04 22:00 
GeneralRe: How can I get the code coverage tool? Pin
Colinyin26-Sep-04 22:44
Colinyin26-Sep-04 22:44 
Generaldouble buffering Pin
Cyrilmo26-Sep-04 17:10
Cyrilmo26-Sep-04 17:10 
GeneralRe: double buffering Pin
Alex Korchemniy26-Sep-04 17:21
Alex Korchemniy26-Sep-04 17:21 

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.