Microsoft
Software
Hardware
Network
Question : How to get max value from table (Access 2003 vs VB.net 2005)
Dear Experts,
i have 1 table (tbl_reg) with 2 fields (reg_no, reg_name) in access 2003.
in VB.net 2005, i want to get the max value for reg_no.
pleas help, how to code this?
thanks!
Answer : How to get max value from table (Access 2003 vs VB.net 2005)
If you want to fetch it after fill to datatable u can use Compute as following
MessageBox.Show(ds.Tables(
0).Compute
("MAX(EmpI
D)", ""))
Random Solutions
Out of memory or system resources. Close some windows or programs and try again.
Limit the number of items in a ASP.Net drop down list
Code Last business day of the month
Make WSUS updates run from Microsoft for remote Locations.
Local hotels details & prices Access Database
Loop through the cells of a datagrid without knowing the datasource
Cross appdomain communication winthin single process on single machine in c#
find out an (x,y) location of a point on a circle's edge C#
Outlook 2010 Beta Product Activation Failed
Save FoxPro Form or Container as jpg or gif