type

  1. A

    Answered How to return a nullable type object?

    C# 7.3. I'm trying to have a method take a Type parameter and return its corresponding nullable. Like: public static System.Type GetTypeNullable(System.Type t) { return System.Nullable<t>; } This shows the error: 't?' is a type, which is not valid in the given context. That's precisely my...
  2. R

    Data type mismatch in expression criterian. and Data is not saving in access.

    I am working in charp with access database. I have made a function and passed values. all fields values are correct but it is showing "Data type mismatch in expression criterian". I have one date picker. how to save it in database. My function is like this: OleDbConnection con = new...
Top Bottom