Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

Gopal S

@Gopal S
About
Posts
42
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • This constraint cannot be enabled as not all values have corresponding parent values
    G Gopal S

    Hi Vuyiswa, Please correct the data's of subjectid column in Appointment table (TimeTableFull.xml). It contains wrong values that should match the 'ID' column values of subjects table. Thanks,

    Gopal.S

    C# xml workspace

  • DataRowState not working as expected
    G Gopal S

    Hi Glenn, I have used this code. It will work correctly. int x = Convert.ToInt32(bindingNavigator1.PositionItem.Text); DataRow dr = dt.Rows[x-1]; if (dr.RowState == DataRowState.Modified) { MessageBox.Show("Modified"); } I don't know what you have done in second line. Which component(KTReunionDataSet)you are using?. Thanks, Gopal.S

    Gopal.S

    C# visual-studio csharp debugging question

  • windows forms key board for other application
    G Gopal S

    Hi, Please refer the following link: Sending Keystrokes to another Application in C#[^] I hope this will help for you. Thanks,

    Gopal.S

    C# help winforms json

  • Detect theme?
    G Gopal S

    Hi, Please refer the following link: Detecting XP Themes[^] Thanks

    Gopal.S

    C# question

  • am I missing a setting here or what (DataGrid not showing but one row)
    G Gopal S

    Hi, can I know your data source contains only two rows? Also, check and set the different color for 'BackColor' and 'ForeColor' properties of DefaultCellStyle in DataGrid. Thanks,

    Gopal.S

    C# css question

  • numeric problem on some pcs
    G Gopal S

    http://en.csharp-online.net/Localization_Like_the_Pros%E2%80%94Number_formatting[^]

    Gopal.S

    C# question help

  • Please send Windows 6.0 supported mobile list?
    G Gopal S

    Please send Window 6.0 OS supported mobile list?

    Gopal.S

    Mobile question

  • how can i pass a text to crystal report from another form in c#
    G Gopal S

    Hi, Here is the code snippet: CrystalDecisions.CrystalReports.Engine.ReportDocument reportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument(); reportDocument.Load("samplereport.rpt"); reportDocument.SummaryInfo.ReportTitle = comboBox1.Text; reportDocument.SetDataSource(dset); crystalReportViewer1.ReportSource = reportDocument; Thanks,

    Gopal.S

    C# question csharp

  • Move to Next Column DataGridView
    G Gopal S

    Hi, Here is the code snippet: foreach (PropertyInfo info in t.GetProperties()) { dataGridView1.Rows.Add(); infoName = info.Name; value = info.MemberType.ToString(); } private void dataGridView1_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e) { dataGridView1.Rows[e.RowIndex].Cells[0].Value = infoName; dataGridView1.Rows[e.RowIndex].Cells[1].Value = value; } Thanks,

    Gopal.S

    C# database visual-studio help tutorial

  • ComboBox in Datagrid view
    G Gopal S

    Hi, 1) Concatnate the two column values (in a query) and assign as a value member. 2) You can use "EditingControlShowing" event to access the "SelectedIndexChanged" event for combobox cell. Here is the Code Snipet: private void Form1_Load(object sender, EventArgs e) { this.dataGridView1.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dataGridView1_EditingControlShowing); } private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { ComboBox ctl = e.Control as ComboBox; if(ctl!=null) ctl.SelectedIndexChanged+=new EventHandler(ctl_SelectedIndexChanged); } private void ctl_SelectedIndexChanged(object sender, EventArgs args) { MessageBox.Show("Selected Index Changed Event"); } Thanks,

    Gopal.S

    C# question

  • How to get all files name from Property.Resourece
    G Gopal S

    Hi Guru, Here is the code snipet: System.Reflection.Assembly ass = System.Reflection.Assembly.GetExecutingAssembly(); string[] files = ass.GetManifestResourceNames(); for(int i=0;i<files.Length;i++) MessageBox.Show(files[i]); Thanks,

    Gopal.S

    C# hardware help tutorial

  • Convert CCITT ulaw To PCM Audio format
    G Gopal S

    Hi, How to convert the "CCITT u-Law" audio format file to PCM audio format? Please help me. Thanks,

    Gopal.S

    C# help tutorial question

  • Compare SortedList problem.
    G Gopal S

    Hi Dennycrane You are checking a 'Key value(0 to 3)' only, not a value (Value1). Both collection contain same keys(0 to 4). So always return true. You can check the values using "ContainsValue" method instead of 'ContainsKey'. Ex: if (!SL2.ContainsValue(item.Value)) { return false; } Thanks,

    Gopal.S

    C# help question

  • Problems with ToolStrip control - ToolStripButtons flickering [modified]
    G Gopal S

    Hi Yoav, I have tested this issue, but it works well. I was not able to see this issue here. Please send your sample code, it will helps to solve the problem earlier. Thanks,

    Gopal.S

    C# csharp winforms question

  • Dynamic Control creation
    G Gopal S

    Hi, First you should set the position of the Vertical Scroll into "0", then add the controls to the panel. Now it works fine. this.panel1.VerticalScroll.Value = 0; this.panel1.Controls.Add(objTextBox); Regards,

    Gopal.S

    C# help question

  • how to disable Close button of windows form using C#.Net
    G Gopal S

    Hi, You can use FormClosing event for disable the close button. private void Form1_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; } Please let me know if this help you. Thanks, Gopal.S

    Gopal.S

    C# csharp json help tutorial question

  • datagrid problem....
    G Gopal S

    Hi sindhutiwari, 1) First retrive the data from database to DataTable. DataTable objDataTable = new DataTable(); objDataTable.Columns.Add("DataColumn1"); objDataTable.Columns.Add("DataColumn2"); dr = objDataTable.NewRow(); dr[0] = "data1"; dr[1] = "yes" objDataTable.Rows.Add(dr); 2) Now you can bind this datatable to datagridview. You should set the "DataPropertyName" property of datagridview column. grdView.DataSource = objDataTable; this.grdColumn1.DataPropertyName = "DataColumn1"; this.grdColumn2.DataPropertyName = "DataColumn2"; // grdColumn2 is comboboxcell it contains 2 items (yes/no). other values not accepted. Regards,

    Gopal.S

    C# database regex help question

  • DataGridview help
    G Gopal S

    Here is the code snippet: private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { textBox1.Text = dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString(); }

    Gopal.S

    C# help

  • Is it possible to record the voice from phone using tapi with C#.Net ?
    G Gopal S

    Hi, Thanks for your reply. Could you send any sample or material links for this one? Regards,

    Gopal.S

    C# csharp question

  • Is it possible to record the voice from phone using tapi with C#.Net ?
    G Gopal S

    Hi, Is it possible to record the voice from phone using tapi with C#.Net ? Thanks,

    Gopal.S

    C# csharp question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups