|
What do you mean by the word BLOCK??
|
|
|
|
|
.NET Application Blocks are distinct pieces of code, created by the Microsoft Patterns and Practices Team, that demonstrate the best practices on how to accomplish a specific task using .NET. They are ready made code that you can use/extend to make your lives a WHOLE lot simpler
For more info...
http://www.dotnetjohn.com/articles.aspx?articleid=96
mareers
|
|
|
|
|
Thanks a lot mareers, gr8 job!!!!!!!
|
|
|
|
|
There are libraries that have been set up so you can use them to do things. I.e SQLHelper from the Microsoft Data Access Block.
Then there is a Caching Application block that helps you to implement cachin in your application An Overview
|
|
|
|
|
on login form i have two textboxes for login name and password and one ch box for remember me .
on checking remember me i am storing the login name and password in cookies.
on next visit i am able to see the login name but not password .Password textbox is blank.
on debugging i can see the password but it is not visible.
If i change the password textbox to simple textbox (single line) it is visible.
pls help me out.
HttpCookie myCookie = new HttpCookie("myCookie");
Response.Cookies.Remove("myCookie"); //Remove previous cookie
Response.Cookies.Add(myCookie);
myCookie.Values.Add("user",txtUserName.Text);
DateTime deathDate = DateTime.Now.AddDays(30);
Response.Cookies["myCookie"].Expires = deathDate;
myCookie.Values.Add("pass", txtPassword.Text);
on form load
if (Request.Cookies["myCookie"] != null) //Cookie Exists??
{
HttpCookie cookie = Request.Cookies.Get("myCookie");
string user = cookie.Values["user"].ToString();
string pass = cookie.Values["pass"].ToString();
if (user != "")
{
txtUserName.Text = user;
txtPassword.Text = pass;
}
}
|
|
|
|
|
If you are using asp.net 2.0 then why don't you use login control directly ?
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
what's recordset and dataset? tell me diff b/w them? in detail
|
|
|
|
|
i can tell about data set . dataset is local cache stored on the client site . with the help of data adapter values are selected and fill in the dara set and connection with the databasec is then broken so you need to consulyt the database every time....like that
prashant jain malviya national institute of technology
|
|
|
|
|
A recordset looks like a single table. If a recordset is to contain data from multiple database tables, it must use a JOIN query, which assembles the data from the various database tables into a single result table.
In contrast, a dataset is a collection of one or more tables. The tables within a dataset are called data tables; specifically, they are DataTable objects. If a dataset contains data from multiple database tables, it will typically contain multiple DataTable objects. That is, each DataTable object typically corresponds to a single database table or view. In this way, a dataset can mimic the structure of the underlying database.
|
|
|
|
|
Check this links, hope it will help you.
http://www.geekinterview.com/question_details/15774
http://www.dotnetspider.com/qa/Question27691.aspx
|
|
|
|
|
DataSet is connection less
RecordSet is connection oriented
DataSet can have bi-directional move; from top row to bottom row and bottom row to top row of any table contained in it
RecordSet - Can only have uni-direction
DataSet - 3 dimension (having multiple tables. Tables|Rows|Cols)
RecordSet - 2 dimension (Rows|Cols)
Sreekumar PP
|
|
|
|
|
i am working on web mail server, new to .net and in the initial stage of our project. i am facing problem as how to maintain database for keeping a record of the received mails of a particular user...
whether the mails should b stored in a file structure or they should b stored in some varialbe of a database ...
which one is the more efficient method????
thanx
prashant jain malviya national institute of technology
|
|
|
|
|
Which database you are using ? I think file structure will be good
|
|
|
|
|
so how that file structure should b maintained .can u suggest any website link for its help...
how to make that file structure...
prashant jain malviya national institute of technology
|
|
|
|
|
Hi,
I think, database will be a good choice. Using databases will allow you easy searching facility.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
thanx for replying. do you think it is efficient to store the complete mail in string format in table.. is that followed in yahoomail.. any article on web discussing on this topic
thanx
prashant jain malviya national institute of technology
|
|
|
|
|
Hi
Am trying to develop a web application for BlackBerry.
For this ,do i have to make use of ASP.NET Mobile web applications or ASP.NET web applications?
Can anyone please help me in finding out this and any website for referring the same?
Thanx
~Vsree
|
|
|
|
|
I think mobile application.
|
|
|
|
|
Thanks ya
But can u please suggest me any good articles as reference for developing this kind of applications?
|
|
|
|
|
Try this :
http://www.c-sharpcorner.com/UploadFile/ggaganesh/DvelopingMobileWebApplicationwith.NET11182005013704AM/DvelopingMobileWebApplicationwith.NET.aspx
http://www.wirelessdevnet.com/channels/wap/features/mobilesdk.html
Hope this helps u...
|
|
|
|
|
Thanks friend
Now am comfortable with designing pages in Mobile Web Application.
The two links are quite useful.
If anyone can help me with more samples,it would be of great help.
Thanks
~VSree
|
|
|
|
|
i need code for upload an xl file which has size 100mb. so how can i approach. using file laoder it si not possible as it is too big. so by FTP it possible i think ...but i don't know the code to use in c#
so plzzzzzzzzz any one can gve me response as early as possible
Suresh.R
|
|
|
|
|
|
Hello
am a beginner in programming asp.net(vb)I really don't understand what might be the problem connected my application to the database,inside the values in the tables to test my applicatuion,bind it,when I try to run it the value in the dropdowmlist doesn't appear....
Please help me
Thank you in Advance
oga m
|
|
|
|
|
Show me how u binded dropdown ?
|
|
|
|