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 bkrike 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: *

  • Users: Kai77
  • Content: Threads
  • Order by date
  1. Kai77

    Acces object properties using reflection

    I have the following class: namespace GPR.ODS.App.MSO.WebApp.Data { public partial class MutatieResponse { private MutatieStatus mutatieStatusField; private ApplicatieFout applicatieFoutField; ///// <remarks/> public MutatieStatus MutatieStatus {...
  2. Kai77

    Show property value in a repeater

    I have the following strucure: public struct AvailableSkillDetails { public int ID; public int CDT_ID; public int SKI_ID; public bool DIPLOMA; public DateTime DIPLOMA_DATE; public string DESCRIPTION; } I put several of these objects...
  3. Kai77

    Upload file content to SQL Server 2005 from ASP.Net

    I want to upload a file from a webpage and store the file in a binary field (image) of a record in SQL 2005 Server. What data type do i need to use to upload the file content?
  4. Kai77

    Add record with a binary field with C#

    I want to upload a file from a webpage and store the file in a binary field of a record in SQL 2005 Server. What data type do i need to use to upload the file content?
  5. Kai77

    Dynamic where clause

    Hi, I wrote the following stored procedure: set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= Alter...
  6. Kai77

    Show missing records

    Hi, I have a table "Users" with a primary key usr_userid. I made a view table called "AllUsers" which includes the table "Users" and a couple of other tables with the use of joins. When I do a count on Users, it returns 939 record. And the view returns 933. So I would like to create a view...
  7. Kai77

    Not getting all records of a MS SQL Server

    I am trying to retrieve all the records of a table in MS SQL Server, it has over 120.000 records. But when I do a "Select *" statement it only returns 43093. When I enter this in the Query Analyzer it does return all the 120.000 records. How can I solve this problem?
  8. Kai77

    Need help with a query

    Hi, I have a table which stores the answer of a survey question of a user (multiple choice). Now I am using this statement to read the number of each answer that was given for a question for ALL users: SELECT TOP 100 PERCENT dbo.surveyresults_answers.ans_quid AS QuestionId...
  9. Kai77

    SQL performance issue

    I made a survey webapp using Asp.Net. The answers given by a user are stored in a table called "survey_results". About 10 stored procedures are called each time a page of the survey is viewed. The stored procedures are simply a query (e.g.: select * from survey_results where questionid = '1'...
  10. Kai77

    Add items to dropdownlist

    I want to add items (text/value pair) to a dropdownlist. How come I only get items which are all the same (all items have the same text/value as the last item that is being added)? My code: Dim ddlItem As New ListItem ddlItem.Text = "April 2005" ddlItem.Value = "April"...
  11. Kai77

    XSL - check if child node exists

    I have the following XML document: <?xml version="1.0" encoding="utf-8" ?> - <navigation> <chapterlevel_1 title="Homepage" level="1" id="1747" active="1" breadcrumbmember="1" /> <chapterlevel_1 title="Profiel" level="1" id="1749" active="0" breadcrumbmember="0" /> - <chapterlevel_1...
  12. Kai77

    Add css class attribute to a checkbox control

    I am trying to assign a CSS class named "checkbox" to my checkbox. I have tried both the .Attribute.Add and the .Attribute.AddAtributes methods. But I keep getting this: <span class="checkbox"><input id="_ctl17_cbBrochure" type="checkbox" name="_ctl17:cbBrochure" checked="checked" /></span> It...
  13. Kai77

    Store decimal datatypes in SQL with VB.Net webapp

    Hi, I have a datafield in my database that has the sql datatype decimal (with a precision of 10 and scale of 2). When I try to add a something to this field through my vb.net webapp by using Dim strValue as string strValue = "4999.99" Dim decValue as decimal = CDec(strValue) And I would...
  14. Kai77

    Formatting numbers

    I am getting numbers in my webapp like so for instance: 100.500 is there an easy way to get rid of none needed zeroes? so i am left with 100.5 only?
  15. Kai77

    Store numbers

    I would like to store something like 100,5 or 100.5 (100 and a half) in a field. So I chose a decimal as datatype for the field. But it removes the , or . and stores it as 1005. I am probably using the wrong datatype, which is the correct one?
  16. Kai77

    Change order method of Sortedlist object

    Hi, Is it possible to change the method how the sortedlist object sorts it's entries by default? If I were to have this already in my sortedlist: "1_1_1", "value X" "2_1_1", "value Y" And I would add the following key/value combo: "11_1_1", "value Z" I would like it to come after "2_1_1"...
  17. Kai77

    Get value(s) from ascx within a .vb

    I have a usercontrol "show_survey.ascx" and a class file "clsSurveyEngine.vb". On the ascx there are some input types. Depending on these values the .vb file would render some HTML code. Is there anyway I can get the values from ascx without passing it from the ascx to the vb class.
  18. Kai77

    &quot;System.Web.HttpException: Failed to map the path&quot; error

    Hi, I am using an class which loads an ascx file. This does work , but if I don't compile the webproject after some time it gives me an "Failed to map the path 'template_question_main.ascx'" error. I tried to see whether the file was locked but it did not seem to be the case. Anything else that...
  19. Kai77

    converting an XMLDocument to an XPathDocument

    Hi, I am tryin to navigate through an XMLDocument using XPathNavigator. PagesXML is a valid xmldocument and i am trying to assign it to xpathDoc by casting it. But I am getting a 'Specified cast is invalid' message. How can I navigate through the XML? Dim getSurveyPagesXML As New...
  20. Kai77

    Making use of a function of an User Control from an aspx page

    I have this function in my codebehind of an ASCX file: Public Function addRadiobutton(ByVal strID As String, ByVal strGroupName As String, ByVal Value As String) As PlaceHolder Dim y As New RadioButton y.ID = strID y.Text = Value y.GroupName = strGroupName...

Part and Inventory Search

Back
Top