|
debug your code, man. What else can I say?
|
|
|
|
|
All,
I am looking for a regular expression for a string to allow alphabets ,digits and only special characters like underscore(_) and blank space.
i tried using [0-9a-zA-Z]+$ but it accepts only digits and alphabets which is stops my functionality.
my string should accept only _ and blank space no more special characters.......
can some one suggest me the proper regular expression?
Thanks,
Mukkanti.
Thanks
Mukkanti
|
|
|
|
|
[0-9a-zA-Z_\s]+$
I think should work, unless _ is a control character (I haven't had my coffee yet, so my mind isn't working well ).
10110011001111101010101000001000001101001010001010100000100000101000001000111100010110001011001011
|
|
|
|
|
Here is a website regarding regular expression. Maybe you can find what you want.
http://regexlib.com/[^]
|
|
|
|
|
Hi all. I am working on a page with a treeview on that state needs to be saved on postback(Meta Refresh). Now I've got the following code to create a cookie if a node is expanded
Protected Sub tvSideNav_NodeExpanded(ByVal sender As Object, ByVal e As ComponentArt.Web.UI.TreeViewNodeEventArgs) Handles tvSideNav.NodeExpanded
Try
Dim i As Integer
For i = 0 To Request.Cookies.Count - 1
Request.Cookies.Remove(i)
Next
Dim UserCookie As HttpCookie = New HttpCookie("UserCookie")
UserCookie.Name = "Details"
UserCookie.Values.Add("node", tvSideNav.SelectedNode.GetCurrentIndex.ToString)
Response.Cookies.Add(UserCookie)
Catch ex As Exception
End Try
End Sub
but this code doesn't seem to fire when a node is expanded. Can someone tell me why this is?
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
I figured it out. In the aspx page in the treeview component you have to set the following.
AutoPostBackOnNodeExpand ="true "
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Hi. I've put a GridView inside a UpdatePanel. GridView is enabled for paging. now i want to display a message from the client side when ever GridView is rebinded through paging i.e. particular portion is updated.
|
|
|
|
|
You could try using an UpdateProgress control with the UpdatePanel.
|
|
|
|
|
in my web application I m taking entry by grid from the user.
user inserts hundreds of lines in grid and when he is finised he presses submit button and data is saved into database.
Now problem is, when user is inserting hundredth line and some network failure occurs or client system shuts down. Then all the data entered by the user losts.
So tell me any way so that when user logs in next time a message should be their to recover last lost data. and user is able to recover his lost data.
Please send the reply. It is as urgent as anything.
Thanks
Ashish Jha
Software Engineer
|
|
|
|
|
Member 3931259 wrote: It is as urgent as anything
taking urgtz to the next level
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Have some javascript send the data to some area for draft information until the final version is submitted. Each time the user goes to that page the draft information is looked for. It it exists is is loaded, if not then the user carries on as normal.
|
|
|
|
|
Maybe the better way is to save the data automatically & timely.
Two ways as below:
1) automatically save the data every 30s, 60s, ... etc;
2) automatically save the data when the user input 10th line, 20th line, ... etc.
|
|
|
|
|
Hi, i developed one web applicatin and deployed on server. The applicaiton is working fine. One of the webpage in applicaiton tooks .csv file data and process the data and gives the output in .csv format.
If the .csv file(input file is small size) its working fine. It the .csv file is around 14 MB it processing the file up to some time and it displaying the message in browser as "Internet explorer cannot display this message." I have checked in server, the file is uploading to server correctly.
The inside process is, it has to read data from ,csv file to datatable and process it and writes datatable output to another .csv file and allow the user to download.
I have checked by having 3 lakh records in .csv file - working fine.
when i checked with 6 lakh records it showing above message.
Can any one suggest on this? why its happening?
G. Satish
|
|
|
|
|
Hint: TimeOut. The page is being timed out.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I have created an assembly(for multilingual application) and installed in GACUtil with strong name but when i tried to access this assembly using
Thread.CurrentThread.CurrentUICulture = new CultureInfo(specificCulture);
string baseName = "BiLingual";
ResourceManager rm = new ResourceManager(baseName,
typeof(Program).Assembly);
label1.Text = rm.GetString("label1");
it shows error : "Could not find any resource"
GAC assembly name : BiLingual.resources
culture : en-US
could somebody know what is happening here and how to access the satellite assembly
thnks in advance
|
|
|
|
|
hi,
I have a database table as:
particulars dr amount cr amount
deposit 0 200
Fine 0 100
Expenditure 10000 0
I have to show this in profit and loss account as
particulars dr amount particulars cr amount
Expenditure 1000 deposit 200
fine 100
regards,
Bill
|
|
|
|
|
Thats fine, you go ahead and do it. If you have a specific problem then come back with it.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Ok, so what is the problem you are facing?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi to all,
I have a mail table with the fields like id,to,receiver,subject,description,date etc..
when i fill the to field with multiple receipient seperated by comma, i want to store datas in the table for all members.
How it is possible?
|
|
|
|
|
Karthick_gc wrote: multiple receipient seperated by comma, i want to store datas in the table for all members.
What do you mean by that? Please explain in detail.
|
|
|
|
|
Suppose if i give 5 names in to field seperated by commas, i want to insert the data for those 5 names seperately.
|
|
|
|
|
Split the values into a string array(String.Split() ), loop through it and insert one by one.
|
|
|
|
|
1.create an array
string[] names = {"a", "b", "c", "d"};
2. loop through all values
foreach (string name in names)
{
//do what ever you want to do with a single values.
}
Prince
Team Lead
Quest Solutions
www.imaginethinkact.com
|
|
|
|
|
In my application I want to open a new window on click of a gridview record. The hyperlink is in an ItemTemplate Column.
On click of that i need to open a new window passing the rid also in querystring how can i do this?
<br />
<asp:HyperLink ID="hRequestID" runat="server" Text='<%# Eval("Request ID")%>'<br />
NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.Request ID","SearchEdit.aspx?rid={0}") %>'><br />
</asp:HyperLink><br />
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
Set the Target[^] property of HyperLink to _blank
|
|
|
|