المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Navigating through records.



C# Programming
10-22-2009, 12:22 AM
Hi.
I am pretty new on C#, but since I have VB.NET background, I am not that lost.
I am looking to do two things.

1. I have records showing in text boxes that I bind from SQL Server 2005. I need to navigate through the records, showing the next record, till the last record. I need to use the "End of record" function.

2. I want to insert into the last column of my SQL Server 2005 database. But I need to find the last record on the table and increment the UserID(primary key) by one, and use the new value as the new UserID(primary key) on the new column.

Can you please help me with this.....

Thank you in advance guys.