Click here to Skip to main content
15,918,808 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: imports Pin
amaneet24-Sep-06 21:08
amaneet24-Sep-06 21:08 
AnswerRe: imports Pin
sdaniel_cst24-Sep-06 23:29
sdaniel_cst24-Sep-06 23:29 
GeneralRe: imports Pin
Sathesh Sakthivel25-Sep-06 0:16
Sathesh Sakthivel25-Sep-06 0:16 
QuestionFinding the new window Pin
IamADotNetGuy24-Sep-06 19:39
IamADotNetGuy24-Sep-06 19:39 
AnswerRe: Finding the new window Pin
sdaniel_cst24-Sep-06 22:50
sdaniel_cst24-Sep-06 22:50 
Questioninstance dataset typed Pin
raquidd2224-Sep-06 18:08
raquidd2224-Sep-06 18:08 
QuestionRe: instance dataset typed Pin
amaneet24-Sep-06 19:52
amaneet24-Sep-06 19:52 
AnswerRe: instance dataset typed Pin
raquidd2225-Sep-06 9:13
raquidd2225-Sep-06 9:13 
hello
thanks for the time

first all the function getbyid en the articel return CustomerDS.Customer


i cant return CustomerDS.Customer
i know why i dont return CustomerDS.Customer

in my function i have Public Function GetById(customerId As Integer) As CustomerDs

SQLHelperExtension.Fill i can't use SQLHelperExtension this instruccion give me a error. i have imports application block

the function in the article is
' Return the customer with the specified ID
Public Function GetById(customerId As Integer) As CustomerDs.Customer
Try
Dim customer As New CustomerDs()

' Execute the "select single entity" stored procedure
Dim reader As SqlDataReader = SqlHelper.ExecuteReader(Me.connectionStr, "Customer_SelectByID", customerId)
Try
' Populate the dataset with reader rows
SQLHelperExtension.Fill(reader, customer, customer.Customers.TableName, 0, 1)
Finally
reader.Dispose()
End Try

' Return the first row
Return customer.Customers(0)
Catch e As SqlException
Throw New TechnicalException(Me.ResourceMgr.GetString("TechnicalException.CantGetCustomer", System.Globalization.CultureInfo.CurrentUICulture), e)
End Try
End Function 'GetById



QuestionHow do I manipulate values in a FormView? Pin
Rob__H24-Sep-06 16:26
Rob__H24-Sep-06 16:26 
AnswerRe: How do I manipulate values in a FormView? Pin
minhpc_bk24-Sep-06 19:48
minhpc_bk24-Sep-06 19:48 
GeneralRe: How do I manipulate values in a FormView? Pin
Rob__H24-Sep-06 20:44
Rob__H24-Sep-06 20:44 
QuestionProblems with creating a very simple composite control Pin
RCO-Man24-Sep-06 11:59
RCO-Man24-Sep-06 11:59 
AnswerRe: Problems with creating a very simple composite control Pin
minhpc_bk24-Sep-06 19:54
minhpc_bk24-Sep-06 19:54 
GeneralRe: Problems with creating a very simple composite control Pin
RCO-Man25-Sep-06 5:29
RCO-Man25-Sep-06 5:29 
GeneralRe: Problems with creating a very simple composite control Pin
minhpc_bk25-Sep-06 14:49
minhpc_bk25-Sep-06 14:49 
GeneralRe: Problems with creating a very simple composite control Pin
RCO-Man25-Sep-06 21:01
RCO-Man25-Sep-06 21:01 
GeneralRe: Problems with creating a very simple composite control Pin
RCO-Man25-Sep-06 21:13
RCO-Man25-Sep-06 21:13 
GeneralRe: Problems with creating a very simple composite control Pin
minhpc_bk25-Sep-06 21:26
minhpc_bk25-Sep-06 21:26 
GeneralRe: Problems with creating a very simple composite control Pin
RCO-Man25-Sep-06 21:36
RCO-Man25-Sep-06 21:36 
GeneralRe: Problems with creating a very simple composite control Pin
minhpc_bk25-Sep-06 21:49
minhpc_bk25-Sep-06 21:49 
GeneralRe: Problems with creating a very simple composite control Pin
RCO-Man25-Sep-06 22:08
RCO-Man25-Sep-06 22:08 
GeneralRe: Problems with creating a very simple composite control Pin
minhpc_bk25-Sep-06 22:30
minhpc_bk25-Sep-06 22:30 
GeneralRe: Problems with creating a very simple composite control Pin
minhpc_bk25-Sep-06 21:21
minhpc_bk25-Sep-06 21:21 
GeneralRe: Problems with creating a very simple composite control Pin
RCO-Man25-Sep-06 21:23
RCO-Man25-Sep-06 21:23 
Questionneed explaination of wat these do pls Pin
neodeaths24-Sep-06 10:18
neodeaths24-Sep-06 10:18 

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.