TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bineesh Viswanath
NA
1k
780.3k
Single Tier 2-Tier and 3-Tier Architecture in C#
Oct 3 2013 3:16 AM
Sir, I became tired of searching the .net architecture examples in web.
I need your help in giving the link to see the .net architecture with examples.
See the code below:-
protected SqlConnection sqlCon;
public frmRejectionIn()
{
InitializeComponent();
sqlCon = new SqlConnection(constring);
}
public void CashpartyComboFill()
{
try
{
if(sqlCon.State==ConnectionState.Closed)
{
sqlCon.Open();
}
DataTable d = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("select * from tbl_AccountGroup", sqlCon);
da.Fill(d);
cmbcashorParty.DataSource = d;
cmbcashorParty.DisplayMember = "ledgerName";
cmbcashorParty.ValueMember = "ledgerId";
}
catch (FileIoException)
{
throw;
}
}
please tell me which architecture this code represent?
could you give me the link to learn the difference between all types of architecture in .net with examples?
Reply
Answers (
3
)
Retrieve Data from Database into comboBox in C#
Optimization Tips in C#