Hi, I am developing Time Sheet where the user selects the date from asp calender so that seven days will be displayed and the no.of.hours worked will be entered Here my question is how to save the hours worked into the database. In my databse there are columns from day1 to day31. I like to save the hours entered into the corresponding day of database as same the days i entered in the front end. Suppose if i enetered 8hours for day 27 i like to save 8 in day27 of database. Please suggest me how i can do this.... Thanks & Regards Anjani
Anjani Poornima
Posts
-
Time Sheet -
How to fill GridviewHi, I am develpoing Time sheet using asp.net gridview. when the user selects the date the gridview must be automatically generated with all the dates of that particular week on header. Please help me how i can do this.... Thanks & Regards Anjani
-
datagridviewHello In my application i am having a datagridview with a combobox column and the data in the combobox is binded with a company table in database. and the display member field is binded with column "Company Name" and the Value field is binded with column "Company Id". When i click on the save button i like to save the selected display member and also the value field. Plz tell me how i can do this... Thanks in advance...
-
how to bind the result of the query to the textbox in c#Thank you for sending the link which helps for getting the basics on windows application. and more over i got solution to my query also. textbox1.Text=command.executescalr().tostring() :)
-
how to bind the result of the query to the textbox in c#Sir, i like to know how to bind the query to the textbox. plz send me any link regarding this.
-
how to bind the result of the query to the textbox in c#hello, In my application i am having a textbox amount. I like to bind my textbox with the result of the query i.e. "select sum(amount) from tablename". how i can bind the result of the query to the textbox in windows application. plz,help me in doiing this... Thanks in advance
-
how to keep the values in the formhello, yah i know how to save the values entered in the form into the database and well i know how to retrive the values from the database. what i need is when the form is closed and opened for the second time i like to see the values what i had entered previously. Thanks in advance
-
how to keep the values in the formhello, In my application i am having a form with textbox fields and one button exit. when the form is closed and opened for the second time i like to see the values already i had entered in the textboxes for the first time. plz help me how i can do this.... Thnaks in advance
-
how to pass the values between the datagridview's in different pagesThank you for giving me a nice example. :)
-
how to pass the values between the datagridview's in different pagesthank you for giving me an idea. i got it :)
-
how to pass the values between the datagridview's in different pagesHello, In my application i am having two forms. In the first form i am having a textbox and in the second form i am having a datagridview and a button back. when the button back is clicked i like to get the data from the datagridview to the textbox in the first form. Please help me how i can do this. I have no sound about this....plz help me Thanks in advance
-
how to redirect the page when the particular cell in the datagridview is double clikcedhello, I wrote the code for redirecting the page in celldoubleclick event. It make me redirect the page when the column is doubleclicked. But what i need is only when the column 'area' is doubleclicked it must redirect the page. Here i have to check the condition only when the column area is double clicked it must redirect the page. How to do this.What event i have to use. Plz, help me in doing this.
-
how to redirect the page when the particular cell in the datagridview is double clikcedhello I am having datagridview with columns Description area rate and value. All the columns are datagridview textbox columns. the description column when clikced where we can enter the description and when the columns area,rate and value are double clikced then the page must redirect to another page. I tried this by the event CellDoubleClick but i can't get what i required Plz, help me in doing this.
-
How to get the value onto the column in datagridviewHello I am having a datagridview with columns Existing balance Credit Debit and one button save.If i Click on the save button the value i entered in the credit or debit column must get into the column existing balance. Plz help me....
-
How to caluclate the sum in datagridviewHello.... In my application i am having a datagriview with columns Column1 column2 column3 Accountname Debit Credit ----------------------------------- total debit total credit The total debit and total credit are two textboxes outside the gridview. And my gridview is unbound. Plz help me how i can caluclate all the values in the debit column and get the result in the toatldebit textbox and similarly credit into total credit textbox. Plz someone post me the code... It's helpful Thanks in advance... :)
-
Validating a textbox within the gridviewHello, In my application i am having a datagridview. And in that datagridview one of the column is textbox. I like to validate the textbox so that only numbers to be entered into the textbox. And on clicking the button a dialog box with error messesge to be displayed if any other is entered into the textbox beyond the number. plz, help me in doing this...... Thanks in advance :)
-
How to validate the textboxHello, I am having two textboxe's i.e Credit and Debit. I want to validate the textbox so that only must be entered i.e either credit or debit. If the both the textboxe's are filled it must raise a validation that only must be filled. plz help me how to validate these textboxe's Thanks in advance :)
-
To get the value into the textbox when when particular item is selected in dropdown listHello, I am having a table in my databse with columns ACCOUNT_CODE NARRATION i filled dropdown list with account code values from the database. now my question is: when i select the p[articular item in the dropdown list, the narration textbox must be filled from the database based on the selected item. Plz,help me.... Thanks in advance :)
-
how to get the values into the dropdown listhi, I am having three drop down lists 1.countires 2.states 3.cities I filled my country dorpdownlist from the database. And now i like to fill the states dropdown list when the country is selected all the states of the corresponding countries must be filled. Any one plz help me how i can do this.... Thanx in advance
-
Gridviewhii, Not like that... I want gridview in the format that john is the emp_name. I want to get emp_name only in the first row of the gridview... In the second row i should not get the empname have to move directly to the dependent_name. i.e in the second & third row the emp_name cell must be empty.. How i can get this.. plz help me its very urgent Thanks in advance