i think u r missing a statement... m_thisCommand.CommandType = CommandType.Text; please try this,,,
DineshT
i think u r missing a statement... m_thisCommand.CommandType = CommandType.Text; please try this,,,
DineshT
i think u r a begginer. so i want to suggest to create only static site at your first phase. you can create a site for JWELLERY shops...
DineshT
You can do it on RowDataBound Event. Like This :
protected void Grd_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType == DataControlRowType.DataRow && e.Row.RowIndex == 4)
{
e.Row.Style["Color"] = "Red";
}
else if (e.Row.RowType == DataControlRowType.DataRow && e.Row.RowIndex == 5)
{
e.Row.Style["Color"] = "Green";
}
}
}
A thread is a new process started by u and it can not access controls of thread who create it. but the child thread can return data to parent thread. error "Cross-thread operation not valid: Control 'ProgressBar1' accessed from a thread other than the thread it was created on" thrown by your code is an example of it. Solution: you can use BackgroundWorker class to reduce your problem. it will start a new thread and doesn't hang your application while searching and it can also return data to your application after completion of it's execution. if you can work according to my suggesion then OK otherwise tell me, i will give an example code that will solve your problem.
hahaha.... :laugh: :laugh: :laugh:
Hi Dear, it's not possible without .aspx because .js file(s) are loaded when page loads and remain in cache for future. when u write your code in aspx it executes on server and return values of server variable(s). but in .js file code will not executes when page loads. i think it's not possible... DineshT Senior Software Developer Professional Softec Pvt. Ltd. Jaipur (India)