iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
how can i get a max value of a column in WebGrid7 ?
such as: I wanna a max value in "userId" column ~~~
please show me the code!thank you
the problem has been resolved.thank you all the same
Hello,
Would you mind to let us know more detail about max value? If you only want to get a value or text in a cell of column, you can obtain by using grid.GetSelectedObject().ToRowObject().GetCells().GetNamedItem("userId").Text;
If your id is something like auto increment, I suggest you to sort descending and get the select the first row. The first row should contain the highest value.
Regards,Handy
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname