Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
Questionpassing Form as refernce to called from dynamically Pin
abhinish4-May-06 9:39
abhinish4-May-06 9:39 
AnswerRe: passing Form as refernce to called from dynamically Pin
led mike4-May-06 9:51
led mike4-May-06 9:51 
AnswerRe: passing Form as refernce to called from dynamically Pin
Josh Smith4-May-06 9:56
Josh Smith4-May-06 9:56 
QuestionPrint Visio Document with C#.NET ????? Pin
nicolas santana4-May-06 9:17
nicolas santana4-May-06 9:17 
QuestionXML string to DataTable Pin
lsugirljte4-May-06 8:36
lsugirljte4-May-06 8:36 
QuestionComboBox... Pin
KORCARI4-May-06 7:42
KORCARI4-May-06 7:42 
Questionsub report problem Pin
shabonaa4-May-06 7:24
shabonaa4-May-06 7:24 
QuestionDataset and Datagrid Pin
TheJudeDude4-May-06 6:00
TheJudeDude4-May-06 6:00 
I am working on a web application that uses a datagrid, dataset and an sqldataadapter. I have the datasoucre for the datagrid as the dataset. When I click on the link in VS for the data adapter "Preview Data" and click on Fill DataSet, all rows in the SELECT statement are returned. But when I run the web app, the datagrid is never filled. In fact nothing shows up.
The Select Command on the Data Adapter :SELECT FirstName, LastName, SSNumb, CustomerNumb FROM Customer
Code for Fill :sqlDataAdapter1.Fill(dataSet11,"Customer");
HTML
Page language="c#" Codebehind="Customer.aspx.cs" AutoEventWireup="false" Inherits="rental.Customer" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Customer</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:label id="Label1" style="Z-INDEX: 101; LEFT: 24px; POSITION: absolute; TOP: 32px" runat="server"
Height="48px" Width="824px">Logo</asp:label><asp:radiobutton id="RadioButton1" style="Z-INDEX: 102; LEFT: 144px; POSITION: absolute; TOP: 344px"
runat="server" Text="Customer Number" GroupName="SEARCH"></asp:radiobutton><asp:radiobutton id="RadioButton2" style="Z-INDEX: 103; LEFT: 432px; POSITION: absolute; TOP: 344px"
runat="server" Text="Name" Checked="True" GroupName="SEARCH"></asp:radiobutton><asp:radiobutton id="RadioButton3" style="Z-INDEX: 104; LEFT: 680px; POSITION: absolute; TOP: 344px"
runat="server" Width="96px" Text="SS Number" GroupName="SEARCH"></asp:radiobutton>
<asp:TextBox id="txtSearch" style="Z-INDEX: 105; LEFT: 384px; POSITION: absolute; TOP: 408px"
runat="server"></asp:TextBox>
<asp:Button id="btnSearch" style="Z-INDEX: 106; LEFT: 384px; POSITION: absolute; TOP: 448px"
runat="server" Width="160px" Text="Search"></asp:Button>
<asp:DataGrid id=DataGrid1 style="Z-INDEX: 107; LEFT: 56px; POSITION: absolute; TOP: 104px" runat="server" Width="752px" Height="232px" DataSource="<%# dataSet11 %>" DataKeyField="FirstName" DataMember="Customer">
</asp:DataGrid></form>
</body>
</HTML>

Thanx in advance!


Jude
AnswerRe: Dataset and Datagrid Pin
esjq4-May-06 20:12
esjq4-May-06 20:12 
GeneralRe: Dataset and Datagrid Pin
TheJudeDude5-May-06 3:30
TheJudeDude5-May-06 3:30 
GeneralRe: Dataset and Datagrid Pin
TheJudeDude5-May-06 6:55
TheJudeDude5-May-06 6:55 
Questioncheckbox control and rowID Pin
karinb4-May-06 5:44
karinb4-May-06 5:44 
QuestionFREE C# Material Pin
dotnetguide4-May-06 5:05
dotnetguide4-May-06 5:05 
AnswerRe: FREE C# Material Pin
Paul Conrad4-May-06 5:35
professionalPaul Conrad4-May-06 5:35 
AnswerRe: FREE C# Material Pin
J4amieC4-May-06 5:38
J4amieC4-May-06 5:38 
GeneralRe: FREE C# Material Pin
Paul Conrad4-May-06 5:41
professionalPaul Conrad4-May-06 5:41 
GeneralRe: FREE C# Material Pin
J4amieC4-May-06 5:53
J4amieC4-May-06 5:53 
QuestionHigh speed/precision timer possible? Pin
Dan Neely4-May-06 4:16
Dan Neely4-May-06 4:16 
AnswerRe: High speed/precision timer possible? Pin
J4amieC4-May-06 4:36
J4amieC4-May-06 4:36 
GeneralRe: High speed/precision timer possible? Pin
Dan Neely4-May-06 4:38
Dan Neely4-May-06 4:38 
GeneralRe: High speed/precision timer possible? Pin
Rob Philpott4-May-06 4:50
Rob Philpott4-May-06 4:50 
GeneralRe: High speed/precision timer possible? Pin
Dan Neely4-May-06 5:53
Dan Neely4-May-06 5:53 
GeneralRe: High speed/precision timer possible? Pin
Dan Neely4-May-06 8:50
Dan Neely4-May-06 8:50 
GeneralRe: High speed/precision timer possible? Pin
Rob Philpott4-May-06 12:49
Rob Philpott4-May-06 12:49 
GeneralRe: High speed/precision timer possible? Pin
Dan Neely5-May-06 2:14
Dan Neely5-May-06 2:14 

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.