StrataFrame Forum
Back
Login
Login
Home
»
Enterprise Server - V1
»
How do I?
»
Standard ADO.Net components works with ES?
Standard ADO.Net components works with ES?
Post Reply
Like
1
Standard ADO.Net components works with ES?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Luiz Lima
Luiz Lima
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 66,
Visits: 724
Hi,
I´d like to know if the code below works when I using a ES connection.
Tks
con = New SqlConnection(sConnectionString)
con.Open()
ds = New DataSet()
sSql = "select cli_campo01, cli_campo02, cli_classe, cli_nome from tb_cliente "
dap = New SqlDataAdapter(sSql, con)
Dim dt = New DataTable()
dap.Fill(dt)
If dt.Rows.Count > 0 Then
dim campo1 as string = dt.Rows(0).Item("server_cliente")
dim campo2 as string = dt.Rows(0).Item("db_cliente")
classe_cliente = dt.Rows(0).Item("cli_classe")
nome_cliente = dt.Rows(0).Item("cli_nome")
end if
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Standard ADO.Net components works with ES?
Luiz Lima
-
14 Years Ago
As far as I know, no it won't. It only deals with BOs. I know when I...
Greg McGuffey
-
14 Years Ago
Greg, Fantastic! I didn´t know the use of generic BO, this open a...
Luiz Lima
-
14 Years Ago
Not sure about that, but it might be possible. I'm not sure how the...
Greg McGuffey
-
14 Years Ago
Greg, Sorry by late. I tested the code but I´ve got an error about...
Luiz Lima
-
14 Years Ago
Oops. I haven't done this in a while. You have actually build a BO...
Greg McGuffey
-
14 Years Ago
I just posted a sample demonstrating how you might do this.
...
Greg McGuffey
-
14 Years Ago
Great job, Greg. Thanks for the samples! :)
Trent L. Taylor
-
14 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search