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
{...
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...
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?
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?
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...
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...
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?
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...
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'...
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"...
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...
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...
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?
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"...
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.
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.