Click here to Skip to main content
15,877,675 members
Home / Discussions / C#
   

C#

 
GeneralRe: Open New Mail Pin
Not Active28-Sep-09 5:07
mentorNot Active28-Sep-09 5:07 
GeneralRe: Open New Mail Pin
tamir90128-Sep-09 5:28
tamir90128-Sep-09 5:28 
GeneralRe: Open New Mail Pin
Not Active28-Sep-09 5:54
mentorNot Active28-Sep-09 5:54 
GeneralRe: Open New Mail Pin
tamir90128-Sep-09 9:49
tamir90128-Sep-09 9:49 
QuestionRSA big numbers computation -> raise to power, how?. Pin
AWriter28-Sep-09 3:37
AWriter28-Sep-09 3:37 
AnswerRe: RSA big numbers computation -> raise to power, how?. Pin
Henry Minute28-Sep-09 5:04
Henry Minute28-Sep-09 5:04 
GeneralRe: RSA big numbers computation -> raise to power, how?. Pin
AWriter28-Sep-09 20:54
AWriter28-Sep-09 20:54 
Questionusing data Adater to save in acess db, c# - update 3 tables Pin
TGiril28-Sep-09 2:53
TGiril28-Sep-09 2:53 
Hi All
I have loaded 3tabes to my application. after the work is done, I wasnt to save it all.
using foreach(is there a better way?) I recreated from my different class objects 3 datatables.

now I have the tables, I think I added them to new ds
DataSet ds= new DataSet();
ds.Tables.Add(emp);
ds.Tables.Add(managers);
ds.Tables.Add(empToManagers);

did I do it write?
no my main question: in my db , I have 3 tables. some of the lines has been changed, deleted or some lines are new. what is the best way to update the db, without checking every line my self, I tried and got lost with the sql.
someone tokd me I can use adapter, but how?

(when I open th data, It is easy to se adapter
public DataSet GetDataSet(string tblName, string sql, DataSet ds)
{
adapter.SelectCommand.CommandText = sql;
adapter.Fill(ds, tblName);
return ds;
}
)

tnx
AnswerRepeating the question won't change the answer Pin
Not Active28-Sep-09 3:48
mentorNot Active28-Sep-09 3:48 
Questionproblem with datetime in sqlCE Pin
E_Gold28-Sep-09 1:23
E_Gold28-Sep-09 1:23 
AnswerRe: problem with datetime in sqlCE Pin
Ashfield28-Sep-09 1:31
Ashfield28-Sep-09 1:31 
AnswerRe: problem with datetime in sqlCE Pin
Eddy Vluggen28-Sep-09 1:52
professionalEddy Vluggen28-Sep-09 1:52 
Questionhi need some suggestion regaurding my project Pin
srichakram_harsha28-Sep-09 1:01
srichakram_harsha28-Sep-09 1:01 
AnswerRe: hi need some suggestion regaurding my project Pin
Pete O'Hanlon28-Sep-09 1:17
mvePete O'Hanlon28-Sep-09 1:17 
AnswerRe: hi need some suggestion regaurding my project Pin
musefan28-Sep-09 1:56
musefan28-Sep-09 1:56 
GeneralRe: hi need some suggestion regaurding my project Pin
J4amieC28-Sep-09 2:31
J4amieC28-Sep-09 2:31 
GeneralRe: hi need some suggestion regaurding my project Pin
musefan28-Sep-09 2:44
musefan28-Sep-09 2:44 
GeneralRe: hi need some suggestion regaurding my project Pin
Richard MacCutchan28-Sep-09 3:42
mveRichard MacCutchan28-Sep-09 3:42 
Questionwhat is the best and the short way to limit textbox for only numbers Pin
E_Gold27-Sep-09 21:17
E_Gold27-Sep-09 21:17 
AnswerRe: what is the best and the short way to limit textbox for only numbers Pin
Sachin Dubey27-Sep-09 21:23
Sachin Dubey27-Sep-09 21:23 
AnswerRe: what is the best and the short way to limit textbox for only numbers Pin
Abhijit Jana27-Sep-09 21:23
professionalAbhijit Jana27-Sep-09 21:23 
AnswerRe: what is the best and the short way to limit textbox for only numbers Pin
DaveyM6927-Sep-09 22:04
professionalDaveyM6927-Sep-09 22:04 
AnswerRe: what is the best and the short way to limit textbox for only numbers Pin
molesworth27-Sep-09 23:33
molesworth27-Sep-09 23:33 
QuestionStartupMode for Services Pin
Vijjuuu.27-Sep-09 20:58
Vijjuuu.27-Sep-09 20:58 
AnswerRe: StartupMode for Services Pin
Abhijit Jana27-Sep-09 21:20
professionalAbhijit Jana27-Sep-09 21:20 

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.