Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Is it best practices for functions to to send items as objects, or as their type as in the following.

$
0
0

Which is best?

public static void InsertANewItemInAForeignTableWith(object strConnection, object strSQL, object objID, object objColumnID, object objColumnToSaveTo,  object objValueToSave) {
}

Or this?

public static void InsertANewItemInAForeignTableWith(string strConnection, string strSQL, int objID, int objColumnID, string objColumnToSaveTo,  object objValueToSave) {


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>