Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
Questionsingle User single login Pin
Shalini_U25-Sep-09 2:37
Shalini_U25-Sep-09 2:37 
AnswerRe: single User single login Pin
musefan25-Sep-09 2:47
musefan25-Sep-09 2:47 
GeneralRe: single User single login Pin
Shalini_U25-Sep-09 3:16
Shalini_U25-Sep-09 3:16 
GeneralRe: single User single login Pin
Dave Kreskowiak25-Sep-09 4:20
mveDave Kreskowiak25-Sep-09 4:20 
GeneralRe: single User single login Pin
musefan25-Sep-09 4:28
musefan25-Sep-09 4:28 
QuestionUpload data to Amibroker? Pin
$uresh $hanmugam25-Sep-09 2:32
$uresh $hanmugam25-Sep-09 2:32 
QuestionDataTableColumn.AutoIncrementSeed value Pin
Doktor25-Sep-09 0:13
Doktor25-Sep-09 0:13 
AnswerRe: DataTableColumn.AutoIncrementSeed value Pin
S.Dhanasekaran25-Sep-09 1:04
S.Dhanasekaran25-Sep-09 1:04 
Hi,

To add auto increment column in the DataTable, we can set the AutoIncrement property of the DataColumn object as true and specify the seed value after adding that field into the DataTable object.


// create columns for the DataTable

DataTable dTable = new DataTable();

DataColumn auto = new DataColumn("AutoID", typeof(System.Int32));

dTable.Columns.Add(auto);

// specify it as auto increment field

auto.AutoIncrement = true;

auto.AutoIncrementSeed = 1;

auto.ReadOnly = true;
GeneralRe: DataTableColumn.AutoIncrementSeed value Pin
Doktor25-Sep-09 1:15
Doktor25-Sep-09 1:15 
AnswerRe: DataTableColumn.AutoIncrementSeed value Pin
Dave Kreskowiak25-Sep-09 3:59
mveDave Kreskowiak25-Sep-09 3:59 
GeneralRe: DataTableColumn.AutoIncrementSeed value Pin
Doktor25-Sep-09 4:20
Doktor25-Sep-09 4:20 
QuestionDifference between Button and Command button in .net Pin
r aa j24-Sep-09 23:20
r aa j24-Sep-09 23:20 
AnswerRe: Difference between Button and Command button in .net Pin
monstale24-Sep-09 23:44
monstale24-Sep-09 23:44 
Question[Message Deleted] Pin
bounik24-Sep-09 22:39
bounik24-Sep-09 22:39 
AnswerRe: How to put a picture or image to my exe and exe's shortcut? Pin
Christian Graus24-Sep-09 22:44
protectorChristian Graus24-Sep-09 22:44 
AnswerRe: How to put a picture or image to my exe and exe's shortcut? Pin
Abhijit Jana24-Sep-09 22:53
professionalAbhijit Jana24-Sep-09 22:53 
AnswerRe: [Message Deleted] PinPopular
stancrm24-Sep-09 22:54
stancrm24-Sep-09 22:54 
QuestionApplying CSS to Winform Pin
dayakar_dn24-Sep-09 20:53
dayakar_dn24-Sep-09 20:53 
AnswerRe: Applying CSS to Winform Pin
Calla24-Sep-09 21:02
Calla24-Sep-09 21:02 
AnswerRe: Applying CSS to Winform Pin
Dave Kreskowiak25-Sep-09 3:55
mveDave Kreskowiak25-Sep-09 3:55 
QuestionInter relate Pin
alrsds24-Sep-09 20:09
alrsds24-Sep-09 20:09 
AnswerRe: Inter relate Pin
Christian Graus24-Sep-09 20:12
protectorChristian Graus24-Sep-09 20:12 
GeneralRe: Inter relate Pin
alrsds24-Sep-09 21:03
alrsds24-Sep-09 21:03 
GeneralRe: Inter relate Pin
Christian Graus24-Sep-09 21:50
protectorChristian Graus24-Sep-09 21:50 
GeneralRe: Inter relate Pin
OriginalGriff25-Sep-09 0:31
mveOriginalGriff25-Sep-09 0:31 

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.