D
Dan @BCBS
This community discussion group has tought me a lot over the years and
boosted my employment opportunities.
But recently I was slammed with a requirement to get my databases (Access
2000 linked to SQL db's) moved to .NET using Visual Studio.
For whatever reason I never a reply when I post anything to
"microsoft.public.vsnet".. I do mean never, I have posted many questions
over the past few months, nothing difficult...
Am I posting to the wrong place???
Here is an example of my last question:
Please direct me.......
///////////////
This is a simple 101-type question.
The code below shows a text box, button, and a gridview.
Could someone please help me change the code so the user can enter a number
in TextBox1, click Button1 and the information appear in the GridView1.
Thanks
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" Text="Button" /></div>
<br />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" DataKeyNames="ICNSR"
DataSourceID="SqlDataSource1">
<Columns>
<asp:BoundField DataField="PVNO" HeaderText="PVNO"
SortExpression="PVNO" />
<asp:BoundField DataField="ICNSR" HeaderText="ICNSR"
ReadOnly="True" SortExpression="ICNSR" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStringsAD_PRODConnectionString %>"
ProviderName="<%$
ConnectionStringsAD_PRODConnectionString.ProviderName %>"
SelectCommand="SELECT [PVNO], [ICNSR] FROM
[t_DataTracking]"></asp:SqlDataSource>
</form>
</body>
</html>
Was this post helpful to you?
boosted my employment opportunities.
But recently I was slammed with a requirement to get my databases (Access
2000 linked to SQL db's) moved to .NET using Visual Studio.
For whatever reason I never a reply when I post anything to
"microsoft.public.vsnet".. I do mean never, I have posted many questions
over the past few months, nothing difficult...
Am I posting to the wrong place???
Here is an example of my last question:
Please direct me.......
///////////////
This is a simple 101-type question.
The code below shows a text box, button, and a gridview.
Could someone please help me change the code so the user can enter a number
in TextBox1, click Button1 and the information appear in the GridView1.
Thanks
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" Text="Button" /></div>
<br />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" DataKeyNames="ICNSR"
DataSourceID="SqlDataSource1">
<Columns>
<asp:BoundField DataField="PVNO" HeaderText="PVNO"
SortExpression="PVNO" />
<asp:BoundField DataField="ICNSR" HeaderText="ICNSR"
ReadOnly="True" SortExpression="ICNSR" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStringsAD_PRODConnectionString %>"
ProviderName="<%$
ConnectionStringsAD_PRODConnectionString.ProviderName %>"
SelectCommand="SELECT [PVNO], [ICNSR] FROM
[t_DataTracking]"></asp:SqlDataSource>
</form>
</body>
</html>
Was this post helpful to you?