Click here to Skip to main content
16,005,467 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Dropdownlist set without SelecteIndex Property... Pin
Christian Graus22-Jul-07 13:13
protectorChristian Graus22-Jul-07 13:13 
QuestionDataRepeater Pin
Assaf8222-Jul-07 9:40
Assaf8222-Jul-07 9:40 
AnswerRe: DataRepeater Pin
Psycho-*Coder*-Extreme22-Jul-07 10:13
Psycho-*Coder*-Extreme22-Jul-07 10:13 
GeneralRe: DataRepeater Pin
Assaf8222-Jul-07 10:25
Assaf8222-Jul-07 10:25 
GeneralRe: DataRepeater Pin
Assaf8222-Jul-07 11:02
Assaf8222-Jul-07 11:02 
GeneralRe: DataRepeater Pin
Amit Kumar G22-Jul-07 11:55
Amit Kumar G22-Jul-07 11:55 
GeneralRe: DataRepeater Pin
doWhileSomething22-Jul-07 12:48
doWhileSomething22-Jul-07 12:48 
QuestionRe: DataRepeater Pin
Assaf8222-Jul-07 13:34
Assaf8222-Jul-07 13:34 
Please Someone can help me
i write this code but it didn't work cn someone tell here is the wrong :

Dim Conn As SqlConnection
Dim Query As String
Dim SqlComm As SqlCommand
Dim reader As SqlDataReader
Dim dt As New DataTable
dt.Columns.Add("FNAME")
Dim row As DataRow
Conn = New SqlConnection("Data Source=toshiba-owner;Initial Catalog=HRDataBase;Integrated Security=True")
Query = "SELECT fName,lName FROM Employee WHERE (EmployeeNum = 1243)"
SqlComm = New SqlCommand(Query, Conn)
Conn.Open()
reader = SqlComm.ExecuteReader
row = dt.NewRow
While reader.Read
row("fName") = reader.GetValue(0)
row("lName") = reader.GetValue(1)
dt.Rows.Add(row)
End While
myRepeater.DataSource = dt
myRepeater.DataBind()

Conn.Close()
and this error still appear:
"The DataSourceID of 'Repeater1' must be the ID of a control of type IDataSource. A control with ID 'SqlDataSource1' could not be found"

Thanks in advanceConfused | :confused:



Assaf

AnswerRe: DataRepeater Pin
doWhileSomething22-Jul-07 13:47
doWhileSomething22-Jul-07 13:47 
QuestionMaster page dynamically loading User Control Pin
Alberto Bar-Noy22-Jul-07 6:51
Alberto Bar-Noy22-Jul-07 6:51 
AnswerRe: Master page dynamically loading User Control Pin
doWhileSomething22-Jul-07 9:02
doWhileSomething22-Jul-07 9:02 
GeneralRe: Master page dynamically loading User Control Pin
Alberto Bar-Noy22-Jul-07 10:53
Alberto Bar-Noy22-Jul-07 10:53 
GeneralRe: Master page dynamically loading User Control Pin
doWhileSomething22-Jul-07 12:40
doWhileSomething22-Jul-07 12:40 
QuestionSystem.Drawing.Color Pin
Brendan Vogt22-Jul-07 6:37
Brendan Vogt22-Jul-07 6:37 
AnswerRe: System.Drawing.Color Pin
Hesham Amin22-Jul-07 7:22
Hesham Amin22-Jul-07 7:22 
AnswerRe: System.Drawing.Color Pin
Guffa22-Jul-07 9:10
Guffa22-Jul-07 9:10 
QuestionCalling assembly on demand Pin
econner22-Jul-07 3:28
econner22-Jul-07 3:28 
AnswerRe: Calling assembly on demand Pin
Hesham Amin22-Jul-07 7:25
Hesham Amin22-Jul-07 7:25 
QuestionServing ASP pages from ASP.Net Pin
#realJSOP22-Jul-07 1:40
professional#realJSOP22-Jul-07 1:40 
AnswerRe: Serving ASP pages from ASP.Net Pin
Guffa22-Jul-07 2:07
Guffa22-Jul-07 2:07 
GeneralRe: Serving ASP pages from ASP.Net Pin
#realJSOP22-Jul-07 2:35
professional#realJSOP22-Jul-07 2:35 
AnswerRe: Serving ASP pages from ASP.Net Pin
Guffa22-Jul-07 3:36
Guffa22-Jul-07 3:36 
GeneralRe: Serving ASP pages from ASP.Net Pin
Christian Graus22-Jul-07 10:32
protectorChristian Graus22-Jul-07 10:32 
QuestionSearch a name in the text of the TEXTBOX Pin
.NET- India 22-Jul-07 0:26
.NET- India 22-Jul-07 0:26 
AnswerRe: Search a name in the text of the TEXTBOX Pin
Psycho-*Coder*-Extreme22-Jul-07 9:00
Psycho-*Coder*-Extreme22-Jul-07 9:00 

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.