jbenson,
thanx but didnt work either. It is still telling me that "object refernce not set to an instance of an object." It just does not want to access the nested grid whatsoever. What am i doing wrong??
All my code is up top. Only thing i added was:
Dim dgAccounts As DataGrid = CType(dgItem.FindControl("dgAccounts"), DataGrid)
>>i = dgAccounts.Items.Count >>Wont allow this because i get back "Object reference not set to an instance of an object.
I have a datagrid created programtically(dgAccounts) inside another datagrid(dgHousehold). I have to step through dgB in order to get certain values but then i have to step through dgA in order to get some values from there also.
this is the one i created programtically:
Public Sub...
Dim SelectCMD As New SqlCommand("SELECT BreakpointStep, BreakpointValue, Rate_BP * .01 AS Rate FROM FEE_SCHEDULE_DEFAULT WHERE (AccountType = 1) AND (BreakpointStep > 0) AND (ScheduleId = '000009');" & _
"SELECT BreakpointStep,BreakpointValue, Rate_BP * .01 AS Rate FROM FEE_SCHEDULE_DEFAULT...
Ok so i have a datagrid that brings back a few Values. I give the user the option to insert a record anywhere inside the datagrid just as long as the Values are in a correct ascending order. How can i compare the value of the previous row with the value of the selected row as well as comparing...
A) i have 2 drop downs and a text box in a grid
B) drop down B doesnt get loaded until a choice from drop down A is selected.
C) if that value is not selected from drop down A then i want drop down B to not even be visible but if the correct value is selected i need the drop down to be loaded...
I know how to launch a refresh event using a timer, the question is how do i launch a function from the code behind using a timer. I want to launch a save function every minute using a timer & i do not know how to pull this off.
Im trying to launch a save event every 60 seconds using a timer. I use to know how to do this but cant quite rememeber how i did it. does anyone know how to do this??
either using Javascript or code-behind will work. thanks
Does anyone know how i can insert a null value for a date. My code looks like this:
Dim dtEndDate As Date
If txtEndDate.Text = String.Empty Then
dtEndDate = DBNull.Value
^DOES NOT LIKE THIS ^
^SAYS VALUE OF SYSTEM.DBNULL CANNOT BE CONVERTED TO DATE^
^I MUST INSERT A NULL IF...
Well this isnt a dataset where i can just say which column to sort by and send that to the database and it will come back corrrectly sorted. I have programatically created this dataset due to the fact that simple joins couldnt get all the information needed for the complete dataset.
I have a datagrid that has a hyperlink in the 1st column that once clicked, it sends them to another page with the individuals SSN being sent over to get information for that page. The only problem is that when i sort the datagrid and then i click on an individuals name, it grabs the row from...
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.