Click here to Skip to main content
15,911,035 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPaging in a DataList Control Pin
postmaster@programmingknowledge.com7-Aug-07 4:00
postmaster@programmingknowledge.com7-Aug-07 4:00 
QuestionGridview Rowcommand - Javascript (window.open) Pin
Md Arif7-Aug-07 3:32
Md Arif7-Aug-07 3:32 
AnswerRe: Gridview Rowcommand - Javascript (window.open) Pin
Imran Khan Pathan7-Aug-07 3:53
Imran Khan Pathan7-Aug-07 3:53 
QuestionAbout SQL server reporting Pin
SNSDeveloper7-Aug-07 3:04
SNSDeveloper7-Aug-07 3:04 
Questionhow can i check the hperlinks in PDF using .Net 2.0 Pin
koolprasad20037-Aug-07 2:30
professionalkoolprasad20037-Aug-07 2:30 
QuestionResolveAssemblyReference Exception Pin
ali bagheri7-Aug-07 2:09
ali bagheri7-Aug-07 2:09 
AnswerRe: ResolveAssemblyReference Exception Pin
Vasudevan Deepak Kumar7-Aug-07 2:11
Vasudevan Deepak Kumar7-Aug-07 2:11 
QuestionDisplaying data on gridview using ASP.NET AJAX Pin
Mamphekgo Bahula7-Aug-07 1:38
Mamphekgo Bahula7-Aug-07 1:38 
Hi.
i cannot figure out what's problem with this code because i run when i run on asp.net is running perfectly but with asp.net Ajax it doesn't give me any error but it doesn't display any data on gridview.is there something i should set up before.



string conString = @"Data Source=DAKESERVER;Initial Catalog=K2;User ID=sa";
SqlConnection conProcinst = new SqlConnection(conString);
conProcinst.Open();

SqlCommand cmdProcinst = new SqlCommand();

try
{
cmdProcinst.CommandText = "SELECT * FROM _ProcInst";
cmdProcinst.Connection = conProcinst;

SqlDataReader drProcinst = cmdProcinst.ExecuteReader();
GridView1.DataSource = drProcinst;
GridView1.DataBind();
drProcinst.Close();
}
catch (Exception ex)
{
lblMessage.Text = ex.Message;
}
finally
{
conProcinst.Close();
}


-- modified at 7:49 Tuesday 7th August, 2007

Mamphekgo

AnswerRe: Displaying data on gridview using ASP.NET AJAX Pin
Vasudevan Deepak Kumar7-Aug-07 2:12
Vasudevan Deepak Kumar7-Aug-07 2:12 
GeneralRe: Displaying data on gridview using ASP.NET AJAX Pin
Mamphekgo Bahula7-Aug-07 2:24
Mamphekgo Bahula7-Aug-07 2:24 
GeneralRe: Displaying data on gridview using ASP.NET AJAX Pin
Vasudevan Deepak Kumar7-Aug-07 3:07
Vasudevan Deepak Kumar7-Aug-07 3:07 
QuestionHow to insatll cdo.dll Pin
attalurisubbu7-Aug-07 1:34
attalurisubbu7-Aug-07 1:34 
AnswerRe: How to insatll cdo.dll Pin
Vasudevan Deepak Kumar7-Aug-07 1:42
Vasudevan Deepak Kumar7-Aug-07 1:42 
Questionhow to create aspx page from another aspx page dynamically Pin
santoshkumarB7-Aug-07 1:15
santoshkumarB7-Aug-07 1:15 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Christian Graus7-Aug-07 1:21
protectorChristian Graus7-Aug-07 1:21 
GeneralRe: how to create aspx page from another aspx page dynamically Pin
Malcolm Smart7-Aug-07 1:27
Malcolm Smart7-Aug-07 1:27 
GeneralRe: how to create aspx page from another aspx page dynamically Pin
santoshkumarB7-Aug-07 1:28
santoshkumarB7-Aug-07 1:28 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Vasudevan Deepak Kumar7-Aug-07 1:49
Vasudevan Deepak Kumar7-Aug-07 1:49 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Mircea Grelus7-Aug-07 3:26
Mircea Grelus7-Aug-07 3:26 
GeneralRe: how to create aspx page from another aspx page dynamically Pin
Malcolm Smart7-Aug-07 3:31
Malcolm Smart7-Aug-07 3:31 
GeneralRe: how to create aspx page from another aspx page dynamically Pin
Mircea Grelus7-Aug-07 3:39
Mircea Grelus7-Aug-07 3:39 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Imran Khan Pathan7-Aug-07 3:56
Imran Khan Pathan7-Aug-07 3:56 
Questiondotnet framework Pin
Sonia Gupta7-Aug-07 1:07
Sonia Gupta7-Aug-07 1:07 
AnswerRe: dotnet framework Pin
Christian Graus7-Aug-07 1:22
protectorChristian Graus7-Aug-07 1:22 
GeneralRe: dotnet framework Pin
Sonia Gupta7-Aug-07 1:29
Sonia Gupta7-Aug-07 1: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.