User Profile

Collapse

Profile Sidebar

Collapse
sajitk
sajitk
Last Activity: Dec 11 '09, 08:14 AM
Joined: Feb 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sajitk
    replied to Arrays in C#
    in C
    Dear Weaknessforcats ,

    can u help me out on this....or can u help me with some links for better understanding.. ...wud be grateful if u could help me....

    sajit
    See more | Go to post

    Leave a comment:


  • sajitk
    started a topic Arrays in C#
    in C

    Arrays in C#

    Dear All,

    I have the following table

    Lines Heads Proposal No

    02 Travel Prop-001
    03 Cost Prop-001

    The records for the particular Proposal no is not limited. It can vary with 2 or more records.Now on the click of a buttn, i want IIA to be added to the values saved under the lines for all records for that particular Proposal...
    See more | Go to post

  • sajitk
    started a topic Grid View

    Grid View

    Guys,

    I have a grid view where i use the option of Editing a record. When i click on the edit button, Update and Cancel button appears.

    But when i click on the Update link, the event is not generated. I am not using templates, i am just using bounded fields.

    I have written the update program. Can anyone tell me the reason why this event is not fired. I have a primary key Sno, which is mentioned in the...
    See more | Go to post

  • sajitk
    started a topic Date Diff in C# and Asp.net

    Date Diff in C# and Asp.net

    Dear All

    I have two dates ile Start Date and End Date.

    I want to get the difference of the 2 dates in months.....How do we do it...

    For eg.

    Start Date = 01/11/2009
    End Date: 01/01/2010;

    The answer i want is 2 months

    Help requested.

    Thanks in advance

    Sajit
    See more | Go to post

  • sajitk
    started a topic Project in ASP.Net and C#

    Project in ASP.Net and C#

    Dear Friends,

    I have to retrieve a value from the database into a webform.

    For eg. in the table Salary, I have a field called Tot_Salary. If the value in this field is 20000.

    When i retireve this into a form, i want it to be displayed as 20,000.00.

    If again the Tot_Salary has some value like 28524.15

    then this will be displayed as 28,524.15

    Can this be done....???...
    See more | Go to post

  • sajitk
    replied to currency formatting
    Dear faelnefal,

    When i use this function, a $ sign is preceeded everytime, is there a way i can change / remove this.

    textBox1.Text = string.Format(" {0:c}",sample);

    Sajit
    See more | Go to post

    Leave a comment:


  • sajitk
    replied to currency formatting
    Dear faelnefal,

    thanks for the earlier mail

    Now suppose, if my sample has a value 12345, this format will display as 0,12,345.

    What i need to tackle this. What i want is that a function that will tackle all of this.


    Sjait
    See more | Go to post

    Leave a comment:


  • sajitk
    replied to currency formatting
    Dear faelnefal

    How will i show the value in the "sample" variable in a text box.

    Sajit
    See more | Go to post

    Leave a comment:


  • sajitk
    started a topic currency formatting

    currency formatting

    Dear All,

    I am making a project using ASP.Net and C#.

    I have a text box where i enter the amount. What i want is that when the user goes to the next field, i want the amount to the formatted in the following way:

    For example, if the entered amount is 100000; i want it to be formatted as
    Rs. 1,00,000.00

    This Rs. is for Indian Rupees. This can be US Dollors or Euro also.
    ...
    See more | Go to post

  • sajitk
    replied to Project in ASP.Net and C#
    Thanks biswas for the prompt response.

    How will the table structure be, to store this data??? Will the column heads be the table field.

    Thanks / sajit
    See more | Go to post

    Leave a comment:


  • sajitk
    started a topic Project in ASP.Net and C#

    Project in ASP.Net and C#

    Dear All,

    i am making an inhouse software to track all contract details, right from the sanction of the contract to the implementation of the project.

    I have the a table named mtblcontract;

    Proj_No - primary key
    Funding Agency
    Sanctioned Amount
    Start Date
    End Date


    This above table stores the basic information of the project.

    I have...
    See more | Go to post

  • sajitk
    started a topic Project using ASP.Net and C#

    Project using ASP.Net and C#

    Dear All,

    I am creating an application using ASP.Net and C#.

    The situation is, I have a radio button (which has 'Yes' and 'No' option) on Form 1. If i click on the Yes, it takes me Form 2, where the relevant information is filled. On Form 2, there is a command button, which when clicked, takes me back to Form 1.

    The problem is that when the command button is clicked on Form 2, the data on Form 1 disappears....
    See more | Go to post

  • sajitk
    replied to Allowing only Numericals in a text box.
    it is a webform

    sajit...
    See more | Go to post

    Leave a comment:


  • sajitk
    started a topic Allowing only Numericals in a text box.

    Allowing only Numericals in a text box.

    Dear All,

    how do i make sure that the text box accepts only numericals.

    Thanks / Sajit
    See more | Go to post

  • sajitk
    replied to Drop Down List
    Thanks,

    will take care of using # while pasting codes

    Sajit...
    See more | Go to post

    Leave a comment:


  • sajitk
    started a topic Drop Down List

    Drop Down List

    Dear All,

    I am populating a DDL from a table.

    the DDL gets populated with the list of currency_type. the first value on the list is INR. there are other currency types like INR, USD, EURO etc.

    there are 3 txtboxes which are also on the form. If the selected Item is iNR, then txtbox1 and txtbox2 would be displayed, else txtbox3 is displayed.

    when the form is loaded, if the default value...
    See more | Go to post

  • sajitk
    started a topic Text Box Events

    Text Box Events

    Guys,

    I am new to Programming in ASP.net using C#.

    I have 2 numeric values in 2 text box and i am asked to display the addition value in the third box. I have writing the following code in the text change () of the second box
    Code:
            int InINR;
            int ExghRt;
            int FC;
    
            ExghRt = Convert.ToInt32(txtExchRate.Text);
            FC = Convert.ToInt32(txtFC.Text);
    ...
    See more | Go to post
    Last edited by Frinavale; Sep 28 '09, 01:46 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • sajitk
    replied to SQL Query
    Can somebody explain me with the code......pls.. .i am running out of time.
    See more | Go to post

    Leave a comment:


  • sajitk
    replied to SQL Query
    Sorry CK,

    Actually the opposite is happening..i will just explain the whole thing again....

    Cont_ID FName Address
    BCF01 Sajit XYZ
    BCF02 ABC MNO
    BCF03 EFG XXX
    BCF04 sdd dddd
    BCF05 DDD WWW

    The structure of Node_Dtls is as follows

    Cont_ID Node_ID Parent_ID
    BCF01 52 50
    BCF02 53 52
    BCF03 54 51
    BCF04 56 53
    BCF05 57 56...
    See more | Go to post

    Leave a comment:


  • sajitk
    started a topic SQL Query

    SQL Query

    Hi,

    I have 2 tables namely Cont_Dtls and Node_Dtls

    The structure of Cont_Dtls is as follows:

    Cont_ID FName Address
    BCF01 Sajit XYZ
    BCF02 ABC MNO
    BCF03 EFG XXX

    The structure of Node_Dtls is as follows

    Cont_ID Node_ID Parent_ID
    BCF01 52 50...
    See more | Go to post
No activity results to display
Show More
Working...