# data[].attributes.body
Array bo print krdni zhmara bakare dahenin.

Syntax array,
datatyape [ ] nawi array =new dataType[saize array ] ;

Index LA (0)dast pe akat
Array psht abastet ba DataType wata pewista lam Lai yaksanaka ch dataTypekman nusi bet lawlai yaksanakash haman datatyape bet.

Bo riz krdni arrya :
Array. Sort ; bakar dahenin
Array. revers LA gawrawa bo bchuk rizi akat.
Bo awaizhmarayakman bo naxwenetawa wata bi parenet continuse bakar ahenin.

Ex:-

Int [ ] D=new Int {1,5,8,10} ;
For (Int i=0,i<D.length,i++) {
Console.writeline(D[ i ]);   }

😊

# data[].attributes.body
Message box bakar det bo awai katek programek Run akain messagekman pishan bat.
Syntax :
Messagebox. Show("message", "titel") ;

Ex:
Messagebox. Show("message", "titel", messagebox. Button. YesNo, messageboxIcon. Information, messagebox. DifoulltButton. Button2);

# data[].attributes.headline
List in c# & array list, Exception handling:

# data[].attributes.subject
List in c# & array list, Exception handling:

# data[].attributes.body
Listish atwanin waku array bakare bhenin.
Psht abastet ba DataType.

Syntax:
List<DataType>nawi listaka =new List <DataType >( ) ;
Bo zyad krdn bo listaka nawi listaka. Add( ) ;
Ex:
List<int>darun=new List <int>( ) ;
darun. Add(1);
darun. Add(2);

ArrayList:
Hawshewai list u arraya. DataType jyawaz LA xo dagret psht nabastet ba DataType. Bo awai btwanin ArrayList bakar bhenin using system.collechtion; bakar dahenin
Bo print krdni ArrayList pewistman ba alugor krdni datatyape abet.

Syntax :
ArrayList nawek bo array list = new ArrayList ( );
Bo zyad krdn bo Arraylist
Nawi Arraylist. Add( ) ;
Ex :
ArrayList darun=new ArrayList ( );
darun. Add( 1 );
darun. Add ( 5);

Bo srinawai itemek
Nawi arraylist. Remove ( ) ;
Agar RemoveAt bakar bhenin pewista endex bnusin LA kawanaka.

Jyawazi Array & ArrayList
Array katek bakare ahenin ka dataType waku yak bet WA size dyare kraw bet

Arraylist katek bakar dahenin ka dataType jyawaz bet  WA saize array dyare nakrabet
la arraylist pewistman ba convert abet

Exception handling
Britya law errorai ka la programaka drust abet
Atwnin LA regai
(try, catch, finally) charasari bkain

# data[].attributes.body
Jorakani errors se jormn haya
1-Design-time errors
Aw erroranan ka drist abn LA Kate drust krdni project pesh awai runi bkain asana bo dyare krdn se rangi haya
*sur am errora katek drust abet agr Halai gramariman habt.
*Sawz ama  katek drust abet agar gorawekman daxl krdbett Balam bakarman nahenawa la hich shwenek.
*Shin Ama katek drust abet agar halam LA nusin habet bo nmuna agar textbox1 Man habet balam Ema nusibetman textbox2.
2-Run-time errors
Aw halanan ka programaka awastenwt.
3-Logic errors
Qurstrin jori errors logic errora.

Object :
Regayaka bo daxl buni class
Ema xoman object drust akain bo awai btwanin daxli naw class bbin  WA atwanin aw shtanai ka LA naw class haya bangi bkain LA regai obj.
Classes :
Aw jegaya ka MN atwanm variable, method & event daxl bkam.
Ex :
Public class nawi class { }.

Constructor:
Agar hatu methodekman habu haman nawi classakai habu pei dawtre constructor.

# data[].attributes.body
Method komala codeka ka eishek jebaje akat
Akret public Yan private bet
Syntax
<Accsse specifier > < Return Type > < method name >(parameter List) { Method body }
Akret parameter habet Yan nabet

Jorakani method :
Static method la Static pewiatman ba drust krdni object nya WA peshi awtre (called class method).
Not-Static method lerada pewiatman ba drust krdni object abet WA peshi awtre (instance method)
Agar void habet awa non Returna.

😊

# data[].attributes.body
CheckBox:
La check box du halbzhardnma haya yes / No
Atwanin bikain ba true / false.

Radio button :

Group Box:

List Box:

ComboBox:
Britya LA lekdrawi newan textbox & Listbox se jore haya
Simple hamu katek hamu listaka abinin.
DropDown babe awai mn dastkare property bkam cliki lasar akam enja listaka abinm WA atwanin shte tri bo zya bkain.
DropDownList tanha atwanin listaka bkainawau srlecte bkain natwanin shte bo zya bkain.
WA atwanin LA regai Add value bo zya bakain.
LA regai Remove item bsrinawa. Balam agar Remove At bakar bhenin (integerPosition) anusin LA jyate itmeka.
La regai count atwanm bzanm Chand item LA Combo Box haya.

PictureBox:
Bo henani wena bo prozhakaman bakar det.
Am coda bakar ahenin
PictureBox. Image=Image. FromFile(@"path of the picture\nawi wnaka lagall pashgr") ;
Wenaka akain naw folderi debug.

# data[].attributes.body
Menu :
Atwanin ba kare bhenin bo drust krdni menu.
WA hande List haya ka xoi drust krawa Ema atwanin bakare bhenin.
MenuStrip , dialog box & rich box amana pewistn bo drust krdni Notepad.

Tool strip :
Tool strip bakar det bo drust krdni Tool bar

# data[].attributes.body
Database :
Data base bakar det bo storage krdni Data u zanyari.
* aw softwearanai ka Data base pe drust akain :
_microsotAccess,microsot SQL server, oracle.....
Data Provider:

Chand jorek dataproviderman haya:
OLEDB.
OLDBC.
Pewista Ema sarata coli bkain wata bnusin
Bo microsotAccess :
Using system. Data. Oledb ;
Bo microsoft SQL Server :
Using system. Sqlclient ;
Bo krdnawai conection n. Conection. Open() ;
Bo daxstnawai n. Conection. Close() ;
La class conection anusin.
Public Static OLEDB conection con=new OleDb conection("Provider =microsot. ACE. Oledb. 12.0;data source=" +system. Environment. CurrentDirectory+"\\DB.accdb");
Abet Data baseaka LA Debuge save bkain.

# data[].attributes.body
Bo xwendnawai Data atwanin Data Reader bakar bhenin. sudi  Data Reader bo wargrtni daitayaki dyari krawa LA databaseki dyari krau.
Bo MicrosotAccess OleDb Data Reader.
Bo sql server Sql Data Reader.
Anjami awai ka wari dagrin LA Data Reader LA regai query wari dagrin atwanin yak rikord LA yak katda war bgrin.

Bo jebaje krdni query pewista (ExecutedReader) call akain.
Bo awai bzanm record haya Yan na (Read) bakar dahenin.
DataReader nawek =new DataReader () ;

Bo garanawai Data atwanin Index bakar
bhenin. Yan nawi fildaka.
Data adapter :
Prdi paiwandya LA newan  Data base u Data Set.

# data[].attributes.body
Data Set: bakar det bo xwendnawai Data u goran kari teda bkain bo Data basek ka zyatr LA tableki teda bet.

Data table:
Data table atwanin bo Data basek nakre bhenin ka yak table teda bet.
La Data adapter pewistman ba krdnawau daxstnawai connection nya.
Jyawazi DataSet u DataReader:
*Data Set bo bo nusinu xwendnawai nusinu dataya.
*du table jyawaz LA du Data base jyawaz  warbgrin.
*dozinawai Data lasarawa bo xwarawa WA ba pechawanashawa.
*WA xawisha.
DataReader:
*tanhaddatwanin bixweninawa.
*tanha LA yak Data base Balam psht dabastet ba quriyakash.
*datwanin sairi Data bkain LA sarawa bo xwarawa balam natwanin ba pechawna sairi bkain.
*xeratra.
DataGridView :
La regai data gridview datwanin datakani nau Dataset u Datatable bbinin.
WA LA regai Data source datwanin taibat mandi bdain ba DataGridView.
Insert Data : bo zyad krdni Data bo naw Data basekam.
Quryakai bam shewaya (nawi comand . CommandText="insert  into [ nawi Data base ] (n. Filde, n. Filde ) values
('" +Textbox1. Text+"', '" +Textbox2. Text +"') ;
Nawi comand. ExecuteNonQuery( ) ;
MessageBox. Show ("added ");
Conectionaka. Close ( ) ;
Update :
Bo Update krdni Data u zanyari.
Quryakai bam shewaya
Nawi comandaka. CommandText="update [ user ] Set nawi Filde ='" +textbox2. Text +"' where nawi Filde ='" +Textbox1. Text +"'" ;
Nawi comand. ExcuseNonQurey( ) ;
Messagebox. Show ("update") ;
Connection. Close ( ) ;
Delete :
Bakar det bo delete dataya.
Quryakai bam shewaya
Nawi comandaka. CommandText="delete from [user] where nawi fildaka ='" +Textbox1. Text ( ) +'"'" ;
Nawi comandaka. ExecuteNonQuery( ) ;
Messagebox. Show (" deleted" ) ;
Connection. Close ( ) ;
Atwanin Inserti u update Data bkain ba bakar henani parameter.

# data[].attributes.body
Bakar det bo awai alugor bkain LA newan recordakan.
Chwar jori haya (first ⏪ previous ◀️ Next ▶️ Last ⏩).

Search :
Search Zor gringa LA hamu programek agar Har programek searchi teda nabu awa programeki na tawawa.

Jorakani search:

(=, Like, %).

# data[].attributes.body
Date TimePicker control:
Bakar det bo awai Rega bakar henar bat btwanet barwar dyari bkat.
date TimePicker1. Value =DateTime.Today ;
Chwar jori haya ka (long, Short, Time, Custom)
Date TimePicker1. Format =DataTimePickerFormat. Short ;
Bo awai aw barwarai ka daxlman krdwa LA text box bibinin bam shewayaya
Textbox1. Text =date TimePicker1.value. ToString ("dd/MM/yyyy) ;
Agar bmanawet rozhakaman pe blet (dddd)
WA agar bmanawet mangakaman pe blet (MMM)

Timer :
Amash yakeka LA controlakanBalamjyawazi LA LA controlakani tr awaya ka Ama natwanin LA format bibinin balku LA xwarawai formaka dardakawet. WA du property gringman haya
Enable and Interval.
Bo awai Timer eish bkat pe wist enable bkain ba true.
Interval bakar det bo dyari krdni Kat bo Timeraka.

Lable :
Bakar det bo zanini nawnishan.

Linked Lable :
Bakar det bo paiwast krdni aw nusina ba linkekawa. Waku Hyperlink.

Error Provider :
Bakar det bo danani iconek shtek LA kate buni halayak Yan shtek Amash asan kari man bo dakat handek Kat erorrman haya ba zmaneki tra Zor Lei tenagain Balam LA regai am iconawa bashtr te again