what is type dataset?
Answers were Sorted based on User's Feedback
Answer / sandeep singh shekhawat
There are two type of Data set
When We create dataset programmely taht is weak type data set.
like DataSet ds=new DataSet();
But when We Create a DataSet using XML Schema(Xsd) that is called strong type data set that has extension .xsd
and create when we do working with LINQ to XML.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / radheshaym
A typed dataset is derived from the Dataset class and has an
associated XML schema, which is created at the time of
creation of the datset.
An Untyped dataset does not have any associated XML shema.In
an untyped dataset,the tables and columns are represented as
collections.Because an XML shema is not created for an
untyped datset,the structure of an untyped dataset is not
known during compilation.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / shiva
Dataset is collection of datatables.the collection generaly
represented as *)tables-rows-columns-constraints
DataSet ds;//declre variable
->ds.Tables["index"]
->ds.Tables.Rows[index]
->ds.Tables.Rows[rIndex].[cindex]
->ds.Tables.Columns[inedx]
->ds.tables.Constraints[index]
| Is This Answer Correct ? | 6 Yes | 9 No |
What are the steps to connect to a database?
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
How can we perform transactions in .net?
What is ado.net explain with diagram?
What does datareader object do?
How To Update A Column In A DataGrid Using C#.NET? I am getting InvalidCastException as (Specified cast is not valid) while updating 2nd column in a datagrid? Id,firstname,lastname are the three columns of my datagrid respectively. I wanted to edit the second column(lastname) and update it. I did the following code in DataGrid's updatecommand(),but failed to update ! Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string str=lnm.Text ; SqlCommand cmd=new SqlCommand("update customer set lastname='" + str + "' where id=" + varid + "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=- 1; DataGrid1.DataBind();
Does executenonquery return a value?
What are the different row versions available in table?
What are the Data providers in ADO.Net?
What providers does ado.net uses internally ?
How to find the given query is optimised one or not?
What is ado.net connection?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)