Answers
Mar 18, 2009 - 01:33 AM
public class Info
private string textboxInfo1
private string textboxInfo2
.....
Public string TextBoxInfo1
{
get {return textboxinfo1; }
set (textboxInfo1 = value;}
}
.....
private dataTable dataGridInfo
end class
Then in your form do something like next
private void SomeMethod()
{
Info inf = new Info();
inf.TextBoxInfo1 = TextBox1.Text;
.........
// If you load data from List
// I'm posting only main idea.
inf.DataTable = (DataTable)DataGridView1.DataSource;
}
After this use data from this class create Connections and Commands to post data in DB
Ask me if need more info
Mar 18, 2009 - 02:51 AM
i don't know where you using the textboxes. textboxes are with in the datagrid or outside the datagrid say clearly.
Apr 09, 2009 - 04:14 AM
The Quomon Team
Apr 24, 2011 - 08:28 PM
http://www.holeesoft.com/dvd-ripper.html
Add New Comment