User Profile

Collapse

Profile Sidebar

Collapse
neelmukhopadhya
neelmukhopadhya
Last Activity: Jun 19 '12, 08:34 AM
Joined: Dec 22 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • neelmukhopadhya
    started a topic Tree view recursive

    Tree view recursive

    I have tried for a recursive tree.

    Please help me.

    Here is my code:
    Code:
    private void PopulateReport()
            {
                List<ListItems> siteData = new List<ListItems>();
                DataTable dt = GetAllData4();
    
                foreach (DataRow dr in dt.Rows)
                {
                   siteData.Add(new ListItems(int.Parse(dr["MainId"].ToString()),dr["MainName"].ToString(),int.Parse(dr["SecondId"].ToString()),dr["SecondName"].ToString(),int.Parse(dr["ThirdId"].ToString()),dr["ThirdName"].ToString()));
    ...
    See more | Go to post
    Last edited by Frinavale; Jun 18 '12, 02:13 PM. Reason: Added code tags and removed all-caps text. When you post something in caps online, it is the equivalent to yelling. Please refrain from posting in all caps and please use code tags in the future.

  • neelmukhopadhya
    started a topic App.config

    App.config

    Hi all thanks in advance.
    i am developing an windows application with c#.net and sql 2008R2. with MS Enterprise library. here i have used app.config file to store the Sql connection string. After completing the project, i have created a setup. during the creation of the setup i have added app.config file in the setup project. but with this setup project, i am unable to change the sql connection string. if i change the string it is not reading...
    See more | Go to post

  • neelmukhopadhya
    started a topic Crystal report

    Crystal report

    hi all thanks in advance. i need a help. I am developing a windows application. where i have report which i am using crystal report. I have created a typed dataset and datatable named customer inside the dataset. Now i am getting the Datatable from my business module for which i need to show data.

    ex.

    string familyCode = txtFamilyCode.T ext.Trim();
    DataTable dt = _presenter.GetC ustomerDetailsO nFamilyCode(fam ilyCode);...
    See more | Go to post

  • Code:
    function CheckEmail() {
                var email = document.getElementById('txtEmail');
                var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/ ;
                if (!filter.test(email.value)) {
                    alert('Please provide a valid email address');
                    return false;
                }
                alert('email address is Ok');
                return true;
    ...
    See more | Go to post
    Last edited by Dormilich; Jul 21 '11, 11:39 AM. Reason: please use [CODE] [/CODE] tags when posting code

    Leave a comment:


  • email validation that will not accept underscore after the @

    Hi,
    all thanks in advance, i need a help immediately.

    i need to create email validation function that will accept no underscore character after the @

    Please help. its so urgent
    See more | Go to post

  • neelmukhopadhya
    started a topic setup project with Serial number

    setup project with Serial number

    Hi all thanks in advance.I am creating a project in c#.net and sql server 2008.
    Everything working fine. But i need to create setup file for that. i can create the setup file. But need to create this setup file with serial key, without this setup key, it will be trial period for 30 days.

    Please help me. thanks and advance.its urgent.
    See more | Go to post

  • If you dont mention the date , it will automatically put system date.SO it is better to check whether you have entered the date or not. If you are using datetime type variable then take it as nullable
    like, DateTime? datetime. then only you can put null valus to the datecolumn.
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    replied to Event handling
    yes, i am adding item to the database. but from another modal form. over the form which contains the grid. Now i want to update the grid as soon as i insert the value from the addition form .
    pls help.
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    started a topic Event handling

    Event handling

    Hi all i need a help.i am working on a project. where i have a form which displays the list of items in a grid. and there is a button named "add" below the form. when i click on add button , a new modal form is opened to enter the item details. everything working fine for me.
    But i nned to reload the grid whenever a item is added .
    How can i do this.

    This is a winform application. i am using c#.net 2008....
    See more | Go to post

  • neelmukhopadhya
    started a topic Login failed for user

    Login failed for user

    Hi all i need a help.
    first of all i want to tell you te problem. i am using windows xp, professional. with sql server 2008, and visual studio 2008. name of my sql server instance is USER1,

    before i have only one default administrative account. in my pc. i am using connection string for cooneting with sql server database, with user is as sa, and password is indranil.before it was working all right. but 2 days before i have...
    See more | Go to post

  • neelmukhopadhya
    replied to search value from table by date
    i am getting the as result by executing the query as
    select * from Point_item_mast er where PointName='ABC'
    but whenever i am using the result i am not getting any result.

    below is the line which i got from querying with pointname.
    first column is the interger field. 2nd column is the datetime field. 3rd column is the string field. next column is the interger field.

    1 2011-01-11 00:00:00.000 NEPAKULI...
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    replied to search value from table by date
    DATE IS FORMATTED AS 11/01/2011 12:00:00 AM IN THE DATABASE.
    I think sql server stores datetime in that format.i have also tried with the same format as of you . i am not getting the result.
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    replied to search value from table by date
    yes i have used it, but same result. Can you give me an example
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    replied to search value from table by date
    yes , i have used it.
    but no result
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    replied to search value from table by date
    datatype of the field is Datetime. and the column name is purchasedate as an example, You can take this as Date as the coulmn name.
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    replied to search value from table by date
    i am using MS sql server 2005. and i am storing as a date.
    and if i make query without date it is running fine.
    but when i am using date it is not returning any value.

    Regards
    Neel
    See more | Go to post

    Leave a comment:


  • neelmukhopadhya
    started a topic search value from table by date

    search value from table by date

    hi,All thanks in advance. i need a help.
    i am working with a sql server 2005 database. where a table contains data like INTNO, name, dateofpurchase , item
    now i want to search the value based on name and dateofpurchase fields. but not value is retrieving. i don't know what is happening.

    here is the code i am using.

    <code>
    select INTNO from Point_item_mast er where PointName='ABC' and Date='1/12/2010'...
    See more | Go to post

  • neelmukhopadhya
    started a topic Application Deployment

    Application Deployment

    Hi All Thanks in advance,
    I need a help it is urgent.
    I have developed an application with c#.net and sql server 2008.

    after that, i have created a setup project .
    Now i ahve a question. DO i Need to install sql server 2008 in the client machine to restore the db file there.
    Or there is any other way, that i can use during setup creattion, that i dont need to install sql server in the client machine....
    See more | Go to post

  • THANKS I HAVE DONE THE QUERY,
    IT IS
    select * FROM TABLENAME GROUP BY COL1,COL2 HAVING(count(CO L1)=1 )

    THIS WORKS FINE FOR ME.
    THANKS AGAIN

    REGARDS
    NEEL
    See more | Go to post

    Leave a comment:


  • can u give me an example, pls. i need it urgently.

    warm Regards

    Neel
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...