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
.NET MySQL question
Datagridviewcombobox ondrawitem works but has over 30 items in dropdown..
Attachments to GroupWise
%*PNPB01B.DeviceDesc% Conflict
Visual Studio 2008 C# XNA - Creating a timer sequence for updated objects
Problem using WITH XMLNAMESPACES with nested queries
Reformat badly recognised MDY dates as DMY
How to calculate 25th percentile on an Access report
how to create tables in SQL Server 2008
OL2k3: Unable to open your default e-mail folders. The information store could not be opened.