Click here to Skip to main content
15,920,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: did microsoft visio can conver code to uml class diagram Pin
J4amieC26-Jul-06 0:26
J4amieC26-Jul-06 0:26 
QuestionHow to generate PK values Pin
Rocky#25-Jul-06 22:54
Rocky#25-Jul-06 22:54 
AnswerRe: How to generate PK values Pin
Paul Brower26-Jul-06 1:01
Paul Brower26-Jul-06 1:01 
Questionadding a new column into a table ? Pin
cmpeng3425-Jul-06 22:18
cmpeng3425-Jul-06 22:18 
AnswerRe: adding a new column into a table ? Pin
rah_sin25-Jul-06 22:31
professionalrah_sin25-Jul-06 22:31 
GeneralMessage Closed Pin
25-Jul-06 22:39
cmpeng3425-Jul-06 22:39 
GeneralRe: adding a new column into a table ? Pin
rah_sin25-Jul-06 23:04
professionalrah_sin25-Jul-06 23:04 
GeneralRe: adding a new column into a table ? [modified] Pin
SeMartens25-Jul-06 23:16
SeMartens25-Jul-06 23:16 
Hi,

to add a new column to the database table you have to run a DDL-statement. Normally it should look like this (exact syntax depends on the database system you are using):

ALTER TABLE "Student" ADD COLUMN Age int

You can execute this statement using c#, if you are using for example ADO.NET. Just create a statement (like you do when you want to insert a row in one of your database table) and execeute it.

Hope this helps a bit, if not don't hesitate to ask again.

Regards
Sebastian



-- modified at 5:19 Wednesday 26th July, 2006
GeneralMessage Closed Pin
25-Jul-06 23:27
cmpeng3425-Jul-06 23:27 
GeneralRe: adding a new column into a table ? Pin
HeadBlood26-Jul-06 1:01
HeadBlood26-Jul-06 1:01 
QuestionNeed code for shell icon overlay in C# Pin
chovdry25-Jul-06 21:53
chovdry25-Jul-06 21:53 
Questionget data to textfield from dataset Pin
simsen25-Jul-06 21:37
simsen25-Jul-06 21:37 
AnswerRe: get data to textfield from dataset Pin
rah_sin25-Jul-06 22:28
professionalrah_sin25-Jul-06 22:28 
GeneralRe: get data to textfield from dataset Pin
simsen25-Jul-06 22:42
simsen25-Jul-06 22:42 
QuestionHow to delete text from a PDF file ? Pin
Prathi.V25-Jul-06 21:35
Prathi.V25-Jul-06 21:35 
AnswerRe: How to delete text from a PDF file ? Pin
LongRange.Shooter26-Jul-06 9:31
LongRange.Shooter26-Jul-06 9:31 
QuestionRe: How to delete text from a PDF file ? Pin
Prathi.V26-Jul-06 19:16
Prathi.V26-Jul-06 19:16 
QuestionDetecting that a Form has stopped moving Pin
boxed25-Jul-06 21:21
boxed25-Jul-06 21:21 
AnswerRe: Detecting that a Form has stopped moving Pin
stancrm25-Jul-06 21:32
stancrm25-Jul-06 21:32 
GeneralRe: Detecting that a Form has stopped moving [modified] Pin
boxed25-Jul-06 22:11
boxed25-Jul-06 22:11 
AnswerRe: Detecting that a Form has stopped moving Pin
Martin#25-Jul-06 22:34
Martin#25-Jul-06 22:34 
GeneralRe: Detecting that a Form has stopped moving Pin
boxed25-Jul-06 23:06
boxed25-Jul-06 23:06 
GeneralRe: Detecting that a Form has stopped moving Pin
Martin#25-Jul-06 23:33
Martin#25-Jul-06 23:33 
GeneralRe: Detecting that a Form has stopped moving [modified] Pin
boxed26-Jul-06 0:52
boxed26-Jul-06 0:52 
AnswerRe: Detecting that a Form has stopped moving [modified] Pin
Martin#26-Jul-06 1:25
Martin#26-Jul-06 1:25 

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.