No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello everyone! I have a form with a datagridview and another form with textboxes. First I load the form with datagridview. This one has a button which open the form with textboxes to be fill. If all textboxes are filled and I clik a button of this form, I want … |
|
Hello everyone! I have this code [CODE] string constring = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + DataBasePath + ";Persist Security Info=False;Jet OLEDB:Database Password=""; conn = new OleDbConnection(constring); conn.Open() string searchstring = "SELECT * FROM MyTable WHERE field2=@field2"; OleDbCommand cmdsearch = new OleDbCommand(searchstring, conn); OleDbDataReader reader; cmdsearch.Parameters.AddWithValue("@field2", dgrDoc[1, index].Value.ToString()); reader = cmdsearch.ExecuteReader(); [/CODE] How … |
|
Hello everyone! I have a table in acces database named Product(name1(string),name2(string),name3(string),name4(number(decimal))). In a form I use combobox to choose a product after [B]name1[/B] and when I click a button I want to fill some textboxes with the others values of that product. How can I do that? please help me! … |
|
Hi! I have a form with two dateTimePickers (first with date of one month ago, and the secod with current date), a dataGridView and a button. When i click the button i want to populate the dataGridView, but only between date1 and date2 [CODE] mySqlCommand = con.CreateCommand(); mySqlCommand.CommandText = "SELECT … |
|
Hi! I am a beginer in C# and I have 2 forms in a project. The first one contains a [U]dataGridview[/U] with 3 columns: nr,date and obs and a [U]button[/U]. when i select a row and click on a button i want to copy the current nr,date and obs in … |