|
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 ?
|
|
|
|
|
Hi Change your Datasource name and Database then it will work
page_load()
----------
If Not Page.IsPostBack Then
bindDrop()
End If
Sub bindDrop()
Try
conObj = New SqlConnection("Data Source=B4B-2F-323-CK26;user id=sa;password=sa;Database=TEST")
conObj.Open()
adpObj = New SqlDataAdapter("SELECT * FROM Login", conObj)
adpObj.Fill(dsObj, "Login")
ddl.DataSource = dsObj.Tables("Login").DefaultView
ddl.DataTextField = "UserName"
ddl.DataValueField = "ContactNo"
ddl.DataBind()
Catch ex As Exception
Console.WriteLine(ex.ToString())
Finally
conObj.Close()
adpObj.Dispose()
End Try
End Sub
if you find any problems then mail me bye
|
|
|
|
|
Hi All,
I need to write a query where I have to search Date form DB.
Suppose I have a column name as InvoiceDate and I have to search all the records whose InvoiceDate is Like 02/14 or 02 or 02/14/2007.These are the different searches which I need to do.
Please help me...
Thanks in advance...
|
|
|
|
|
How you are storing date values in database ? Varchar or datatime ?
If varchar then
select * from table where InvoiceDate like '02/14'
select * from table where InvoiceDate like '02'
select * from table where InvoiceDate like '02/14/2007'
if datetime use day,month and year functions to search like this
|
|
|
|
|
Thanks for the reply.I storing it as datetime.Can u please explain me in detail or help me in writting the code.
Thanks ...
|
|
|
|
|
It could be something like
--For checking day
select * from table where day( convert(datetime,yourdatetimecolumn) ) = yourday
--For checking day and month
select * from table where month( convert(datetime,yourdatetimecolumn) ) = yourmonth and day( convert(datetime,yourdatetimecolumn) ) = yourday
select * from table where convert(datetime,yourdatetimecolumn) = yourdate
I am not sure that this is the best way. But I think it can work according to u r requirement.
|
|
|
|
|
The input can be anything I mean if user put 2/ then how will I use this...
|
|
|
|
|
varshavmane wrote: The input can be anything I mean if user put 2/ then how will I use this...
You should ensure that the input is valid. If not valid like 2/ change it to the format which we can do checking
|
|
|
|