well it's just that it would be hard to guess what number to put there because i don't know how many records would fit on a page (the user could change print margins etc)....
I need to display reports in my asp.net page as one long continuous report. However, when printed, my boss would like the header to repeat. Is there a way to control this feature programatically (vb.net)?
first off, i realize this is kind of an odd request, try and ignore that :). my boss wants me to implement a copy row feature in a datagrid. essentially, i need to gather all the info from the current row and do an insert into the sql database that has all that info. i know that i can grab...
I am still having trouble with this!! The deletions (updates) are done in the database but the datagrid doesn't update to reflect the changes. Here is the code I am using now:
Private Sub dgSubCat_DeleteCommand(ByVal source As Object, ByVal e As...
I have a user control "header.ascx" that I would like to load into a place holder on some of my webpages. It will be functioning like a header. Can anyone offer me some guidance on how to do this (VB)? I gather that I will need to do something like the following:
Dim ctlHeader as Proj.Header...
One more question. If I were to call SqlDataAdapter1.update(ds, "table") in the deletecommand event of the datagrid would that be the same thing as doing the SqlDataAdapter.deletecommand.executenonquery()?
i'm just a little confused on what to do :). The book I am following (Microsoft Certification book by Gunderloy) had me setup the code this way in the delete command event of the datagrid and it also had me configure the data adapter with a delete command:
DELETE * FROM Subcat HERE...
My delete command for my datagrid isn't working. I am using the following code:
Dim strSubCatID As String = dgSubCat.DataKeys(e.Item.ItemIndex).ToString
Dim dr As DataRow
Dim i As Integer
For i = 0 To DsBudget.Tables("SubCat").Rows.Count - 1...
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.