Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
leppie6-Mar-03 21:19
leppie6-Mar-03 21:19 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Nish Nishant7-Mar-03 3:17
sitebuilderNish Nishant7-Mar-03 3:17 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Kannan Kalyanaraman6-Mar-03 23:09
Kannan Kalyanaraman6-Mar-03 23:09 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Nish Nishant7-Mar-03 3:15
sitebuilderNish Nishant7-Mar-03 3:15 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Kannan Kalyanaraman7-Mar-03 15:50
Kannan Kalyanaraman7-Mar-03 15:50 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Richard Deeming7-Mar-03 4:51
mveRichard Deeming7-Mar-03 4:51 
GeneralThat frassin brassin adapter Pin
stephen.hazel6-Mar-03 17:04
stephen.hazel6-Mar-03 17:04 
GeneralRe: That frassin brassin adapter Pin
Paul Riley7-Mar-03 3:16
Paul Riley7-Mar-03 3:16 
Steve Hazel wrote:
But I wanna:
1) hide the ugly key column
2) be able to update ideally without the dang uniqueidentifier column.
(don't need to insert or delete)


Make the column .Visible=false?

Steve Hazel wrote:
What all do I need to build my own SqlDataAdapter thingy?

I make all my DataAdapters in-line now. Think along these lines...
using (SqlDataAdapter sqlDa = new SqlDataAdapter("SELECT foo FROM MyTable", sqlConn))
{
	sqlDa.Fill(myDataSet.myTable);

	// ... processing here ...

	using (SqlCommandBuilder sqlCb = new SqlCommandBuilder(sqlDa))
		sqlDa.Update(myDataSet.myTable);
}
Steve Hazel wrote:
Do I have to use a SqlCommandBuilder thingy?

Not if you want to build the update commands manually, but as you can see above, it's not that complicated.

The CommandBuilder sets itself up as a listener for .Update commands on the given DataAdapter. Then (as its name suggests) it builds the essential commands for the updates you want to do.

Paul
We all will feed the worms and trees
So don't be shy
- Queens of the Stone Age, Mosquito Song

GeneralFlash Windows in C# Pin
Member 1609886-Mar-03 16:57
Member 1609886-Mar-03 16:57 
GeneralHelp: Save data back to MS Access DB Pin
DionChen6-Mar-03 10:55
DionChen6-Mar-03 10:55 
QuestionBackspace not handled -- use TranslateAcceleratorIO? Pin
Arun Bhalla6-Mar-03 10:49
Arun Bhalla6-Mar-03 10:49 
GeneralNo long able to debug Pin
monrobot136-Mar-03 10:48
monrobot136-Mar-03 10:48 
GeneralRe: No long able to debug Pin
Danny Blanchard6-Mar-03 11:04
Danny Blanchard6-Mar-03 11:04 
GeneralRe: No long able to debug Pin
monrobot136-Mar-03 12:42
monrobot136-Mar-03 12:42 
GeneralRe: No long able to debug Pin
leppie6-Mar-03 11:07
leppie6-Mar-03 11:07 
GeneralText Changed in WinForm Datagrid cell Pin
DionChen6-Mar-03 9:50
DionChen6-Mar-03 9:50 
QuestionMain menu in a form in a control? Pin
Arun Bhalla6-Mar-03 9:08
Arun Bhalla6-Mar-03 9:08 
AnswerRe: Main menu in a form in a control? Pin
Arun Bhalla6-Mar-03 9:25
Arun Bhalla6-Mar-03 9:25 
QuestionWhats with the big .net download? Pin
_Ace_6-Mar-03 7:50
_Ace_6-Mar-03 7:50 
AnswerRe: Whats with the big .net download? Pin
Paul Watson6-Mar-03 8:18
sitebuilderPaul Watson6-Mar-03 8:18 
AnswerRe: Whats with the big .net download? Pin
Nemanja Trifunovic6-Mar-03 8:59
Nemanja Trifunovic6-Mar-03 8:59 
AnswerRe: Whats with the big .net download? Pin
leppie6-Mar-03 11:13
leppie6-Mar-03 11:13 
GeneralMaking of a "standalone" application Pin
_Ace_6-Mar-03 6:43
_Ace_6-Mar-03 6:43 
GeneralRe: Making of a "standalone" application Pin
Nemanja Trifunovic6-Mar-03 6:47
Nemanja Trifunovic6-Mar-03 6:47 
GeneralRe: Making of a "standalone" application Pin
Furty6-Mar-03 19:11
Furty6-Mar-03 19:11 

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.