# data[].attributes.body
Menu: bashyke saraky hamu program u barnama u web siteka chunka la rey Menu atwanet basha yawazzakane barnama bakar benet boya gar la form ek zyatrman habet atwanen bleyn marja  la hamu barnamayaka menu habet bo bakar henane basha jyawazakane try barnamaka ean website aka . wa la C# atwanet la ToolBox akata Menustrip zyad bkayn.atwanet xot bashy bo zyad bkayt eaxud la rey Insert Standard Item awa Menu yake standard t dabneyt.ka zorenay kat al File,Edit,Tolls,Help pek det.
Common dialog box: komalik bashy tyaya ka lagal Menu esh akan wak Opening file, choosing color. wa lam bashana pek dett open file dialog,Save file dialog, print file dialog, font dialog ,color dialog.
Tool Strip: lagal Menu bakar det Bozead krdne komalek bashe pewest wak New.

# data[].attributes.body
Database: bakardet bo save krdni data u Information akanman .

Data provider: dwae drustkrdni DataBase akaman pewesta lanaw programakaman code ek bnusen bo awae reman bat ka aw class ana bakar benen bo connect krdny DataBase akaman ba Programakamanawa , bo amash gar DataBase akaman ba Microsoft Access drust krabu awa (OLEDB) bakar benin ka bamanay (Object Linking and Embedding Database).
EX/ Using System.data.OleDb;
wa gar Database ba Oracle drust krabu awa abet (Oracle) bakar bhenin.
Connection to provider: dway bakar henaane Data Provider akaman awa connection akayn ka bam shewayaya OLEDB Connection Name= New OLEDB Connection ("Provider=microsoft.ACE.OLEDB.12.0;Data Source="+system.Environment.CurrentDirectory+"\\Database Name.accdb;");
dway drust krdni connection aka awa pewestman b a krdnawae connection u Daxstny abet ( Nam.Open(); & Name.Close();)

# data[].attributes.body
Retrieving Data: Tanha Eak record atwandret bgarendretawa la katekawa wata Record akan eak eak agarendrenawa . Wa bo xwendnawa data lanaw Database akamanda Pewestman Ba DataReader abet la ka la Class e ADO.NET daya, Atwanen DataReader bakar bein bo garanawae Datayake deary kraw lanaw DataBase kda, ean bang krdni Row ek lanaw Database akada.
ba du shewa akre --> Access:OleDbDataReader.
SQL Server:SqldataReader.

Shewaze Drust krdni Object bo dataReader: OleDbDataReader name=New OleDbDataReader();

Dwatr pewesta bange Method akaman bkayn awesh larey:ExecuteReader()
Wa bo bang krdnawae Field eke deare kraw atwanet nawe filde aka bnuset eaxud Index bakar bnet

# data[].attributes.body
Dataset: wak Contener waya ka Zyatr la Table ek laxo dagret, Dataset readable u Writeable sha,atwanen bo mawayake kate datay bxayna naweu bakare benin,Atwanen Control e Database u Dataset bkayn larey dataAdabter awa.
DataTable: bashyka la Dataset ka atwanet tanha Data e naw eak Table hakbgert wa aw Datayanay ka Data Table hale agret Pey Alen MetaData,Wa xeratra la Dataset, wea Dataset U DataTable esh lanaw class e System.Data dan.

DataAdabter: Bakrdet lanewan Dataset u DataBase ka wak Burjek waya la Newanyan .

DataGridView:Atwanen Lare am Control awa Databse akaman bbenen lasar Programakaman ka lanaw Toolbox atwane zyay kayn bo forme e programakaman .
syntax: DataGriedView1.dataSource=ds.Tables["TableName"];
wa gar westman eak field bang bkayn lanaw combobox:
ComboBox1.DisplayMember="FieldName";
Insert & Update&Delete
pewestman Ba command abet boyan wa pek det la 2 bash basy sql u bashy connection

Insert syntax:
connection.open();
OleDbCommand inst=New OleDbCommand("Insert INTO [Table1](name,age) Values('"+TextBox1.Text+",'"+TextBox2.Text+"')",Connection);
inst.ExecuteNonQuery();
connection.close();
Update Syntax:
connection.open();
OleDbCommand inst=New OleDbCommand("UPDAT [Table1] SET age='"+Textbox2.Tex+" Where Name='"+TextBox1.Text+"'',Connection);
inst.ExecuteNonQuery();
connection.close();
Delete Syntax:
connection.open();
OleDbCommand inst=New OleDbCommand("DELETE FROM [Table1] WHERE name='"+TextBox1.Text+"''',Connection);
inst.ExecuteNonQuery();
connection.close();

# data[].attributes.body
ndle:Navigation: Bretyn law Button nanay ka yarmateman ayan ka julla banaw Data u  Form akamana bkayn Awanish (First,Previous,Next,Last)
First: bakardet bo garanawa bo Yakam record
Syntax:
if(ds.Tables[0].Rows.Count>0){
N=0;
navRecords();}
Previous: Bakardet bo Garanawa Bo hangawe Pishtr
syntax:
if(ds.Tables[0].Rows.Count-1==N || N!==0){
N--;
navRecords();}
Next: Bakar det bo chun bo hangawe dwatr
syntax:
if(ds.Tables[0].Rows.Count-1>N){
N++;
navRecords();}
Last: Bakar det bo chun bo hangawe kotaey
syntax:
N=ds.Tables[0].Rows.Count-1;
navRecords();
Search: Grng tren bashy hamu Programika gar Programek search e nabet atwanen blen %70 aw programa natawawa 2 shewaze haya
1-Exact: awesh wata awae search e bo akayt abet ba tawawe lawa bchyt ka la data kanmana haya anja bot adozetawa, ka la sql akamana ba (=) da andtret.
2-Pashandle: aw jora search aya ka gar har lekchuyak habu la eakam pettawa awa bot ahenet awesh ba hemay (LIKE) dakret lagal(%).

# data[].attributes.body
ERROR: aw action aya ka abeta hoy rawastayany barnamakaman bahoy chand halayakawa , 3 jor error man haya :
1: Design-Time Error: Aw erroranan ka drust abn lakaty nuseny project akamana pesh run bun, wa system ba chan rangek peman neshan ayat.
A- Blue: bahoy halay Grammer yawa drust abet ka rega ba Edit krdnu Bardawam bunman adat .
B- Red: pey awtret Syntax Error ka la kateka drust abet ka halay syntax man habet wak danaxstnaway kawanayak ean laber chuny semicolon ek.
C-Green: pey awtret Compiler Warning ka la kateka dryst abet ka varible kman nasandwaw balam bakarman nahenawa .
2- Run-Time Eroor: aw error aya ka barnamakat Crush akat yaxud aywastenet ka hanik jar pey awtret barnamakat tushy zardwey bua ka atwandret rey le bgeret larey (Exception Handling)
3- Logic Error: Qurstren jory error a ka la barnamakaman adat cchunka pshanman nadat ka halaman la kwyadaya balku barnamakaman ba asaye RUN akat balam aw anjamaman nayaate ka xoman chawareman akrd .

Object:Regyaka bo daxl bune Class  wa xoman drusty akaynu la regayawa aw shtanay naw Class bang akaynawa .

Class:la naw Object a drust akret wa lanaw Class atwanet Grouping bkayt wata (Method & Varible) drust bkayt.
Regakani drust krdni Class:
Project==>Add Class==>Name the class
wa hamu Class ek Constructor e haya wata gar Method akaman haman nawe Class akay habu awa pey awtret Constructor ,wa har class ek akret zyatr la eak Constructor e habet

# data[].attributes.body
Data Time Picker Control: Bakar det bo deare krdni kat wa basuda laway zanine katy Input krdni Data kana, wa pek det la 2 bash Label katt pshan ayat eaxud Popup ka la kate click krdna akretawa.
Timer: bakar det bo Run krdny komalek Code law katayay ka ayayt ba Timeraka , wala class e (System.Windows.Forms.Timer) daya wa 2 properteman haya Enable Gar True bet Timer Dast bakar abet wa gar False bet awastet, wa Interval ka bo dananay kat bo Timer bakar det ka ba miliseconds daypewet.
Progressbar control: bakrdet bo pshan dane rezhay katy dast bakar buny aw karay atawet ka la Minimum bo kamtren rezha u Maximim bo gawratren rezha bakar det u Value wata nrxe esta.
syntax:
int a;
ProgressBar1.Minimum=0;
ProgressBar1.Maximum=100;
for(a=0;a<=100;a++){
ProgressBar1.Value=a;}

# data[].attributes.body
List: eakika la class akan ka lanawa System.Collection.Generics Anusret .
Shewaze drust krdni LIst:
List<Data Type>Nawe List=new List<Data Type>();
Ex/
List<int> A= new List<int>();
wa la List da bo awae Values zyad bkayn pewesta am shewaza bakar bhenin.
(Nawe LIst.Add()).
EX/ A.Add(5);
A.Add(3);
A.Add(7);
wa bo nusenaway am value yana pekawa awa ba 2 rega dakret:
1-foreach(Data Type Nawe taza in List)
bakar denin .
EX/foreach(int B in A)
{ Console.WriteLine(B);}
2-(for loob) ka bam shewaza bakar det
Ex/for(int i ; i<A.Count;i++)
{ Console.WriteLine(A[i]); }

ArrayList: lanaw System.Collections Anusret.
wa psht nabastet ba Data Type .
wa gar Data Type akanman Jyawaz bun awa pewestman ba Data Convert Abet.
ArrayList  naweArryList = new ArryList();
Ex/ArrayList X=new ArrayList();
Zyad krdne Value la ArrayList a bam shewayaa :
Nawe ArrayList.Add();
Ex/X.Add(7);
X.Add(9);
X.Add(1);
Wa bo Run krdny hamue pekawa Awa foreach bakar denen
Ex/foreach(int Y in X)
{Console.writeLine(Y);}
forloob:
for(int i; i<X.count;i++)
{Console.writeLine(X[i]);}
Wa bo Remove krdni Value bam shewaya akret:
Naw.Remove(Aw Value eay atawet);
gar ba index krdman :
Naw.RemoveAt(Zhmaray index);

Wa bo regre krdn la Crash bune barnamakaaman awa Exception Handling bakar denin:
pek det la 3 bash (try,Catch,Finally)
Atwanin zyatr la yak Catch bakar benin
baw Exception ay ka la barnamaka xoya haya awtret (System.SystemException)
baw Exception ay ka la code akani emadaya awtret (System.ApplicationEception)
try
{
Hamu code akanman lera danusen
lera Error aka adozetawa
}
Catch(Exeption ex)
lera ddast agret basar Error akamanda
{
M.S(ex.Message);
}
Finally
{
gar Exeption habet ean nabet awa am bashae era har pshan ayat
}

# data[].attributes.body
payameke Gftugoya la newan softwer akaw User akaya.

shewaze nusenakay bam joraya:
messageBox.Show(MessageText,Caption,Buttons,Icon,DefaultButton);
runkrdnawa lasar har bashek:

MessageText:aw Title aya ka lanaw MessageBox akaya nusrawaw puxtay Message akay teaea.

Caption: aw bashaya ka la bashy saraway MessageBox akaya ka amanju hokare Message akay tyaya.

Buttons: aw bashaya ka leway atwanet jory Button akant deare bkayt.

Icon: aw bashaya ka wak hemayaka bo Message ka ka agar kasek ka naxwendawaresh bet btwanet la message aka te bgat.

DefaultButton: lera awa hal abzheret ka automatic e xoy kam Button a select bkat .

wa DialogResult man haya ka atwanen la reyawa farman bayn ba MessageBox aka ka agar yakek la Button akanman halbzhard chyman bo bkat .
EX/
MessageBox.Show("Would you like to Format Your File","Warning,MessageBoxButtons.YesNo);

# data[].attributes.body
bakar det katek Data eakman habet haman Data Type habet
wa bo away compiler bzanet ka ema Array bakar denen awa lakaty code nusenda am braket a bakar denin [ ] .
wa bo rezz krdny Array kaman la bchuk bo gawra Sort bakar ahenen
gar westman la gawrawa bo bchuk bet awa lagal Sort a Reverse bakar denen
wa lera pewesta hamuy haman Data type habet
Ex/
int[] A={1,2,3};
for(int i=0;i<a.length;i++){
messagebox.show(a[i].Tostring());