Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~6K People Reached
Member Avatar for king03

Hi there guys can anyone help me with my program. Because I have an enrollment form program for highschool students and what I want to happen is it will automatically save the information inputted to it in system, not in notepad like in file streaming. So when I open the …

Member Avatar for kapojian
0
82
Member Avatar for kapojian

hi in my program the users need to update his record every week. every week there will be a different food that will be given to him. i have a table where his info are saved, column week determine what week it is?(1 month = 4 weeks) i want to …

Member Avatar for lolafuertes
0
170
Member Avatar for kapojian

hi. i have a main form and log-in form. when i try to log-in and entered a wrong user or password it gives me error and i dont understand why the error is in the main form??? heres my code in my login form.. [CODE] private void Lgbtn_Click(object sender, EventArgs …

Member Avatar for kapojian
0
136
Member Avatar for adem87

i use the access and find product but if there is many same product name how can ı list these please write for access database in c# my normaly codes are below [code] baglan.Open(); // Sorgu içinde urun isimli bir değişken kullanmışsın ancak değişkene değer atamamışsın. Sorguya null olarak giriyor. …

Member Avatar for adem87
0
201
Member Avatar for kapojian

hi, how do you add days automatically to current date? lets say i created an account in my program, and get its current date, augest 3 2011 for example, how would i add days automatically every after day, still keeps the date when i created my account. my goal is …

Member Avatar for bhagawatshinde
0
778
Member Avatar for kapojian

hi i would like to select in my database the latest date he updated his record. in my database theres a column date_updates. date_update Username(foreignkey) 08/10/2011 aaa 08/17/2011 aaa 08/24/2011 aaa now i want to select his last date update.. select date_update will select them all, i want to select …

Member Avatar for Sravanthi Ch
0
122
Member Avatar for adem87

this a serarcing button for list on the data table but give an error please find this this work in c# with access [code] DataTable tablo = new DataTable(); tablo.Columns.Add("no"); tablo.Columns.Add("urun"); tablo.Columns.Add("model"); tablo.Columns.Add("adet"); tablo.Columns.Add("boyut"); tablo.Columns.Add("aciklama"); try { DataRow satir; satir = tablo.NewRow(); while (oku.Read()) { // here satir[0] = oku[0]; …

Member Avatar for cudahead
0
133
Member Avatar for kapojian

hi, im not that good in sql and i dont know how to make a stored procedure. in my windows form, i need to archive two table from my database but only those inactive user will be archived. if user is not updating his profile for a month.... e.g TABLE1 …

Member Avatar for kvprajapati
0
103
Member Avatar for adem87

ı created a project in c # and it loaded to data in access but searching button doesnt work every time find the last loaded please find the problem [code] baglan.Open(); veri = new OleDbCommand("select urun,model,adet,boyut,aciklama from ogrenci where 'urun='" + urun + ";", baglan); oku = veri.ExecuteReader(); while (oku.Read()) …

Member Avatar for adem87
0
104
Member Avatar for coroll

Hi all, when i execute it gives me this exception. I am trying but i coudnt slove. Plz help me. InvalidOperationException ExecuteNonQuery requires an open and available Connection. The connection's current state is closed. it points to this line -> "int executed = com.ExecuteNonQuery();" this is my code: [CODE] try …

Member Avatar for coroll
0
158
Member Avatar for shridharmaster

Hello Friends, I want to create our own object oriented programming language using C#. Is it possible?How? I want to know what are the steps used to create the languages. Please guide me. Thanking you. Regards, Shridhar

Member Avatar for Momerath
0
334
Member Avatar for kapojian

in my c# program, you will have to create accounts for you to log-in. now, when i create an account, (username, password, age, gender, date...) the info will be inserted in a table named "users". ones a users has a created an account he needs to update his record everyday, …

Member Avatar for Fenrir()
0
100
Member Avatar for potsha

Hey, I'm a 4th year CS student. And I need a topic for my thesis. Anything related to software or any CAI or gaming would be great. :) Please help me! :S

Member Avatar for kapojian
0
79
Member Avatar for kapojian

hi, i would like to ask where should i put my access database before publishing my application?? its inside my "windowsformapplication1" folder in project folder.. but when i publish it, there's no database in it. lol, already created an application yer doesnt know how to publish w database. :D thanks...

Member Avatar for kapojian
0
84
Member Avatar for kapojian

my program doesnt seem following my if statement condition, i have || and && in my statement... is there a better way to do this??thanks this just an example of my code... [CODE]else if (age>19&&bmires2>=18.50||bmires2<=25.00) {messagebox.show("normal weight"); } else if (age<19&&bmires2<18.50||bmires2>13.25) { messagebox.show("underweight"); }[/CODE]

Member Avatar for kapojian
0
324
Member Avatar for coroll

Hi! my code gives me this error. "An object reference is required for the non-static field, method, or property 'HD.RegisterMember.CN'" Plz can anyone help me. This is my code(Class); [CODE] private SqlConnection CN; public static String getLastMemID() { String ID = null; try { CN = new SqlConnection("Data Source=BJ-PC\\SQLEXPRESS;Initial Catalog=DB;Integrated …

Member Avatar for kapojian
0
153
Member Avatar for kapojian

how can you remove the excess width in may datagridview??? after that long blank space theres another field.. as shown in the image.. my code goes something like this [CODE]//create a command builder OleDbCommandBuilder cBuilder = new OleDbCommandBuilder(dAdapter); //create a DataTable to hold the query results DataTable dTable = new …

Member Avatar for kapojian
0
199
Member Avatar for arsalanghouri

please tell me where am i wrong [CODE]try { OleDbCommand cmd = new OleDbCommand(); cmd.CommandType = CommandType.Text; cmd.CommandText = "insert into purchase(pdate,bill id,ritem,suppname,smobno,qty,rate,amount,payment,balance) Values('" + dateTimePicker1.Text.ToString() + "','" + textBox15.Text.ToString() + "','" + textBox7.Text.ToString() + "','" + textBox12.Text.ToString() + "','" + comboBox2.Text.ToString() + "','" + textBox14.Text.ToString() + "','" + textBox13.Text.ToString() …

Member Avatar for kapojian
0
202
Member Avatar for kapojian

in my access database the column "foods" has multiline text..but when i view it in datagridview in my c# form it only has single line text,,, the width and height in datagridview is not the same as in my access database... my access database looks like this [U]|primary key|[/U][U]|foods|[/U][U]|servings|[/U] 00000001 …

Member Avatar for kapojian
0
145
Member Avatar for kapojian

ist possible to have another if statement after the first if statement.. this is just an example [ICODE] private void button_click(object sender, eventargs e) try { if(age>5||age<=10) {massagebox.show("young");} else if(age>10||age<20); messagebox.show("example"); } catch(exception) messagebox.show("error"); //can i have another if statement here??? if(something ==eg) {messagebox.show("thanks"); } [/ICODE]

Member Avatar for Momerath
0
105
Member Avatar for kapojian

i have a main form that has a button, when click a subform1 will open. in subform1 theres another button that will open subform2 in main form..i have this code in subform1. [CODE] { profilefrm prf = null; foreach (Form existingForm in this.MdiChildren) { prf = existingForm as profilefrm; if …

Member Avatar for symeramon
0
548
Member Avatar for eoop.org

Hi, is it someone who knows how to make a login system wich uses mysql? :S NEEED HELP!

Member Avatar for skatamatic
0
159
Member Avatar for kapojian

i have three forms, mainform(which is the "MAIN") log-in and home form. when accessing buttons in the main form to enable it i did this. its property is set to public. [CODE](this.Owner as Main).homebtn.Enabled = true;[/CODE] after logging in homebtn is anabled, when clicked, the home form will show and …

Member Avatar for CsharpChico
0
153
Member Avatar for kapojian

help please.. how can i store the selected value from my database to a variable in my c# form... (eg. variable=select idnum from tblename)<--- i know i cant do that.. how can i pass its value?? im talking about a specific value from the database. lets say i log in …

Member Avatar for kapojian
0
1K