Sorry, what I meant to write was, I tried that but when I bind the grid (gridView.DataBind()), it makes no difference ... works same as before which is no good for me.
Thanks
Any more ideas?
Just to know some other ways of doing this ... can you please tell me how you would filter a gridview attached to linqdatasource?
i.e.
-> There is a gridview displaying Orders.
-> There is a text box for user to enter Order number and a
button to search gridview by the Order Number
How...
Hello experts,
I have a LinqDataSource bound to ASP.Net GridView which simple displays a table's data in the grid. I have a search button and its code behind like this:
protected void search_Click(object sender, EventArgs e)
{
if (textOrderNumber.Text.Trim() != "")
{...
Dont know the details but the main idea would be:
Enable the above scheduler control to accept the drag and drops. For this, you will have to find some property on the scheduler which will accept drag and drops.
Once you have done that, you then need to handle the event (of scheduler) which is...
Try using following code, I tried this and it works fine for me. You have to use the combination of two events as below:
private void numericUpDown1_KeyDown(object sender, KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.ControlKey...
do you know about DevExpress XtraScheduler. For the requirements you mentioned, you would still have to do a lot of work if you decide to use this. But this should save you a lot of work.
Ch Saj
www.shopandsmile.co.uk
If I understand you rightly, use the plus '+' & '@' signs:
Client.DownloadFile(@"http://www.mysite.com/verification.php?username=" + Username + "&password=" + Password, @"C:\verification.php");
Hope it helps
Ch Saj
www.shopandsmile.co.uk
Try following two things:
1) Put everything in try{} and catch{} block, especially whereever the connection is opened, put it into try and catch block and in "finally", close the connection.
2) Use your connection like this:
using (SqlConnection Conn = new SqlConnection())
{...
Hello macleod1021,
I don't think that anything like this would slow down the search because other developers are using search on same amount of code and on similar type of PC specs and their search is faster than mine.
Also I just started experiencing this problem couple of days back...
I think, you need to set it so that it allows empty text while validating. Don't know how to do it but sounds like thats the case. It is not moving away from the textbox because it still thinks the text box is not valid (is empty).
Try looking at the Validator properties.
Hope this helps
Ch...
1) Put a checkbox (with no text on its right side) on the form
2) Put a text box on right side of it.
3) Then you will have to interlink both of them in the event handler of checkbox_checkChanged(). i.e When checkbox is checked, enable editing in the text box and vice versa
4) Also when...
Hello all,
(CTL + F)
I have noticed in my VS.NET 2005, the "Find in All Solution" function has gone really slow for past few days.
What can be wrong?
Cheers
Ch Saj
www.shopandsmile.co.uk
I did give a go at your suggestion in the last message .. but did not help ... as soon as you modify a file in the problem project, the error re-appears!
What I did was, unload project and re-load it. Also removed it from the solution (which removed the references to this project as well, in...
Hello Gorkem,
I did the same mistake a long time ago when I was new to .NET but now I am ok. Its something else ....
I tried removing and re-attaching the references to this problem project but still the error comes up as soon as I edit a file in the problem project.
Cheers
Ch Saj...
Hello Guys,
I tried your suggestions but they do not seem to fix this problem.
Tried building the project on its own but it gives the same error too. Also I have checked the project dependencies and build order. They seem fine.
Because it says, "...cannot access the file ...", I think...
Update about this:
I see the error at build time, ONLY if I have edited a form in the problem project. In other words, if I edit a form in the project which is giving error, then build the solution, it fails to build and gives the error described in previous post.
Ch Saj
www.shopandsmile.co.uk
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.