Click here to Skip to main content
15,178,578 members

Comments by Bikash Shrestha From Nepal (Top 33 by date)

   
if i run the code in chrome console, it works. but if used in php page, it fails
   
please Make Yourself Clear
Bikash Shrestha From Nepal 28-Oct-10 11:46am View
   
what does the usercontrol contain?and what is the role of that user control?please make us clear.
Bikash Shrestha From Nepal 28-Oct-10 11:42am View
   
I didn't understand you. What do you want to Collapse? Row or Column..
Bikash Shrestha From Nepal 26-Oct-10 14:26pm View
   
Firstly, paste your code so that we will be able to know what went wrong
Bikash Shrestha From Nepal 24-Oct-10 12:44pm View
   
Deleted
Reason for my vote of 3
Okay
Bikash Shrestha From Nepal 24-Oct-10 12:35pm View
   
Deleted
Reason for my vote of 3
good tips for beginners
Bikash Shrestha From Nepal 24-Oct-10 12:16pm View
   
Deleted
after erasing ,retype } then only VS IDE will format the code between that } and its corresponding {.condition applied:there is no syntax error.
Bikash Shrestha From Nepal 23-Oct-10 11:15am View
   
If this helped you then please Vote
Bikash Shrestha From Nepal 23-Oct-10 11:13am View
   
please vote me if it helped You
   
Sorry bro,please make yourself clear
   
you are right.
   
please make yourself clear
   
which database are you using?
   
please make it clear whether you want to show the time delay betn loading of rows or you want to make delay yourself in loading the rows and show the time delay.
   
You Can use RowDataBound event of GridView to achieve this.please post your code here and i will provide the solution
   
will you please paste your code here
   
please paste you code here so that we can help you
   
can you please paste your code so that we can help you
   
yo Jipin ,good one
Bikash Shrestha From Nepal 16-Oct-10 22:54pm View
   
can you please paste your code so that we can find where you have missed
Bikash Shrestha From Nepal 15-Oct-10 22:26pm View
   
please elaborate yourself dude
Bikash Shrestha From Nepal 15-Oct-10 16:23pm View
   
Do you agree with the statement of Abhinav s :- "Split can only split a string based on a single character." ???
Bikash Shrestha From Nepal 15-Oct-10 16:00pm View
   
i have reposted the correct code below
Bikash Shrestha From Nepal 15-Oct-10 15:54pm View
   
sorry robert , aspdotnetdev is correct.i just missed it
Bikash Shrestha From Nepal 15-Oct-10 15:51pm View
   
hello Shivesh you can create getproducts methods as shown bwlow

private DataTable getproducts()
{
SqlConnection con = new SqlConnection(ConfigurationManager.AppSettings["connectionstring"].ToString());
SqlCommand cmd = new SqlCommand("select product_name,product_rate from product_detail", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds, "product_detail");
return ds.Tables[0];
}
Bikash Shrestha From Nepal 15-Oct-10 15:47pm View
   
you can create getproducts methods as shown bwlow

DataTable getproducts()
{
SqlConnection con = new SqlConnection(ConfigurationManager.AppSettings["connectionstring"].ToString());
SqlCommand cmd = new SqlCommand("select product_name,product_rate from product_detail", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds, "product_detail");
return ds.Tables[0];
}
Bikash Shrestha From Nepal 15-Oct-10 12:06pm View
   
can u plz elaborate your problem clearly
   
the way you are trying to do is not worthy.Because, you are trying to populate products in a gridview then whats the need of using dropdownlist inside gridview.

gridview is itself meant for listing collection of records.i mean to say no dropwown is needed.
   
Good example Jipin Boka
   
Good suggestion Toli Bro
   
Plz make us clear , what you want to do
   
it works fine in websites but i dont think this works in webapplications' cs file