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
N

Nabawoka

@Nabawoka
About
Posts
33
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Datagridview DataSource Change Auotmatically without need
    N Nabawoka

    i set the dataSource to datagridview

    DatTbl = CustomerManger.SelectCustomersAllDT(); //dattbl is datatable
    ds.Tables.Add(DatTbl); //ds is dataset
    DatTbl.TableName = "Customers";
    dgvCustomers.DataSource = null;
    dgvCustomers.DataSource = ds;
    dgvCustomers.DataMember = "Customers";

    then is selectionChange event i Select another data in list and before set it to listbox datasource .. datasource of datagrid change :mad: :confused: and all columns and data of customer cleared and replaced by Notices ???????

    private void dgvCustomers_SelectionChanged(object sender, EventArgs e)
    {
    NoticList NL=NoticeManager.SelectNoticesbyCustCD(newCust.CustId);
    }

    if i comment this line datasource of datagrid view doesn't change

    C# sales question

  • Fill Combobox with Large amount of Data
    N Nabawoka

    thank OriginalGriff

    C# sales

  • Fill Combobox with Large amount of Data
    N Nabawoka

    HORRIBLE idea :(( :(( :D thanks SledgeHammer01

    C# sales

  • Fill Combobox with Large amount of Data
    N Nabawoka

    Eddy Vluggen thanks :)

    C# sales

  • Fill Combobox with Large amount of Data
    N Nabawoka

    i have more than 55000 Customer and i wanna Fill Combobox with this customers quick .. there is any way to load form quickly and to enter Combobox quickly ** i use background worker but this hang my form and my app is run slowly can i use threading and how i want solutin plz

    private void backWork_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
    {
    if (e.Cancelled)
    {
    }
    else
    {
    FillComboBox();
    cmb3ameelname.Focus();
    Loadform = true;
    cmb3ameelname.SelectedItem = null;
    cmbLandTele.SelectedItem = null;
    }
    }

    private void backWork_DoWork(object sender, DoWorkEventArgs e)
    {
    CusLis = CustomerManger.SelectCustomersAll();
    }

    void FillComboBox()
    {
    cmbameelname.DataSource = CusLis;
    cmbameelname.DisplayMember = "CustName";
    cmbameelname.ValueMember = "CustId";
    }

    frm_load()
    {
    this.backWork.DoWork += new DoWorkEventHandler(this.backWork_DoWork);

        this.backWork.RunWorkerCompleted+=new RunWorkerCompletedEventHandler(this.backWork\_RunWorkerCompleted);
    
      this.backWork.RunWorkerAsync();
    

    }

    C# sales

  • add button in run time
    N Nabawoka

    iam tring now.. and i havn't any idea how to add tool in runtime and make it fixed not evey time add from 0 ?

    C# database help

  • add button in run time
    N Nabawoka

    i need if row add automatic add button in runtime and be fixed once another row added not every time add all rows in runtime ? ... are this available ?

    C# database help

  • add button in run time
    N Nabawoka

    i will use it in touch screen So buttons is better than combobox

    C# database help

  • add button in run time
    N Nabawoka

    first thanks ,i know what u say :).. but i wanna to make it ana my boss need this :D :D

    C# database help

  • add button in run time
    N Nabawoka

    i have table in DB (id,name) and have form with panel if i have 5 names in table have 5 buttons in this panel each one beside each other i want if user add any row in this table dynamically when form load add button beside last one to the end of panel and if add another add at bottom of this buttons and sidebar appear it's difficult to make this buttons add in runtime beside other ... and table can contain 100 rows :S:S so plz i need help in this :)

    C# database help

  • How to Handle DatagridView's keydown event during editing of cell
    N Nabawoka

    the answer :D

    private const UInt32 WM_KEYDOWN = 0x0100;

        public bool PreFilterMessage(ref Message m)
        {
            if (this.ActiveControl is DataGridViewTextBoxEditingControl)
            {
                if (m.Msg == WM\_KEYDOWN)
                {
                    Keys keyCode = (Keys)(int)m.WParam & Keys.KeyCode;
    
                    if (keyCode == Keys.Enter)
                    {
    
                        if (this.dgvReadInsert.CurrentCell.ColumnIndex == 4 || this.dgvReadInsert.CurrentCell.ColumnIndex == 10 || this.dgvReadInsert.CurrentCell.ColumnIndex == 6 || this.dgvReadInsert.CurrentCell.ColumnIndex == 12 || this.dgvReadInsert.CurrentCell.ColumnIndex == 13 || this.dgvReadInsert.CurrentCell.ColumnIndex == 14)
    
                            this.dgvReadInsert.CurrentCell = this.dgvReadInsert\[6, this.dgvReadInsert.CurrentCell.RowIndex + 1\];
    
                        return true;
    
                    }
                }
    
                return false;
    
            }
    
            return false;
    
        }
    

    after inherit from class form1 : Form, IMessageFilter

    C# tutorial question

  • How to Handle DatagridView's keydown event during editing of cell
    N Nabawoka

    how can i handle Datagridview's Keydown Event after editing cell on Enter key Press datagridview have columns readonly=false and columns readonly=true need when i press enter key goto cell[6] of next row from any cell in previous row (====> this important one) and when i press tab from cell [4] call func and tab from other cells call another func

    C# tutorial question

  • move from cells in dataGridview
    N Nabawoka

    hey guys i need help plz i want when i press enter in cell cursor go down to the the cell in same column but when i press tab go to next cell in the same row how ? :(( :((

    C# help question

  • need to load image in rdlc from database ? (windows application)
    N Nabawoka

    i create report rdlc and pass to it datasource ana add it in Microsoft report viewer and on this report i add image from toolbox i need to pass image from DB in this image box

    C# database question

  • run program from many PCs and database in one machine ?
    N Nabawoka

    thnx alot MDL=>Moshu :D :D in sql server is need to enable tcp\ip or named pipes or something another in configuration or when i setup sql express need to enable thing in setup i try to use ip 127.0.0.1 and return exception is there any port needed in the connection string

    C# database question sql-server sysadmin windows-admin

  • how to make server & clients?
    N Nabawoka

    You cannot vote on your own post 0 i want to run windows form program in more than one PC and the database to be in one PC and other PCs connect to it DB (sql server) >>>>>>>> how can i control *in setup of sql server *or on connection string *and what the requirements to make this is need to windows server or sql express ________________________________ tell me the steps and requirements please :)

    Database database question sql-server sysadmin windows-admin

  • run program from many PCs and database in one machine ?
    N Nabawoka

    the program will run on local network

    C# database question sql-server sysadmin windows-admin

  • run program from many PCs and database in one machine ?
    N Nabawoka

    i want to run windows form program in more than one PC and the database to be in one PC and other PCs connect to it DB (sql server) >>>>>>>> how can i control *in setup of sql server *or on connection string *and what the requirements to make this is need to windows server or sql express ________________________________ tell me the steps and requirements please :)

    C# database question sql-server sysadmin windows-admin

  • what the code of this
    N Nabawoka

    i don`t know what i can say to you but Thank you think

    C# data-structures tutorial

  • what the code of this
    N Nabawoka

    thaaanks but the exam ended .. and i will do my best in other exams :D

    C# data-structures tutorial
  • Login

  • Don't have an account? Register

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