Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Member Avatar for Swapnil Palande

Hi all, Please solve my Problem: I have DataGridView and Dataset. I want to add data from dataset to datagridview row by row and not by using DataGridView.DataSource method. For ex. following is the way to do the same using Vb.net [CODE] dgClient.Columns.Add("client", "Client") dgClient.Columns("client").Width = 150 dgClient.Columns.Add("comments", "Comments") dgClient.Columns("comments").Width …

Member Avatar for antoar
0
3K
Member Avatar for denonth

How can i send Printdocument to richtextbox so i can write something above text and send it as email. here is code: [code] private void button3_Click(object sender, EventArgs e) { try { PrintDocument pd = new PrintDocument(); pd.PrintPage += new PrintPageEventHandler(this.PrintPageEventHandler); if (this.storedPageSettings != null) pd.DefaultPageSettings = this.storedPageSettings; PrintPreviewDialog dlg …

Member Avatar for denonth
0
117
Member Avatar for virusisfound

I have two forms and i have retrive controls from one form to another. In form 1 Two controls 1 datetimepicker1 2 datetimepicker2 in form 2 1 Datetimepicker1 now i retrive form1 controls on form2 and i want to compare form1 datetimepicker with form2 datetimepicker. here is code: /[CODE]Form2 fr2 …

Member Avatar for virusisfound
0
105
Member Avatar for xxxtian

Could someone help me with my problem here? I am using C# and working on a project in visual studio 2008 with SQL server express as the database. In visual studio 2008, I have a project and two forms. The first form that is named 'Informations' has a single datagridview …

Member Avatar for akshintlakalyan
0
183
Member Avatar for xxxtian

[code] private void btnBackup_Click(object sender, EventArgs e) { Backup bkp = new Backup(); this.Cursor = Cursors.WaitCursor; this.dataGridView1.DataSource = string.Empty; try { string fileName = this.txtFileName.Text; string databaseName = this.ddlDatabase.SelectedItem.ToString(); bkp.Action = BackupActionType.Database; bkp.Database = databaseName; bkp.Devices.AddDevice(fileName, DeviceType.File); bkp.Incremental = chkIncremental.Checked; this.progressBar1.Value = 0; this.progressBar1.Maximum = 100; this.progressBar1.Value = 10; bkp.PercentCompleteNotification …

Member Avatar for akshintlakalyan
0
132
Member Avatar for kheddy

I'm new to C#.I have created a MySQL database. My problem now is to get the data from the database tables into text boxes and or combo boxes in window forms(visual studio 2010),allow for editing and send the edited values back to the database. if I select the account_no(primary_key field)...the …

Member Avatar for muzikhera
0
492
Member Avatar for AngelicOne

There's an error saying that the combobox is already b, inded to a datasource, thus cannot add new items. This is how I populate my combobox [CODE] cmd = new SqlCommand(); cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "usp_distinctevent"; cmd.Connection = con; da = new SqlDataAdapter(); da.SelectCommand = cmd; ds = new …

Member Avatar for Mitja Bonca
0
350
Member Avatar for Arjun_Sarankulu

I have generated a utility to take a csv file and dump the data from csv to database. The utility is working fine. Now i want to add the categatory in the combo box which will come dynamically Due to categorised value the data will go in the respective table …

Member Avatar for akshintlakalyan
0
101
Member Avatar for akshintlakalyan

I have written to take Backup of any database automatically, at any time given by the user in config file. It's working fine, now i wish to take the Backup of a certain database which was already taken Backup previously for the next time. Any help.[CODE] private void FrmRestoreBackup_Load(object sender, …

0
78