I was looking to use an command button to add records to a datagrid without the benefit of a separate form as is illustrated in the below msdn article. I am having a hard time adapting this code to the framework. I am not adverse to adding a separate form with the individual fields on it, if you could give me some guidelines or reference documentation on that as well. The article name is " Adding New Records to a Data Source Using the DataGrid Control". Any references you can give me as how to add records to SQL Server tables using the MM .net framework is what I need.