Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Varun Sareen

@Varun Sareen
About
Posts
47
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • State and City not update
    V Varun Sareen

    Dear Sir, While i am updating my contact details in my account; If i select country as india then at the same time the state and the city dropdown box doesn't gets updated. Kindly correct the same or if there is some other way of doing this kindly let me know. Regards

    Varun Sareen (Dot Net Developer)

    Site Bugs / Suggestions announcement

  • Regarding Certification?
    V Varun Sareen

    thanks

    Varun Sareen (Dot Net Developer)

    The Lounge career help question

  • Regarding Certification?
    V Varun Sareen

    what kind of certificate is this? :mad: X| you are simply a bad guy

    Varun Sareen (Dot Net Developer)

    The Lounge career help question

  • Regarding Certification?
    V Varun Sareen

    hey friends, I am a software developer having 3+ years of exp in ERP development and implementation. Which certification i should opt for that will help me grow in my career and that will add a difference to my resume?? Thanks Varun Sareen

    Varun Sareen (Dot Net Developer)

    The Lounge career help question

  • How I can Show the Value of Textbox in another form in C sharp?
    V Varun Sareen

    Use the customeventhandler functionality of .net

    Varun Sareen (Dot Net Developer)

    C# csharp help question

  • easiest way to sell products?
    V Varun Sareen

    why so???

    Varun Sareen (Dot Net Developer)

    Sales / Marketing question sales help tutorial

  • Server.MapPath() Problem!!!
    V Varun Sareen

    Thanks Hiren, the thing you told worked

    Varun Sareen (Dot Net Developer)

    ASP.NET help css database wpf wcf

  • Server.MapPath() Problem!!!
    V Varun Sareen

    Dear Friends, I want to open a file on the click of a link in the Grid named as VIEW. The path I am binding to is the local path i.e., ~/Documents/ScanDoc/[FileName] but when i am opening it on the local server; I am getting the error as follows:- File does not exist. System.Web.HttpException: File does not exist. at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response) at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context) at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    But when I updated the PathColumn in database with this value:-"http://localhost:1383/~/Document/ScanDoc/\[FileName\]" which is actually being saved as "Documents/ScanDoc/[FileName]", the thing worked and i was able to see the file when i clicked on the link. Now my problem is that how could i bind "http://localhost:1383/~" path to "Documents/ScanDoc/[FileName]" which is being saved in the database. Thanks

    Varun Sareen (Dot Net Developer)

    ASP.NET help css database wpf wcf

  • datagridview checkbox problem [modified]
    V Varun Sareen

    Thanks Hiren, for an immediate reply but i am sorry to say that I actually asked the wrong question (there was a little grammar mistake that made the question meaning other way around). Now I have corrected the question so now if you could look into it and provide me with some answer then that would be appreciable. Thanks

    Varun Sareen (Dot Net Developer)

    modified on Wednesday, December 22, 2010 4:21 AM

    C# help

  • datagridview checkbox problem [modified]
    V Varun Sareen

    Dear Friends, I have a datagridview in which there is parent child relationship in rows. I want that If a parent row is checked in the datagrid and any child node corresponding to it is checked then if the user tries to uncheck the Parent Row then the Parent row shouldn't gets uncheck and remains checked. I have tried to write the code for the same on CELLCONTENTCLICK event and on the CELLVALUECHANGEDEVENT but all in vain :(. Any kind of help will be appreciable. Thanks

    Varun Sareen (Dot Net Developer)

    modified on Wednesday, December 22, 2010 2:02 AM

    C# help

  • JavaScript not working for chrome
    V Varun Sareen

    Hello Friends, I have a javascript function of enabling and disabling a radio button on the selection of another radio button on the same form. The function is :-

    function GetRadioButtonValue()
    {
    if (document.getElementById("ctl00_Main_RadioButtonList2_0").checked==true)
    {
    document.getElementById("ctl00_Main_RadioButtonList1_2").disabled=true;
    $find('ctl00_Main_AutoCompleteExtender2').set_contextKey(document.getElementById("ctl00_Main_hdl4").value);
    }
    else if (document.getElementById("ctl00_Main_RadioButtonList2_0").checked==false)
    {
    document.getElementById("ctl00_Main_RadioButtonList1_2").disabled=false;
    $find('ctl00_Main_AutoCompleteExtender2').set_contextKey(document.getElementById("ctl00_Main_hdl5").value);
    }
    }

    The same function is successfully running on Mozilla and performing the necessary operation but not working on chrome. Why this is happening I am not able to get. Kindly help. Thanks

    Varun Sareen (Dot Net Developer)

    JavaScript javascript help

  • Replace with integer (1,2,3...) Problem in SQL Query [modified]
    V Varun Sareen

    Dear Hiren, I have made the changes as required. Kindly provide me with some answer, if you have. Thanks Varun Sareen

    Database database help css sql-server sysadmin

  • Replace with integer (1,2,3...) Problem in SQL Query [modified]
    V Varun Sareen

    Dear djj55, I have formatted the query. Please go through it and if you have any answer to it then kindly let me know. Thanks & Regards Varun Sareen

    Database database help css sql-server sysadmin

  • Replace with integer (1,2,3...) Problem in SQL Query [modified]
    V Varun Sareen

    Dear Friends, I have a query in which there is a sub query that is fetching a no of rows (single column); it may be one,two..upto six (not more than that). It is using for xml path( '' ) feature of SQL server in order to display the values as comma separated values. The query is as follows:-

    select distinct (select top 1 CLAIMMASTERID from ClaimMaster where encounterid='87B6D11C-3680-44A5-B1DB-AB16B3907AA6') ,EVC.EncounterID,EVC.CPT,(select (select ICDCode + ',' as [text()] from VisitTypeICDCPT soi where soi.VisitTypeID = t.VisitTypeID and VisitTypeID=VTI.VisitTypeID and encounterid='87B6D11C-3680-44A5-B1DB-AB16B3907AA6' order by VisitTypeID for xml path( '' )) from (select distinct VisitTypeID from VisitTypeICDCPT where VisitTypeID=VTI.VisitTypeID and encounterid='87B6D11C-3680-44A5-B1DB-AB16B3907AA6') as t )DiagnosisCode,EVC.Fee,convert(varchar(10),'2010-12-14 00:00:00.000',101) from EncounterVisitCode EVC inner join VisitTypeICDCPT VTI on EVC.encounterid=VTI.encounterid where EVC.encounterid='87B6D11C-3680-44A5-B1DB-AB16B3907AA6'

    Here the sub query(starting from :-(select (select ICDCode...)) which is fetching the data from the database and the where "Diagnosis Code" is the column name. The data query is fetching is like this:- 004.12,001.20,...upto six values (may be less). Here i want the values to be replaced by integer values depending upon the no of values being fetched by sub-query i.e., 1,2, if values in no. are two, 1,2,3, if values in no. are three and so on... I am not able to find any way out to solve this problem. If someone could help me resolve this problem i would be very grateful to him/her. Thanks Varun Sareen

    modified on Friday, December 17, 2010 6:53 AM

    Database database help css sql-server sysadmin

  • Customized DateTime Picker Control
    V Varun Sareen

    Dear Friends, I need to add a customized DateTime picker control onto my webpage. As in my database table; the data is being stored in the following format:- "yyyy-mm-dd hh:mm:ss.mmm" so the user needs to select the date and time in the following format only in order to get the correct data from the database. But I am not able to make such control. Could anyone help me out, how should i proceed with making this control?

    C# database help question

  • Conversion of a object into a particular datetime format
    V Varun Sareen

    Dear Friends, I want to convert a query string object into a datetime in this format:- "YYYY-mm-dd HH:mm:ss.xxx" in C#.net. But when i am using Convert.ToDateTime(object) for getting the datetime value then an exception is being fired. Could anyone can provide me the iFormatProvider for the same.? Thanks Varun Sareen

    C# csharp database question

  • Excel Rows and Columns
    V Varun Sareen

    Thanks dear

    C# question

  • Excel Rows and Columns
    V Varun Sareen

    Thanks Abhinav, I by mistake voted the answer bad sorry for that :)

    C# question

  • Excel Rows and Columns
    V Varun Sareen

    Hello Friends, Can anyone out there let me know the maximum no of rows and columns excel in all excel versions like 10.0, 11.0 and 12.0? Thanks Varun

    C# question

  • How to call a javascript function in content place holder when the content place holder refreshes?
    V Varun Sareen

    I have a content place holder in which there is a print button which creates a notepad file on the click of it for the records which are selected (checkboxes) in the grid view. The print button is placed in a

    tag and the tag is hidden by default on the load of content place holder. A javascript code is called on the onclick event of the checkbox in the grid which makes the

    for print button visible (if any of the checkbox is checked) and hide it when all the checkboxes are unchecked. The problem I am facing is that when I click on the print button then some events occurs and the content place holder refreshes and hence the

    tag for the print button gets hidden although the checkboxes already checked remains checked only. Now what i have done is: I have made the

    tag visible true always and looking to write a javascript code for making the

    tag invisible while the grid is not filled. But I am wondering that where should i call this particular javasscript code? If someone could help me out? Thanks Varun Sareen

    ASP.NET help javascript css tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups