Click here to Skip to main content
16,005,169 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: dynamic check boxes Pin
_AK_21-Jun-06 19:00
_AK_21-Jun-06 19:00 
AnswerRe: dynamic check boxes Pin
minhpc_bk21-Jun-06 20:00
minhpc_bk21-Jun-06 20:00 
Questiondataview.sort property [modified] Pin
Dhruvil21-Jun-06 16:45
Dhruvil21-Jun-06 16:45 
AnswerRe: dataview.sort property Pin
minhpc_bk21-Jun-06 20:06
minhpc_bk21-Jun-06 20:06 
GeneralRe: dataview.sort property Pin
Dhruvil22-Jun-06 3:09
Dhruvil22-Jun-06 3:09 
GeneralRe: dataview.sort property Pin
minhpc_bk22-Jun-06 16:24
minhpc_bk22-Jun-06 16:24 
GeneralRe: dataview.sort property Pin
Dhruvil26-Jun-06 2:22
Dhruvil26-Jun-06 2:22 
QuestionProblem with populating datagrid Pin
i@@21-Jun-06 16:23
i@@21-Jun-06 16:23 
i dont know why tis application wont works...
it keep giving me the first records in the database and populate it twice, when i wanted both 2 different records to appear...
if possible help me debug this or give me some comments...
thanks in advance...

Dim aryTest(2) as integer
arytest(0) = 1
arytest(1) = 2
Dim objAdapter As New SqlDataAdapter
Dim objDs As New DataSet
Dim ojDataRow As DataRow
Dim objArrayList As New ArrayList
objCMDB = New cCMDB
Dim i As Integer
For i = 0 To 1
mobjcmd.CommandText = "SELECT Contract_Ref,Equipment_Status, " & _
"Technology_Refresh_Eligibility, Configuration_Item_Description, " & _
"Configuration_Type, Maintenance_Contract, Procurement_Vendor, " & _
"Warrenty_Ends, Warrenty_Period FROM tblCMDB WHERE" & _
"Configuration_Item_ID = "& aryTest(i) & ""
mobjcmd.SelectCommand = mobjcmd
objAdaptor.Fill(objDs, "tblcCMDBRecords")
objDataRow = objDs.Tables("tblcCMDBRecords").Rows(0)
objcCMDB.ContractReference = objDataRow.Item("Contract_Ref")
objcCMDB.EquipmentStatus = objDataRow.Item("Equipment_Status")
objcCMDB.TechnologyRefreshEligibility = objDataRow.Item
("Technology_Refresh_Eligibility")
objcCMDB.ConfigurationItemDescription = objDataRow.Item
("Configuration_Item_Description")
objcCMDB.ConfigurationType = objDataRow.Item("Configuration_Type")
objcCMDB.MaintenanceContract = objDataRow.Item("Maintenance_Contract")
objcCMDB.ProcurementVendor = objDataRow.Item("Procurement_Vendor")
objcCMDB.WarrentyEnds = objDataRow.Item("Warrenty_Ends")
objcCMDB.WarrentyPeriod = objDataRow.Item("Warrenty_Period")
objArrayList.Add(objcCMDB)
Next
MobjCn.Close()
Return objArrayList


i@@
AnswerRe: Problem with populating datagrid Pin
minhpc_bk21-Jun-06 16:56
minhpc_bk21-Jun-06 16:56 
GeneralRe: Problem with populating datagrid Pin
i@@21-Jun-06 17:31
i@@21-Jun-06 17:31 
QuestionStumped on IsDBNull on SQLDataReader Pin
AaronM_NZ21-Jun-06 14:13
AaronM_NZ21-Jun-06 14:13 
AnswerRe: Stumped on IsDBNull on SQLDataReader Pin
Kelly Herald21-Jun-06 14:44
Kelly Herald21-Jun-06 14:44 
GeneralRe: Stumped on IsDBNull on SQLDataReader Pin
AaronM_NZ21-Jun-06 15:12
AaronM_NZ21-Jun-06 15:12 
QuestionTreeView SelectedNodeChanged [modified] Pin
maizhiming21-Jun-06 12:57
maizhiming21-Jun-06 12:57 
AnswerRe: TreeView SelectedNodeChanged Pin
minhpc_bk21-Jun-06 20:42
minhpc_bk21-Jun-06 20:42 
GeneralRe: TreeView SelectedNodeChanged Pin
maizhiming22-Jun-06 6:09
maizhiming22-Jun-06 6:09 
QuestionListener on ENTER button Pin
Chandman21-Jun-06 11:41
Chandman21-Jun-06 11:41 
AnswerRe: Listener on ENTER button Pin
Edbert P21-Jun-06 14:54
Edbert P21-Jun-06 14:54 
QuestionLoadTemplate of EditItemTemplate gives error "object reference not set to an instance ..." Pin
gulllet21-Jun-06 10:28
gulllet21-Jun-06 10:28 
AnswerRe: LoadTemplate of EditItemTemplate gives error "object reference not set to an instance ..." Pin
minhpc_bk21-Jun-06 16:44
minhpc_bk21-Jun-06 16:44 
GeneralRe: LoadTemplate of EditItemTemplate gives error "object reference not set to an instance ..." Pin
gulllet22-Jun-06 1:31
gulllet22-Jun-06 1:31 
QuestionIntegrating ASP site with ASP.net 2.0 pages Pin
Keith Goddard21-Jun-06 10:03
Keith Goddard21-Jun-06 10:03 
AnswerRe: Integrating ASP site with ASP.net 2.0 pages Pin
Edbert P21-Jun-06 15:01
Edbert P21-Jun-06 15:01 
QuestionCan i limit the the files an XML control can open at run time? Pin
Red_Wizard_Shot_The_Food21-Jun-06 9:59
Red_Wizard_Shot_The_Food21-Jun-06 9:59 
QuestionFlash like graphics in Asp .NET Pin
mikeyhardingboyo21-Jun-06 6:45
mikeyhardingboyo21-Jun-06 6:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.