Click here to Skip to main content
15,880,392 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Dot-Net-Dev6-Nov-09 23:35
Dot-Net-Dev6-Nov-09 23:35 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Christian Graus6-Nov-09 23:39
protectorChristian Graus6-Nov-09 23:39 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Gamzun6-Nov-09 23:45
Gamzun6-Nov-09 23:45 
AnswerRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Christian Graus6-Nov-09 23:35
protectorChristian Graus6-Nov-09 23:35 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
anilaabc7-Nov-09 0:16
anilaabc7-Nov-09 0:16 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Gamzun7-Nov-09 2:15
Gamzun7-Nov-09 2:15 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Christian Graus7-Nov-09 8:57
protectorChristian Graus7-Nov-09 8:57 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Dot-Net-Dev9-Nov-09 0:36
Dot-Net-Dev9-Nov-09 0:36 
Below is my code which is throwing Exception:

Public Function populateDataset(ByVal strQuery As String, ByRef ds As DataSet, Optional ByVal strTableName As String = "") As Int16
Try

If Not IsNothing(ds.Tables(strTableName)) Then
ds.Tables(strTableName).Clear()
End If
Catch ex As Exception

End Try
populateDataset = -1
checkConnection()
Try
oledbDA = New MySqlDataAdapter(strQuery, cnDB)
If strTableName = "" Then
oledbDA.Fill(dataSet:=ds)
Else
oledbDA.Fill(dataSet:=ds, srcTable:=strTableName)
End If
populateDataset = 0
oledbDA.Dispose()

Catch ex As MySqlException
Throw ex
Return -1


Catch ex As Exception
populateDataset = -1
Throw ex
End Try
End Function

Here i am calling it:

public void getItemCategory(ref DataSet ds,string qry,string tableName)
{
dlib.CloseConnection();
dlib.populateDataset(qry, ref ds, tableName);
}
Questionfile upload [modified] Pin
bahar.ghara6-Nov-09 22:33
bahar.ghara6-Nov-09 22:33 
AnswerRe: file upload Pin
Gamzun6-Nov-09 23:19
Gamzun6-Nov-09 23:19 
AnswerRe: file upload Pin
Christian Graus6-Nov-09 23:32
protectorChristian Graus6-Nov-09 23:32 
GeneralRe: file upload Pin
Richard MacCutchan7-Nov-09 4:18
mveRichard MacCutchan7-Nov-09 4:18 
AnswerRe: file upload Pin
Richard MacCutchan7-Nov-09 5:38
mveRichard MacCutchan7-Nov-09 5:38 
QuestionSMS Parser Pin
tanukochhar6-Nov-09 22:19
tanukochhar6-Nov-09 22:19 
AnswerRe: SMS Parser Pin
Christian Graus6-Nov-09 23:27
protectorChristian Graus6-Nov-09 23:27 
GeneralRe: SMS Parser Pin
tanukochhar7-Nov-09 0:13
tanukochhar7-Nov-09 0:13 
QuestionHow to Get/Generate Database Schema in DataSet with Constrains,Relationship. Pin
alisolution6-Nov-09 21:49
alisolution6-Nov-09 21:49 
QuestionImport data from csv file to data table Pin
palanirajan6-Nov-09 21:27
palanirajan6-Nov-09 21:27 
AnswerRe: Import data from csv file to data table Pin
Christian Graus6-Nov-09 23:48
protectorChristian Graus6-Nov-09 23:48 
GeneralRe: Import data from csv file to data table Pin
palanirajan8-Nov-09 16:03
palanirajan8-Nov-09 16:03 
Questionabout regular expression validation Pin
abolibapat76-Nov-09 21:01
abolibapat76-Nov-09 21:01 
AnswerRe: about regular expression validation Pin
Gamzun6-Nov-09 21:05
Gamzun6-Nov-09 21:05 
GeneralRe: about regular expression validation Pin
Gamzun6-Nov-09 21:07
Gamzun6-Nov-09 21:07 
GeneralRe: about regular expression validation Pin
abolibapat76-Nov-09 21:08
abolibapat76-Nov-09 21:08 
GeneralRe: about regular expression validation Pin
Gamzun6-Nov-09 21:10
Gamzun6-Nov-09 21:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.