Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. compu66

    MSBuild

    Hi all, We are planning build our application using MSBuild, I would appreciate if some one can provide some useful links to it.. Thanks for all your help..
  2. compu66

    Microsoft Enterprise Logging

    Hi all, We are using MS Enterprise logging and I would like to know if it supports loggerMaxSize and LoggerFileRolls. I appreciate if I anyone can provide me with some useful links . Thanks in advance for all your time.
  3. compu66

    how to compare datareader value in if

    There is problem in the if condition. The error is coming up from that part. The error is "@patientid should be declared" I hope I am clear. thanks for your time and quick responses.
  4. compu66

    how to compare datareader value in if

    Hi, If (DirectCast(drAccessionNumbers("status"), String) <> "Provisional") AndAlso (DirectCast(drAccessionNumbers("status"), String) <> "Completed") Then sql = "UPDATE ExamRecord SET Status='Cancelled' WHERE AccessionNumber = " & drAccessionNumbers.Item(0) sql2 = "UPDATE AdditionalExamRecord...
  5. compu66

    how to compare datareader value in if

    Hi all, I am getting an error patientid as not declared Dim strstatus As String = drAccessionNumbers.Item(1).ToString() If (DirectCast(drAccessionNumbers("status"), String) <> "Provisional") AndAlso (DirectCast(drAccessionNumbers("status"), String) <> "Completed") Then sql = "UPDATE...
  6. compu66

    Hyperlink tooltip dont show up

    Hi, Here is my code For Each Task As ExamTask In Tasks(AccNum) Dim lnkTask As New HyperLink lnkTask.ID = "lnkTask_" + Task.ExamTasksID.ToString() lnkTask.ImageUrl = Task.ImageURL lnkTask.NavigateUrl = "Javascript:window.showModalDialog('../Reports/AddExamTask.aspx?acc=" &...
  7. compu66

    How to disable the javascript pop up for a control??

    I am sorry for the inconvinence... I understand..I was partially expecting the same reply.. Anyways Just can you let me know if there is way to disable the javascript pop?? Thanks.
  8. compu66

    How to disable the javascript pop up for a control??

    Hi all, I want to disable javascript popup for a linkbutton? Is there any way. The reason is the popup should come for only linkbutton1 but due to some coding that cant be removed its getting popup even for linkbutton2 which is not required. Is there any way to stop?? Thanks for any help in...
  9. compu66

    Hyperlink doesnt respond properly

    The below code is wriiten in Btnsave_click event which is the "save hyperlink" event. Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click If (dh.RequiresMamTracking(nExam) And String.IsNullOrEmpty(lblMamCatDescription.Text)) Then...
  10. compu66

    Hyperlink doesnt respond properly

    Hi all, Thanks for your response.Here is the code which causes the javascript popup. If (dh.RequiresMamTracking(nExam) And String.IsNullOrEmpty(lblMamCatDescription.Text)) Then btnSave.Attributes.Add("onClick", "javascript:verifyCategorySelection();return false")...
  11. compu66

    Hyperlink doesnt respond properly

    Hi all, I have a hyperlink "Save" which should through a pop up when the "setcategory" (which is another hyperlink when user click it opens a javascript window with a dropdown from which a category need to be selected) is not selected. Now my problem is when initially I click on "save"...
  12. compu66

    How to validate a textbox for the spaces

    Hi, I tried using Custom Validator handling Client and server side code. function tbSpaces(source,args){ if(trim(txtFirstname)==""){ args.IsValid=false;} else{ args.IsValid=true;} } Protected Sub tbSpaces(ByVal source As System.Object, ByVal args As...
  13. compu66

    How to validate a textbox for the spaces

    The regualar i am using is [a-z A-Z -]{1,20},this is working good but dont handle spaces.
  14. compu66

    How to validate a textbox for the spaces

    Hi all, I have textbox,if the user enters spaces it should throw an error. I think it can only be possible by custom validator.Or is there any thing other way than this. Thanks.
  15. compu66

    can I dispose dataset when returning the dataset

    In the above I am sure from your explaination that if I remove "cnn.close()".I will not get the error. But one thing i am not clear is except cnn.close(),if i dispose other objects like cmd.dispose() and cnn.dispose() in the above code which I sent, is that good way of coding.Will it cause any...
  16. compu66

    Retrieve Data from stored procedure

    you have explained everything well But can I know what is "Coalesce" and "set Nocount" on used.
  17. compu66

    can I dispose dataset when returning the dataset

    HI Thanks for ur good response. hey I have tried it. In the below case I think because of little knowledge i might be getting confuseed but as far as i remmember once when i did the below it was fine and the other time it gave me an error "u cant reader when the reader is close" Public...
  18. compu66

    can I dispose dataset when returning the dataset

    hey I have one more question.I am returning ds in a function and in finally if i dispose what are the effects.Is it good practice or may end up landing me in to errors.
  19. compu66

    can I dispose dataset when returning the dataset

    Hi all, If we dont dispose the objects in finally what happens?? In my opinion if the objects are not disposed properly the application might run slowly because of improper resources.Am i right?? IF i am returning a dataset then in finally block if I dispose the dataset ,in any of the...
  20. compu66

    disposing the objects

    Hi all, If I write cmd.connection.dispose() In this only connection object gets destroyed ,or even command object also gets destroyed. Thanks for any help in advance.

Part and Inventory Search

Back
Top