Click here to Skip to main content
16,007,779 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: webparts in asp.net Pin
Not Active5-Apr-07 3:26
mentorNot Active5-Apr-07 3:26 
QuestionAjax & ASP.Net 1.1 ? Pin
digsy_5-Apr-07 3:07
digsy_5-Apr-07 3:07 
AnswerRe: Ajax & ASP.Net 1.1 ? Pin
Not Active5-Apr-07 3:23
mentorNot Active5-Apr-07 3:23 
GeneralRe: Ajax & ASP.Net 1.1 ? Pin
digsy_5-Apr-07 3:35
digsy_5-Apr-07 3:35 
QuestionPage load to display the gridview Pin
Oga M5-Apr-07 3:04
Oga M5-Apr-07 3:04 
AnswerRe: Page load to display the gridview Pin
Not Active5-Apr-07 3:20
mentorNot Active5-Apr-07 3:20 
AnswerRe: Page load to display the gridview Pin
ToddHileHoffer5-Apr-07 3:35
ToddHileHoffer5-Apr-07 3:35 
QuestionPlease help me with this code Pin
Oga M5-Apr-07 2:58
Oga M5-Apr-07 2:58 
*This is a error
************
Object reference not set to an instance of an object.
*******************
*This is my code,when you click button to enter the captured values from the controls in to the Table
**************
otected Sub ButtonSubMana_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonSubMana.Click
Dim ds1 As New Data.DataSet
Dim obj As Businesslayer.TimeSheet = New Businesslayer.TimeSheet
Dim NumberOfBoxes As Integer
Dim WhichBox As Integer
NumberOfBoxes = Integer.Parse(txtDay.Text)
Dim rows(NumberOfBoxes) As Integer


For WhichBox = 0 To NumberOfBoxes
Dim txtDate As TextBox = CType(Repeater1.Items(WhichBox).FindControl("txtDate"), TextBox)
Dim cmbProjectName As DropDownList = CType(Repeater1.Items(WhichBox).FindControl("cmbProjectName"), DropDownList)
Dim cmbClientSite As DropDownList = CType(Repeater1.Items(WhichBox).FindControl("cmbClientSite"), DropDownList)
Dim cmbProjectManager As DropDownList = CType(Repeater1.Items(WhichBox).FindControl("cmbProjectManager"), DropDownList)
Dim cmbProjectMember As DropDownList = CType(Repeater1.Items(WhichBox).FindControl("cmbProjectMember"), DropDownList)
Dim cmbCategory As DropDownList = CType(Repeater1.Items(WhichBox).FindControl("cmbCategory"), DropDownList)
Dim cmbOccupation As DropDownList = CType(Repeater1.Items(WhichBox).FindControl("cmbOccupation"), DropDownList)
Dim txtHours As TextBox = CType(Repeater1.Items(WhichBox).FindControl("txtHours"), TextBox)
Dim CheckBox1 As CheckBox = CType(Repeater1.Items(WhichBox).FindControl("CheckBox1"), CheckBox)
Dim txtDescription As TextBox = CType(Repeater1.Items(WhichBox).FindControl("txtDescription"), TextBox)

obj.addTimesheet(txtIDNumber.Text, cmbProjectName.SelectedItem.Text, cmbClientSite.SelectedItem.Text, cmbProjectManager.SelectedItem.Text, cmbProjectMember.SelectedItem.Text, cmbOccupation.SelectedItem.Text, txtDate.Text, Double.Parse(txtHours.Text), txtDescription.Text, CheckBox1.Checked, cmbCategory.SelectedItem.Text)
Next


MsgBox("Successfully add")
End Sub

End Class
******************
I have created parameters and declared variables of my control inside a class Timesheet
*******
Please help me with this code

oga m

AnswerRe: Please help me with this code Pin
Not Active5-Apr-07 3:05
mentorNot Active5-Apr-07 3:05 
GeneralRe: Please help me with this code Pin
Oga M5-Apr-07 3:20
Oga M5-Apr-07 3:20 
GeneralRe: Please help me with this code Pin
Not Active5-Apr-07 3:28
mentorNot Active5-Apr-07 3:28 
GeneralRe: Please help me with this code Pin
Oga M5-Apr-07 3:51
Oga M5-Apr-07 3:51 
GeneralRe: Please help me with this code [modified] Pin
Not Active5-Apr-07 4:08
mentorNot Active5-Apr-07 4:08 
GeneralRe: Please help me with this code Pin
Oga M5-Apr-07 4:19
Oga M5-Apr-07 4:19 
GeneralRe: Please help me with this code Pin
Not Active5-Apr-07 4:43
mentorNot Active5-Apr-07 4:43 
GeneralRe: Please help me with this code Pin
Oga M5-Apr-07 5:06
Oga M5-Apr-07 5:06 
GeneralRe: Please help me with this code Pin
Not Active5-Apr-07 5:12
mentorNot Active5-Apr-07 5:12 
QuestionDefaultAppPool crashing Pin
Srinu_ss55-Apr-07 2:47
Srinu_ss55-Apr-07 2:47 
AnswerRe: DefaultAppPool crashing Pin
kubben5-Apr-07 2:56
kubben5-Apr-07 2:56 
GeneralRe: DefaultAppPool crashing Pin
Srinu_ss55-Apr-07 4:28
Srinu_ss55-Apr-07 4:28 
GeneralRe: DefaultAppPool crashing Pin
kubben5-Apr-07 4:33
kubben5-Apr-07 4:33 
QuestionAdd image to gridview Pin
musicDiva5-Apr-07 2:41
musicDiva5-Apr-07 2:41 
AnswerRe: Add image to gridview Pin
Kunal P5-Apr-07 4:33
Kunal P5-Apr-07 4:33 
GeneralRe: Add image to gridview Pin
musicDiva5-Apr-07 13:56
musicDiva5-Apr-07 13:56 
AnswerRe: Add image to gridview Pin
Kunal P6-Apr-07 4:03
Kunal P6-Apr-07 4:03 

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.