Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

cannot create dataSet

This is my first try at creating a datset. I am probably leaving out a step

I am trying to create a New dataSet for handling a calendars events

I am entering the code on the WebForm1.aspx.vb page

I get as far in the code as the first 4 lines below and it won't let me put in the " () " at the end of my "Dim dsBlog As New DataSet(). When I try to go to a new line it deletes the ()

Private Sub cdarDates_SelectionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cdarDates.SelectionChanged
Dim I As Integer
Dim dsBlog As New DataSet
[623 byte] By [kenn_rosie] at [2007-11-11 7:35:46]
# 1 Re: cannot create dataSet
yes its working fine
bcz it has 2 overloads ,if you want to specify the name of the dataset then u can specify as
Dim dsBlog As New DataSet("dataSetNAme")
otherwise it automatic terminate your () and create a new instance of DataSet class

for more info. visit
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatasetclasstopic.asp
jain25rajesh at 2007-11-11 21:48:52 >