What does this mean?? And how can I fix it?
Compiler Error Message: BC30057: Too many arguments to 'Public Sub New()'.
Source Error:
Line 32: If Not Page.IsPostBack()
Line 33: ' load an initial, default view of data
Line 34: ds = New DataSet( "ProductsData" )
Line 35: da = New...
I finaly got it connected to my SQL Server but now I am stuck on the GRID. I cannot get the grid to display the data selected in the from the dropdowns. Any hints?
<%@ Page Language="VB" Debug="True" Trace="false" TraceMode="SortByCategory" %><%@ Import Namespace="System.Data" %>
<%@ Register...
I got one to work but I am having a heck of a time trying to change the connection strings to my SQL server using a dataset and grid instead of the OLE Connection. Can someone PLEASE HELP.
<%@ Page Language="VB" Debug="True" Trace="false" TraceMode="SortByCategory" %><%@ Import...
My sort works but only on the current row of data in the grid. If I go to the next page it's off. And it does not want to desc asc either.
why?
code
<MM:PageBind runat="server" PostBackBind="true" />
<script runat="server">
Protected Sub Sort_Grid(ByVal sender As Object, ByVal e As...
I can search using a search and results page fine BUT how can I add search to my current grid and dataset on my master page?
And how can I use a drop down select to filter a datagrid?
Examples or sites would be greatly appreciated.
DW 8 VB.NET vb
Thanks
Trying to find a good tutorial on using drop down selects to populate a grid. I have about 200 categories and I need the user to be able to select category in one vendor in another and click the select button to populate the grid.
If possible I would like it to work with my current grid as well...
Here's a snip of all of the values it does
Sub Datagrid1_ItemDataBound(source As Object, e As DataGridItemEventArgs)
If (e.Item.ItemType = ListItemType.Item Or _
e.Item.ItemType = ListItemType.AlternatingItem) Then
If e.Item.DataItem("Curr_Qtr") = "Stop" Then _...
Here is how I got it to work -with help - so if anyone else needs a snip of working color the cell based on data here you go. And thank you for all of the help.
<script runat="server">
Sub Datagrid1_ItemDataBound(source As Object, e As DataGridItemEventArgs)
If (e.Item.ItemType =...
Since I am lost anyways<G> I went after it another way but I am still wondering around Lost.
<ItemTemplate><%# DataSet1.FieldValue("Curr_Qtr", Container) %><%# DataBinder.Eval(Container.DataItem, "Curr_Qtr") %>' ForeColor='<%# IIF(DataBinder.Eval(Container.DataItem, "Qtr_Plus_1") =...
Is there a way to set the color based on value in the ItemTemplate field?
<asp:TemplateColumn HeaderText="Sunset"
ItemStyle-Wrap="false"
Visible="True">
<ItemTemplate><%#DateTime.Parse (DataSet1.FieldValue("SUNSET", Container)).ToString("MMM d, yyyy") %></ItemTemplate>...
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.