Click here to Skip to main content
15,898,035 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Cookies Pin
Michael Sync27-Feb-07 20:11
Michael Sync27-Feb-07 20:11 
AnswerRe: Cookies Pin
Vasudevan Deepak Kumar28-Feb-07 12:34
Vasudevan Deepak Kumar28-Feb-07 12:34 
QuestionRemove Event onMouseOver on ImageHtml [modified] Pin
AnhTin27-Feb-07 16:07
AnhTin27-Feb-07 16:07 
AnswerRe: Remove Event onMouseOver on ImageHtml Pin
Michael Sync27-Feb-07 19:38
Michael Sync27-Feb-07 19:38 
AnswerRe: Remove Event onMouseOver on ImageHtml Pin
Bradml27-Feb-07 22:29
Bradml27-Feb-07 22:29 
QuestionASP and SQL Server 2005 NOT ASP.NET Pin
Kiss Lover27-Feb-07 7:30
Kiss Lover27-Feb-07 7:30 
AnswerRe: ASP and SQL Server 2005 NOT ASP.NET Pin
andyharman27-Feb-07 8:16
professionalandyharman27-Feb-07 8:16 
QuestionASP Export to Excel Pin
admoore7727-Feb-07 4:16
admoore7727-Feb-07 4:16 
AnswerRe: ASP Export to Excel Pin
andyharman27-Feb-07 5:46
professionalandyharman27-Feb-07 5:46 
QuestionRe: ASP Export to Excel Pin
admoore7727-Feb-07 6:32
admoore7727-Feb-07 6:32 
AnswerRe: ASP Export to Excel Pin
andyharman27-Feb-07 8:15
professionalandyharman27-Feb-07 8:15 
QuestionI want to Execuate EXE file on client machine through vbscript or javascript. Pin
divyesh143226-Feb-07 23:31
divyesh143226-Feb-07 23:31 
AnswerRe: I want to Execuate EXE file on client machine through vbscript or javascript. Pin
Bradml26-Feb-07 23:44
Bradml26-Feb-07 23:44 
AnswerRe: I want to Execuate EXE file on client machine through vbscript or javascript. Pin
User 171649226-Feb-07 23:54
professionalUser 171649226-Feb-07 23:54 
QuestionDatagrid fails to show data! Pin
nclauder26-Feb-07 22:04
nclauder26-Feb-07 22:04 
AnswerRe: Datagrid fails to show data! Pin
Marcus J. Smith27-Feb-07 3:11
professionalMarcus J. Smith27-Feb-07 3:11 
nclauder wrote:
private void Fill()
{
DataTable table = new DataTable();
SqlDataAdapter adapter = new SqlDataAdapter("SELECT * from dbo.DashBoard", con);
adapter.Fill(table);
}
private void Bind()
{
DataTable table = new DataTable();
dgis.DataSource = table;
dgis.DataBind();
}
private void InsertEmpty()
{
DataTable table = new DataTable();
table.Rows.InsertAt(table.NewRow(), 0);
}


You create a new datatable everytime you do anything which means that when you bind you have nothing in it. You should create it in the originating method and pass it to the three functions as a ByRef variable or create a module level variable.


CleAkO

"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that." - Tommy Boy
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

GeneralRe: Datagrid fails to show data! Pin
nclauder28-Feb-07 0:32
nclauder28-Feb-07 0:32 
GeneralRe: Datagrid fails to show data! Pin
Marcus J. Smith28-Feb-07 6:52
professionalMarcus J. Smith28-Feb-07 6:52 
GeneralRe: Datagrid fails to show data! Pin
nclauder28-Feb-07 20:17
nclauder28-Feb-07 20:17 
Questionapache server Pin
Manjunath S26-Feb-07 21:51
Manjunath S26-Feb-07 21:51 
AnswerRe: apache server Pin
Bradml26-Feb-07 23:44
Bradml26-Feb-07 23:44 
Questionnew error Pin
No-e26-Feb-07 9:17
No-e26-Feb-07 9:17 
AnswerRe: new error Pin
kubben26-Feb-07 9:27
kubben26-Feb-07 9:27 
GeneralRe: new error Pin
No-e26-Feb-07 9:47
No-e26-Feb-07 9:47 
QuestionHow to handle secondary tables that key off primary table Pin
MaxRelaxman26-Feb-07 7:23
MaxRelaxman26-Feb-07 7:23 

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.