|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.NET Compact FrameworkHello Every one ! I have an problem during the fill Dataadapter with DataSet & table name when it's running that time it's gving SqlCeServer.dll Error. and i writen the code like this Private Const pi_ConnPath As String = "\My Documents\JMS.sdf" Private pi_WeightDetailsConn As System.Data.SqlServerCe.SqlCeConnection Private pi_WeightDetailsAdapter As System.Data.SqlServerCe.SqlCeDataAdapter Private pi_WeightDataSet As DataSet Private pi_SQL As String Dim WeightDetails As String pi_WeightDetailsConn = New SqlCeConnection("Data Source=" & pi_ConnPath) pi_WeightDetailsConn.Open() pi_SQL = "SELECT * from WeightMaster" pi_WeightDetailsAdapter = New SqlCeDataAdapter("pi_SQL", pi_WeightDetailsConn) pi_WeightDataSet = New DataSet pi_WeightDetailsAdapter.Fill(pi_WeightDataSet, "WeightDetails") DgWeightDetails.DataSource = pi_WeightDataSet.Tables("WeightDetails") -------------------------------- From: Nilesh Patel ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>xpCVcOdF7k2iyvGshaLHCQ==</Id> Wrong group. Try here:
http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.pocketpc.developer&lang=en&cr=US Show quoteHide quote "Nilesh Patel via .NET 247" <anonym***@dotnet247.com> wrote in message news:O40$WMSYFHA.4032@tk2msftngp13.phx.gbl... > (Type your message here) > > Hello Every one ! > > I have an problem during the fill Dataadapter with DataSet & table > name when it's running that time it's gving SqlCeServer.dll Error. > > and i writen the code like this > > Private Const pi_ConnPath As String = "\My Documents\JMS.sdf" > Private pi_WeightDetailsConn As System.Data.SqlServerCe.SqlCeConnection > Private pi_WeightDetailsAdapter As > System.Data.SqlServerCe.SqlCeDataAdapter > Private pi_WeightDataSet As DataSet > Private pi_SQL As String > > Dim WeightDetails As String > > pi_WeightDetailsConn = New SqlCeConnection("Data Source=" & > pi_ConnPath) > pi_WeightDetailsConn.Open() > > pi_SQL = "SELECT * from WeightMaster" > pi_WeightDetailsAdapter = New SqlCeDataAdapter("pi_SQL", > pi_WeightDetailsConn) > > pi_WeightDataSet = New DataSet > > pi_WeightDetailsAdapter.Fill(pi_WeightDataSet, "WeightDetails") > DgWeightDetails.DataSource = pi_WeightDataSet.Tables("WeightDetails") > -------------------------------- > From: Nilesh Patel > > ----------------------- > Posted by a user from .NET 247 (http://www.dotnet247.com/) > > <Id>xpCVcOdF7k2iyvGshaLHCQ==</Id>
Please...Expert needed.
asp.net custom server control not showing when dragged onto web fo How can I get selected Checklistbox Items to Literal in Placeholde ASP.NET Tree View Control Datagrid Listbox please help Problem using Response.Redirect from a User Control Which is better User Control or Frame? Checkbox within a datalist Acces controls on aspx page from usercontrols OpenFileDialog in ASP.NET |
|||||||||||||||||||||||