Click here to Skip to main content
15,849,494 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-Dev7-Nov-09 0:35
Dot-Net-Dev7-Nov-09 0:35 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Christian Graus7-Nov-09 0:39
protectorChristian Graus7-Nov-09 0:39 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Gamzun7-Nov-09 0:45
Gamzun7-Nov-09 0:45 
AnswerRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Christian Graus7-Nov-09 0:35
protectorChristian Graus7-Nov-09 0:35 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
anilaabc7-Nov-09 1:16
anilaabc7-Nov-09 1:16 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Gamzun7-Nov-09 3:15
Gamzun7-Nov-09 3:15 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Christian Graus7-Nov-09 9:57
protectorChristian Graus7-Nov-09 9:57 
GeneralRe: Connection closes on browsing the same site in two browsers on the same computer Pin
Dot-Net-Dev9-Nov-09 1:36
Dot-Net-Dev9-Nov-09 1: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 23:33
bahar.ghara6-Nov-09 23:33 
AnswerRe: file upload Pin
Gamzun7-Nov-09 0:19
Gamzun7-Nov-09 0:19 
AnswerRe: file upload Pin
Christian Graus7-Nov-09 0:32
protectorChristian Graus7-Nov-09 0:32 
GeneralRe: file upload Pin
Richard MacCutchan7-Nov-09 5:18
mveRichard MacCutchan7-Nov-09 5:18 
AnswerRe: file upload Pin
Richard MacCutchan7-Nov-09 6:38
mveRichard MacCutchan7-Nov-09 6:38 
QuestionSMS Parser Pin
tanukochhar6-Nov-09 23:19
tanukochhar6-Nov-09 23:19 
AnswerRe: SMS Parser Pin
Christian Graus7-Nov-09 0:27
protectorChristian Graus7-Nov-09 0:27 
GeneralRe: SMS Parser Pin
tanukochhar7-Nov-09 1:13
tanukochhar7-Nov-09 1:13 
QuestionHow to Get/Generate Database Schema in DataSet with Constrains,Relationship. Pin
alisolution6-Nov-09 22:49
alisolution6-Nov-09 22:49 
QuestionImport data from csv file to data table Pin
palanirajan6-Nov-09 22:27
palanirajan6-Nov-09 22:27 
AnswerRe: Import data from csv file to data table Pin
Christian Graus7-Nov-09 0:48
protectorChristian Graus7-Nov-09 0:48 
GeneralRe: Import data from csv file to data table Pin
palanirajan8-Nov-09 17:03
palanirajan8-Nov-09 17:03 
Questionabout regular expression validation Pin
abolibapat76-Nov-09 22:01
abolibapat76-Nov-09 22:01 
AnswerRe: about regular expression validation Pin
Gamzun6-Nov-09 22:05
Gamzun6-Nov-09 22:05 
GeneralRe: about regular expression validation Pin
Gamzun6-Nov-09 22:07
Gamzun6-Nov-09 22:07 
GeneralRe: about regular expression validation Pin
abolibapat76-Nov-09 22:08
abolibapat76-Nov-09 22:08 
GeneralRe: about regular expression validation Pin
Gamzun6-Nov-09 22:10
Gamzun6-Nov-09 22: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.