Answers
Mar 18, 2009 - 01:33 AM
You can create class Info in your project. For example
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 you will need convert to it
// 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
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
hi decklonarankk
i don't know where you using the textboxes. textboxes are with in the datagrid or outside the datagrid say clearly.
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 question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.
The Quomon Team
The Quomon Team
Apr 24, 2011 - 08:28 PM
What do you mean?
http://www.holeesoft.com/dvd-ripper.html
http://www.holeesoft.com/dvd-ripper.html
Add New Comment