Re: asp.net problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Please don't post the same question with different subjects.

Already answered in your other thread...



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"amjad" <amjad@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9B4CC687-8E70-47E9-81DF-EFDC8A415271@xxxxxxxxxxxxxxxx
I have used the link below and try to run the example
"http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstart/aspplus/samples/webforms/data/datagrid1.src&file=CS\datagrid1.aspx&font=3";
but it giving me the error i dont have any idea whats wrong seem to be olrite
but still got error my sqlserver is on ip 10.0.0.2 and using windows athun
instead of sql server
here is the connection string
SqlConnection myConnection = new
SqlConnection("server=10.0.0.2;database=MyDatabase;Trusted_Connection=yes");
SqlDataAdapter myCommand = new SqlDataAdapter("select * from Authors",
myConnection);

DataSet ds = new DataSet();
myCommand.Fill(ds, "Authors");

MyDataGrid.DataSource=ds.Tables["Authors"].DefaultView;
MyDataGrid.DataBind();
any one has any idea whats wrong thanks



.



Relevant Pages

  • Re: ASP.NET 2.0 learn curve !
    ... Juan T. Llibre, asp.net MVP ... asp.net faq: http://asp.net.do/faq/ ... Whats the quick, systematic way to learn ASP.NET 2.0 in less amount of time. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Modify records and create a calculated field and add those records to a table
    ... Alex Dybenko (MVP) ... "Bob" wrote in message ... Whats the best way to take the records from a table into a recordset, ...
    (microsoft.public.access.modulesdaovba)
  • Re: need some help
    ... Alvin Bruney [ASP.NET MVP] ... Got tidbits? ... "Mike" wrote in message ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Some One in spying my pc in office
    ... Mike Hall ... MVP - Windows Shell/User ... few minutes even when its idle, how can i find whats going behind i ...
    (microsoft.public.windowsxp.security_admin)
  • Re: How to validate a URL ?
    ... Development SDK. ... Check Abdoul [VC++ MVP] ... > Whats the best way to find out if a URL is valid? ...
    (microsoft.public.vc.language)