Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
JagoVB JagoVB is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 508
Rep Power: 14
JagoVB mempunyai hidup yang Normal
Default Bantu Ane gan Penting banget [Help]

Gan ane mau tanya ne pict ane






Bantu ane gan??



ini ane pakek bahasa C#????




Koding ane gan


Quote:





private void DatagridView_Load(object sender, EventArgs e)

{

dataGridView1.ColumnCount = 3;

dataGridView1.RowCount = 3;

dataGridView1.Rows[0].HeaderCell.Value = "Akreditasi Sekolah";

dataGridView1.Rows[1].HeaderCell.Value = "Nilai Raport";

dataGridView1.Rows[2].HeaderCell.Value = "Penghasilan Ortu";

dataGridView1.Columns[0].Width = 120;

dataGridView1.Columns[1].Width = 90;

dataGridView1.Columns[2].Width = 115;

dataGridView1.Columns[0].HeaderText = "Akreditasi Sekolah";

dataGridView1.Columns[1].HeaderText = "Nilai Raport";

dataGridView1.Columns[2].HeaderText = "Penghasilan Ortu";

dataGridView1.Rows[0].Cells[0].Value ="1";

dataGridView1.Rows[1].Cells[1].Value = "1";

dataGridView1.Rows[2].Cells[2].Value = "1";



dataGridView2.ColumnCount = 3;

dataGridView2.RowCount = 3;

dataGridView2.Rows[0].HeaderCell.Value = "Akreditasi Sekolah";

dataGridView2.Rows[1].HeaderCell.Value = "Nilai Raport";

dataGridView2.Rows[2].HeaderCell.Value = "Penghasilan Ortu";

dataGridView2.Columns[0].Width = 120;

dataGridView2.Columns[1].Width = 90;

dataGridView2.Columns[2].Width = 115;

dataGridView2.Columns[0].HeaderText = "Akreditasi Sekolah";

dataGridView2.Columns[1].HeaderText = "Nilai Raport";

dataGridView2.Columns[2].HeaderText = "Penghasilan Ortu";

}





Yang ane tanyakan gimana gene gan


Quote:





dataGridView1.Rows[0].Cells[1].Value =" Isinya adalah pilihan berupa angka dropdown combobox 1,2,3 ";

begitu pula dengan

dataGridView1.Rows[0].Cells[2].Value =" Isinya adalah pilihan berupa angka dropdown combobox 1,2,3 ";

dataGridView1.Rows[1].Cells[0].Value =" Isinya adalah pilihan berupa angka dropdown combobox 1,2,3 ";

dataGridView1.Rows[1].Cells[2].Value =" Isinya adalah pilihan berupa angka dropdown combobox 1,2,3 ";

dataGridView1.Rows[2].Cells[0].Value =" Isinya adalah pilihan berupa angka dropdown combobox 1,2,3 ";

dataGridView1.Rows[2].Cells[1].Value =" Isinya adalah pilihan berupa angka dropdown combobox 1,2,3 ";





dataGridView1.Rows[0].Cells[0],dataGridView1.Rows[1].Cells[1],,dataGridView1.Rows[2].Cells[2] Nilainya default = "1";











Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 11:46 AM.


no new posts