Click here to Skip to main content
16,016,562 members

Comments by rezaeti (Top 113 by date)

rezaeti 1-Oct-17 7:40am View    
hi . can you say more detail.
rezaeti 19-Sep-17 13:25pm View    
hi Karthik

In fact I had this code:
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("select * from UserInfo where UserName=@UserName", connect);
da.SelectCommand.Parameters.AddWithValue("@UserName", UserNameTextBox.Text);
da.SelectCommand.CommandTimeout = 0;
da.Fill(dt);
if (dt.Rows.Count == 0)
{

}
I want know how to make 3 Layer Architecture for this code
I dont know how can I da.Fill(dt) using Data Layer and Business Layer ?
thanks . can you learn it me.?
rezaeti 19-Sep-17 13:23pm View    
Hi Dave Kreskowiak .

In fact I had this code:
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("select * from UserInfo where UserName=@UserName", connect);
da.SelectCommand.Parameters.AddWithValue("@UserName", UserNameTextBox.Text);
da.SelectCommand.CommandTimeout = 0;
da.Fill(dt);
if (dt.Rows.Count == 0)
{

}
I want know how to make 3 Layer Architecture for this code
I dont know how can I da.Fill(dt) using Data Layer and Business Layer ?
thanks . can you learn it me.?
rezaeti 19-Sep-17 13:05pm View    
Deleted
I dont know how can I da.Fill(dt) using Data Layer and Business Layer ?
thanks . can you learn it me.?
rezaeti 19-Sep-17 13:02pm View    
Hi Dave Kreskowiak .

In fact I had this code:
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("select * from UserInfo where UserName=@UserName", connect);
da.SelectCommand.Parameters.AddWithValue("@UserName", UserNameTextBox.Text);
da.SelectCommand.CommandTimeout = 0;
da.Fill(dt);
if (dt.Rows.Count == 0)
{

}
I want know how to make 3 Layer Architecture for this code