As the title says, how can i convert a string value to a Microsoft.SqlServer.Managment.Smo.Datatype ??? :-/
Example of code that im looking for:
Using Microsoft.Sqlserver.Managment.Smo;
public partial class 'FormName'
{
String datatype = "Nvarchar";
Microsoft.SqlServer.Managment.Smo.Datatype dt = datatype;
}