Click here to Skip to main content
15,892,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem in inserting "Hindi" Text in MySql5.0 using ASP.Net Pin
mkumar25118-Jun-09 2:34
mkumar25118-Jun-09 2:34 
GeneralRe: Problem in inserting "Hindi" Text in MySql5.0 using ASP.Net Pin
Jain Vijay8-Jun-09 21:43
Jain Vijay8-Jun-09 21:43 
Questionproblem with dataset [modified] Pin
govindi unal8-Jun-09 0:40
govindi unal8-Jun-09 0:40 
AnswerRe: problem with dataset Pin
saanj8-Jun-09 0:48
saanj8-Jun-09 0:48 
AnswerRe: problem with dataset Pin
Abhijit Jana8-Jun-09 0:49
professionalAbhijit Jana8-Jun-09 0:49 
GeneralRe: problem with dataset Pin
govindi unal8-Jun-09 0:57
govindi unal8-Jun-09 0:57 
GeneralRe: problem with dataset Pin
Abhijit Jana8-Jun-09 1:54
professionalAbhijit Jana8-Jun-09 1:54 
GeneralRe: problem with dataset Pin
govindi unal9-Jun-09 21:41
govindi unal9-Jun-09 21:41 
Protected Sub btStart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btStart.Click
Session("NoOfRecords") = 0
Try
sqlConn.ConnectionString = System.Configuration.ConfigurationManager.AppSettings("Constr")

With sqlComm
.Connection = sqlConn
.CommandText = "OLE_InsertExamDetails"
.CommandType = CommandType.StoredProcedure
.Parameters.Add("@RollNumber", SqlDbType.Char, 100).Value = Trim(txtrollnumber.Text)
.Parameters.Add("@ExamDate", SqlDbType.DateTime).Value = "02-02-2009"
.Parameters.Add("@SemesterName", SqlDbType.Char, 20).Value = "One"
.Parameters.Add("@Papertype", SqlDbType.Char, 20).Value = RadioButtonList1.SelectedItem.Text
End With
sqlDataAdap.SelectCommand = sqlComm
sqlConn.Open()

sqlDataset = New DataSet
sqlDataAdap.Fill(sqlDataset)
Catch ex As Exception
lblmessage.text ="Error in inserting"
End Try
sqlConn.Close()

MsgBox(sqlDataset.Tables.Count)
MsgBox(sqlDataset.Tables(0).Rows.Count)

End Sub
it displays number of tables and corresponding records
but when i click on another command button ]
for number of tables it displays 0
and for number of rows it generates error cannot find table 0
Question[Message Deleted] Pin
souravghosh187-Jun-09 23:52
souravghosh187-Jun-09 23:52 
AnswerRe: how to delete a gridview column programatically Pin
saanj8-Jun-09 0:04
saanj8-Jun-09 0:04 
AnswerRe: how to delete a gridview column programatically Pin
Abhijit Jana8-Jun-09 0:11
professionalAbhijit Jana8-Jun-09 0:11 
QuestionHow To Execute Exe Pin
ais077-Jun-09 22:39
ais077-Jun-09 22:39 
AnswerRe: How To Execute Exe Pin
Abhijit Jana7-Jun-09 22:54
professionalAbhijit Jana7-Jun-09 22:54 
Questiondiv popup Pin
gichki7-Jun-09 22:27
gichki7-Jun-09 22:27 
AnswerRe: div popup Pin
Abhijit Jana7-Jun-09 22:30
professionalAbhijit Jana7-Jun-09 22:30 
AnswerRe: div popup Pin
Matt Cavanagh7-Jun-09 22:54
Matt Cavanagh7-Jun-09 22:54 
QuestionPopup Control Pin
jonhbt7-Jun-09 22:05
jonhbt7-Jun-09 22:05 
AnswerRe: Popup Control Pin
saanj7-Jun-09 23:40
saanj7-Jun-09 23:40 
GeneralRe: Popup Control Pin
jonhbt7-Jun-09 23:51
jonhbt7-Jun-09 23:51 
GeneralRe: Popup Control Pin
saanj8-Jun-09 0:22
saanj8-Jun-09 0:22 
GeneralRe: Popup Control Pin
jonhbt8-Jun-09 0:33
jonhbt8-Jun-09 0:33 
GeneralRe: Popup Control Pin
saanj8-Jun-09 0:40
saanj8-Jun-09 0:40 
GeneralRe: Popup Control Pin
jonhbt8-Jun-09 2:42
jonhbt8-Jun-09 2:42 
GeneralRe: Popup Control Pin
saanj8-Jun-09 3:07
saanj8-Jun-09 3:07 
GeneralRe: Popup Control Pin
Abhijit Jana8-Jun-09 0:01
professionalAbhijit Jana8-Jun-09 0:01 

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.