Click here to Skip to main content
15,893,381 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to minimize asp.net page size? Pin
Abhijit Jana26-Mar-09 1:35
professionalAbhijit Jana26-Mar-09 1:35 
GeneralRe: how to minimize asp.net page size? Pin
dev sheoran26-Mar-09 2:00
dev sheoran26-Mar-09 2:00 
Questionsteps for creating Web Service Pin
Ratnadeep_Raul26-Mar-09 0:20
Ratnadeep_Raul26-Mar-09 0:20 
AnswerRe: steps for creating Web Service Pin
Abhijit Jana26-Mar-09 1:40
professionalAbhijit Jana26-Mar-09 1:40 
GeneralRe: steps for creating Web Service Pin
Ratnadeep_Raul26-Mar-09 2:06
Ratnadeep_Raul26-Mar-09 2:06 
GeneralRe: steps for creating Web Service Pin
Abhijit Jana26-Mar-09 2:27
professionalAbhijit Jana26-Mar-09 2:27 
Questioninitiate workflow programatically ASP.NET using VB [modified] Pin
Ratnadeep_Raul26-Mar-09 0:16
Ratnadeep_Raul26-Mar-09 0:16 
QuestionThe object must implement IConvertible Pin
foryou26-Mar-09 0:01
foryou26-Mar-09 0:01 
Hi!!

I have this error message:

"The object must implement IConvertible."

in this line

myAdapter.Fill(ds, "Table1");
my code is:

  private void BindData()<br />
    {<br />
<br />
        try<br />
        {<br />
            SqlConnection myConnection = new SqlConnection(ConnectionString);<br />
            SqlCommand myCommand = new SqlCommand("SP_S1", myConnection);<br />
            myCommand.Parameters.Add("@ch1", SqlDbType.VarChar, 30).Value<br />
     = DropDownList1.SelectedItem;<br />
<br />
            myCommand.CommandType = CommandType.StoredProcedure;<br />
            SqlDataAdapter myAdapter = new SqlDataAdapter(myCommand);<br />
            DataSet ds = new DataSet();<br />
<br />
            myAdapter.Fill(ds, "Table1");<br />
            myConnection.Open();<br />
            myCommand.ExecuteNonQuery();<br />
            GridView1.DataSource = ds;<br />
<br />
            GridView1.DataBind();<br />
            myConnection.Close();<br />
        }<br />
        catch (Exception)<br />
        { }<br />
<br />
<br />
    }<br />

someone could help me?
Thanks.
AnswerRe: The object must implement IConvertible Pin
Blue_Boy26-Mar-09 0:17
Blue_Boy26-Mar-09 0:17 
GeneralRe: The object must implement IConvertible Pin
foryou26-Mar-09 0:27
foryou26-Mar-09 0:27 
GeneralRe: The object must implement IConvertible Pin
Blue_Boy26-Mar-09 0:30
Blue_Boy26-Mar-09 0:30 
QuestionMenu Control with double functionality needed.... Pin
urvipin25-Mar-09 23:57
urvipin25-Mar-09 23:57 
AnswerRe: Menu Control with double functionality needed.... Pin
annapurna.tiwari26-Mar-09 1:10
annapurna.tiwari26-Mar-09 1:10 
GeneralRe: Menu Control with double functionality needed.... Pin
urvipin26-Mar-09 1:22
urvipin26-Mar-09 1:22 
QuestionHow could i access data from a Table through Javascript? Pin
Subin Alex25-Mar-09 23:39
Subin Alex25-Mar-09 23:39 
Questionwant dynamically change the Items Control(FileUploadControl.xaml) in scrollviewer "Silver Light" Pin
Piyush Vardhan Singh25-Mar-09 23:36
Piyush Vardhan Singh25-Mar-09 23:36 
AnswerRe: want dynamically change the Items Control(FileUploadControl.xaml) in scrollviewer "Silver Light" Pin
Abhishek Sur25-Mar-09 23:38
professionalAbhishek Sur25-Mar-09 23:38 
GeneralRe: want dynamically change the Items Control(FileUploadControl.xaml) in scrollviewer "Silver Light" Pin
Piyush Vardhan Singh25-Mar-09 23:41
Piyush Vardhan Singh25-Mar-09 23:41 
Questionhow to traverse through the records using sql datareader Pin
nerzhul8625-Mar-09 22:34
nerzhul8625-Mar-09 22:34 
AnswerRe: how to traverse through the records using sql datareader Pin
anilpal25-Mar-09 22:41
anilpal25-Mar-09 22:41 
AnswerRe: how to traverse through the records using sql datareader Pin
logiclabz25-Mar-09 23:32
logiclabz25-Mar-09 23:32 
Questionhow to use capcha code Pin
JAYRAJ GIRI25-Mar-09 22:10
JAYRAJ GIRI25-Mar-09 22:10 
AnswerRe: how to use capcha code Pin
Abhijit Jana25-Mar-09 22:43
professionalAbhijit Jana25-Mar-09 22:43 
AnswerRe: how to use capcha code Pin
N a v a n e e t h25-Mar-09 23:26
N a v a n e e t h25-Mar-09 23:26 
QuestionHow to get the Client Machine IP Address if Using Proxy Pin
Robymon25-Mar-09 21:29
Robymon25-Mar-09 21:29 

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.