Hello Aqueel,
So as i understand it...
You want to create a class,
and in your class you will have a method with two parameter
TableName as String and Collection of NameValue pairs
Also in your class will be a method to insert the data in the NameValue collection into the table named in TableName
And your VALIDATION should be so strong that the data cannot be changed in any way
Class MyClass
Function InsertThisData(ByVal strTableName As String, ByVal colNVP As System.Collections.Specialized.NameValueCollection) As Boolean
InsertThisData = False
If Trim(strTableName) <> "" Then
If (colNVP Is Nothing = False) Then
If colNVP.Count > 0 Then
Else
End If
Else
End If
Else
End If
End Function
End Class