Click here to Skip to main content
15,887,344 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: How can I change icon of any exe-file Pin
titan6816-Apr-08 2:39
titan6816-Apr-08 2:39 
GeneralRe: How can I change icon of any exe-file Pin
Dave Kreskowiak17-Apr-08 3:13
mveDave Kreskowiak17-Apr-08 3:13 
GeneralReturn Serial Number from Query Pin
Rupesh Kumar Swami14-Apr-08 5:45
Rupesh Kumar Swami14-Apr-08 5:45 
GeneralRe: Return Serial Number from Query Pin
Dave Kreskowiak14-Apr-08 6:38
mveDave Kreskowiak14-Apr-08 6:38 
GeneralRe: Return Serial Number from Query Pin
Rupesh Kumar Swami16-Apr-08 5:10
Rupesh Kumar Swami16-Apr-08 5:10 
GeneralRe: Return Serial Number from Query Pin
Dave Kreskowiak16-Apr-08 12:24
mveDave Kreskowiak16-Apr-08 12:24 
GeneralRe: Return Serial Number from Query Pin
Rupesh Kumar Swami17-Apr-08 21:01
Rupesh Kumar Swami17-Apr-08 21:01 
GeneralRe: Return Serial Number from Query Pin
Dave Kreskowiak18-Apr-08 15:20
mveDave Kreskowiak18-Apr-08 15:20 
You can't do this without another field in the database. You MUST add a Primary key column, probably an autonumber, and that will give you your "serial number" for each row. When you execute a database query, unless you specify otherwise, rows are returned in whatever order the database sees fit at the time. There is no guaranteed order, therefor, any "math" you do to assign a serial number, which is going to end up being another column anyway in the DataTable, can be different for each row the next time you run the query.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionZipping folders Pin
Aptiva Dave14-Apr-08 5:26
Aptiva Dave14-Apr-08 5:26 
GeneralRe: Zipping folders Pin
Dave Kreskowiak14-Apr-08 5:32
mveDave Kreskowiak14-Apr-08 5:32 
GeneralRe: Zipping folders Pin
Aptiva Dave14-Apr-08 5:47
Aptiva Dave14-Apr-08 5:47 
GeneralRe: Zipping folders Pin
Dave Kreskowiak14-Apr-08 6:33
mveDave Kreskowiak14-Apr-08 6:33 
GeneralInheritancy failed because the type is declared as abstract Pin
Steven J Jowett14-Apr-08 4:53
Steven J Jowett14-Apr-08 4:53 
GeneralRe: Inheritancy failed because the type is declared as abstract Pin
Dave Kreskowiak14-Apr-08 5:30
mveDave Kreskowiak14-Apr-08 5:30 
AnswerRe: Inheritancy failed because the type is declared as abstract Pin
Steven J Jowett14-Apr-08 6:03
Steven J Jowett14-Apr-08 6:03 
GeneralRe: Inheritancy failed because the type is declared as abstract Pin
Dave Kreskowiak14-Apr-08 6:34
mveDave Kreskowiak14-Apr-08 6:34 
GeneralConnection String for VB with MS SQL Server 2005 Express Edition Pin
aaraaayen14-Apr-08 4:10
aaraaayen14-Apr-08 4:10 
GeneralRe: Connection String for VB with MS SQL Server 2005 Express Edition Pin
Vimalsoft(Pty) Ltd14-Apr-08 4:26
professionalVimalsoft(Pty) Ltd14-Apr-08 4:26 
GeneralRe: Connection String for VB with MS SQL Server 2005 Express Edition Pin
ChandraRam14-Apr-08 4:44
ChandraRam14-Apr-08 4:44 
GeneralRe: Connection String for VB with MS SQL Server 2005 Express Edition Pin
Tim Carmichael14-Apr-08 5:12
Tim Carmichael14-Apr-08 5:12 
GeneralRe: Connection String for VB with MS SQL Server 2005 Express Edition Pin
aaraaayen14-Apr-08 19:27
aaraaayen14-Apr-08 19:27 
GeneralRe: Connection String for VB with MS SQL Server 2005 Express Edition Pin
Tim Carmichael15-Apr-08 2:42
Tim Carmichael15-Apr-08 2:42 
QuestionHow retain scrollbar positions of Datagridview? Pin
Guru_yogi14-Apr-08 3:02
Guru_yogi14-Apr-08 3:02 
AnswerRe: How retain scrollbar positions of Datagridview? Pin
Dave Kreskowiak14-Apr-08 5:43
mveDave Kreskowiak14-Apr-08 5:43 
GeneralDate format problem Pin
AHeavey14-Apr-08 2:03
AHeavey14-Apr-08 2:03 

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.