I do not know how to add controls dynamically to the form using C# .net. Can anyone help me? I know this with vb.net but I need to know the syntax in C#.
Please see the below sample
lets say forms name is frmMain.
Button btnSave = New Button(); frmMain.Controls.Add(btnSave)