Click here to Skip to main content
15,879,348 members
Home / Discussions / C#
   

C#

 
GeneralCrystal Reports and .net Pin
Braulio Dez28-May-03 1:15
Braulio Dez28-May-03 1:15 
GeneralRe: Crystal Reports and .net Pin
Rocky Moore28-May-03 3:28
Rocky Moore28-May-03 3:28 
GeneralRe: Crystal Reports and .net Pin
Braulio Dez28-May-03 3:44
Braulio Dez28-May-03 3:44 
GeneralC# graphics help required urgent. Pin
Hayat28-May-03 0:48
Hayat28-May-03 0:48 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:23
Hayat30-May-03 0:23 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:29
Hayat30-May-03 0:29 
GeneralUpdating data programmatically Pin
totig27-May-03 23:28
totig27-May-03 23:28 
GeneralRe: Updating data programmatically Pin
jtmtv1828-May-03 0:44
jtmtv1828-May-03 0:44 
to allow the user to update a database you need to create a insert command. if you used the vs.net data Adapter it would do this for you provided that you didnt have any joins. a insert command looks kinda like. What the C# dataset has a Propertie i think called update ? but what it does is use the data adapters UpdateCommand / Insert Command / delete command depending on how the row was altered. i have never used datareader but check the sdk help and see if it has something simular. Hope this Helps.

<br />
--run this in query analizer to see its effect...alter if you like. Remeber Single Quotes<br />
<br />
use northwind<br />
select * from Categories<br />
<br />
insert into Categories<br />
(CategoryName,[Description])<br />
values<br />
('Beverages','Code Pimp - The only drink that a programmer needs')<br />
<br />
Select * from Categories<br />


so its
Insert into TableNameHere
--Optional Specify Columns
(Column1,Column2)
values
('value1','value2')



The Code Project Is Your Friend...
GeneralRe: Updating data programmatically Pin
totig28-May-03 2:51
totig28-May-03 2:51 
GeneralRe: Updating data programmatically Pin
Rocky Moore28-May-03 3:38
Rocky Moore28-May-03 3:38 
GeneralRe: Updating data programmatically Pin
totig28-May-03 5:16
totig28-May-03 5:16 
GeneralRe: Updating data programmatically Pin
jtmtv1828-May-03 11:20
jtmtv1828-May-03 11:20 
GeneralXML Loading Problem Pin
Nick Parker27-May-03 17:10
protectorNick Parker27-May-03 17:10 
GeneralRe: XML Loading Problem Pin
J. Dunlap27-May-03 20:21
J. Dunlap27-May-03 20:21 
GeneralRe: XML Loading Problem Pin
Nick Parker28-May-03 1:43
protectorNick Parker28-May-03 1:43 
GeneralGrabbing Text Input with C# / .net Pin
dratti27-May-03 12:41
dratti27-May-03 12:41 
GeneralInstantiate .NET type within web page (like ActiveX) Pin
Michal Januszczyk27-May-03 10:15
sussMichal Januszczyk27-May-03 10:15 
GeneralRe: Instantiate .NET type within web page (like ActiveX) Pin
Vasudevan Deepak Kumar27-May-03 19:52
Vasudevan Deepak Kumar27-May-03 19:52 
GeneralRe: Instantiate .NET type within web page (like ActiveX) Pin
Ed K30-May-03 3:49
Ed K30-May-03 3:49 
GeneralGood Enum Question Pin
Ed K27-May-03 9:26
Ed K27-May-03 9:26 
GeneralRe: Good Enum Question Pin
Eric Gunnerson (msft)27-May-03 11:29
Eric Gunnerson (msft)27-May-03 11:29 
GeneralRe: Good Enum Question Pin
ralfoide27-May-03 14:08
ralfoide27-May-03 14:08 
GeneralRe: Good Enum Question Pin
Eric Gunnerson (msft)27-May-03 17:43
Eric Gunnerson (msft)27-May-03 17:43 
GeneralRe: Good Enum Question Pin
J. Dunlap27-May-03 14:11
J. Dunlap27-May-03 14:11 
GeneralRe: Good Enum Question Pin
KingTermite27-May-03 11:32
KingTermite27-May-03 11:32 

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.