3-Tier Coding
-
hiya, i am new to .NET.I am required to use .NET to do my project. Hope the people here can help me the following questions. 1:When begin,what codes should i added first? 2:What is the code for the link control from a web form to another? 3:How to connect to microsoft access? 4:How to make the buttons to scroll the info? 5:How to make the data to be read according to the link topic under the same database? Thanks
-
hiya, i am new to .NET.I am required to use .NET to do my project. Hope the people here can help me the following questions. 1:When begin,what codes should i added first? 2:What is the code for the link control from a web form to another? 3:How to connect to microsoft access? 4:How to make the buttons to scroll the info? 5:How to make the data to be read according to the link topic under the same database? Thanks
Wow...
rei ayumi wrote:
1:When begin,what codes should i added first?
....
rei ayumi wrote:
2:What is the code for the link control from a web form to another?
<a href="page2.aspx">Goto Page 2</a>
<asp:hyperlink id="Page2Link" runat="server" navigateurl="page2.aspx" />
rei ayumi wrote:
3:How to connect to microsoft access? 4:How to make the buttons to scroll the info? 5:How to make the data to be read according to the link topic under the same database?
Seems to me you don't even know the basics... I'd suggest you get a book...or 12....and read some tutorials, or follow by example, lots of great code on this site.
-
hiya, i am new to .NET.I am required to use .NET to do my project. Hope the people here can help me the following questions. 1:When begin,what codes should i added first? 2:What is the code for the link control from a web form to another? 3:How to connect to microsoft access? 4:How to make the buttons to scroll the info? 5:How to make the data to be read according to the link topic under the same database? Thanks
rei ayumi wrote:
1:When begin,what codes should i added first?
Whichever you think should be added first! Given you question it seems you are a begginer, I would suggest writing a small part of the UI and use that to get data out.
rei ayumi wrote:
2:What is the code for the link control from a web form to another?
Not sure what you mean by this!
rei ayumi wrote:
3:How to connect to microsoft access?
You need to research a technology called ADO.NET: it is built into the .net framwork and provides a way of connecting to most common databases. You might also want to google for "LINQ to SQL" and Entity Framework for options based on ADO.NET
rei ayumi wrote:
4:How to make the buttons to scroll the info?
Depends, but normally you don't, the scroll appears when the data is too large to fit. Again, I'm not sure I understand your question.
rei ayumi wrote:
5:How to make the data to be read according to the link topic under the same database?
It is impossible to tell you exactly how to do this, it depends how you are getting your data. With pure ADO.NET you query the database using the link topic to filter via an SQL
WHERE
clause. With LINQ and Entity Framework you can write a LINQ query to do the same job. The details depend exactly on which technology you use, what and how you want to filter. Hope this helps. [Edit] Though the help is late, I didn't realise that I was not on "Page 1" of the forum and was answering a 5 year old question. If you do invent time-travel, go back and inform yourself that ADO.NET is your only option until 2007 IIRC.Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^]