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
M

maryamf

@maryamf
About
Posts
14
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is is possible to change the setting of the ContextMenu?
    M maryamf

    hi for change the size property u must first set autosize property to false.

    C# question

  • How to draw a Horizantal line in WindowsApp
    M maryamf

    form have an event which name is Paint. in this event u can use : e.Graphics.DrawLine(--,--,--)

    C# tutorial

  • plz help!
    M maryamf

    i have a big problem ! when i change anything in my code project this error is appear : ""Unable to copy file "obj\Debug\Charge1.exe" to "bin\Debug\Charge1.exe". The process cannot access the file 'bin\Debug\Charge1.exe' because it is being used by another process."" but if i don't change anything it isn't appear, do anybody know how can i fix this error?

    C# help question debugging

  • Urgent
    M maryamf

    MSDN :Setting ShowNewFolderButton to false does not work on Windows 2000.

    C#

  • get whether a checkbox is checked or not ASP.net
    M maryamf

    i can't understand your question clearly but i think your anwser is : you must first set Autopostback property of the checkbox to the true and then work with checkedchanged event like this code: protected void CheckBox1_CheckedChanged(object sender, EventArgs e) { if (CheckBox1.Checked) Response.Write("checked"); else Response.Write("unchecked"); }

    C# question csharp asp-net design

  • update
    M maryamf

    first you must set the gridview DataSource: dataGridView1.DataSource =DS.tables["x"]; then u must add row to the DataTable for exmaple : a = a+1; b = textBox1.Text; dt.Rows.Add(new object[] { a, b}); after click the button to update data in database: scb = new SqlCommandBuilder(DA); DA.Update(DS, "tbhazine");

    C# database help announcement

  • update with datagridview
    M maryamf

    if you want update your data in datagridview in data base you must first define sqlcommandbuilder before your update command: SqlCommandBuilder sc=new SqlCommandBuilder(DataAdaptorname);

    C# help announcement

  • plz help!
    M maryamf

    i fill 1 data table from database . i have 1 datagrid on the form that i fill it manually. can i add one of the columns of the data table to my datagrid? thank you :confused:

    C# database help question

  • help needed for passing data between forms ?
    M maryamf

    you must define it "Public Static" in form1 then u can use it without new form.

    C# help question

  • a question about checkboxes ? help please ...
    M maryamf

    i think this could be worked CheckBox[] ch1 = new CheckBox[] { checkBox1, checkBox2, checkBox3, checkBox4 }; { for (int x = 0; x < 4; x++) if (ch1[x].Checked) { foreach (CheckBox ch in ch1) { if (ch.CheckState == CheckState.Unchecked) ch.Enabled = false; } } }

    C# question help

  • Add some columns in datagrid!
    M maryamf

    i fill 1 data table from database . i have 1 datagrid on the form that i fill it manually. can i add one of the columns of the data table to my datagrid? thank you

    C# database question

  • a question about printing or saving data in datagridview ?
    M maryamf

    i think u can use stream writer and streamreader for save data or read data from the files. data set is in connection with xml . u just must add a xml file to your project and work with it. for send data to printer u can use crystal report or print prieview control(i think).if you use control u must use drawing namespace(or e.graphics for ex.) to draw your form and measure the line is in your page and your no's of print pages.

    C# question tutorial

  • create forenkey syntex
    M maryamf

    you must define diagram for your database that can define foriegn keys between your tables

    Database database

  • ado
    M maryamf

    DA1 = new SqlDataAdapter("select * from tbmohasebe where tarikh = '"+comboBox1.Text +"'" , conn1); DA1.Fill(dt1); //dt1 is Data table dataGridView1.DataSource = dt1; how can i hide some of columns in datatable that don't show in datagrid?

    C# 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