Hi All, I am facing a weird kinda problem. Can't figure the solution. Here is the problem. I have a string "FLAMES". This is a fixed string. I want to start counting the string characters till it reaches the value of an integer 'n' say the value of n = 7. So what I is want is the code to start counting from F,L,A,M,E,S now at n = 6 the string finishes, so n = 7 will be "F". Now at the last count of n whatever alphabet is there it should get scrapped off. In this case "F" gets scrapped off. The reamining string is "LAMES". Then restart the count from "L" till n = 7 and this time the alphabet that gets scrapped will be "A", the remaining string is "LMES" Again restart the count from next character which in this case is "M". Repeat this procedure untill there is only one alphabet remaining in "FLAMES". In this case of n = 7 it should be "E" Can anybody help in this? I'm really stuck at this. Thanks in advance for any help. Manik
Manik Nath
Posts
-
Count a String using an integer; delete a character and then restart the count from next character -
word document in web applicationThanx rizwan for your help.....but this code works in windows application not in web application...anyways i got a way to get it in web application, but now i have another problem, i have a datagrid in the same application now i want to get that data grid in the word document....can you help me on this..... thanks a lot rizwan manik
-
word document in web applicationhi all, i'm developin a web application in vb.net 2005 in which i need certain values to be passed to a word document....but i'm unable to do so....can anyone here help me... Any help will be very kind of you Thanks..
-
Web site hosting on local network -
Web site hosting on local network -
Web site hosting on local networkHi Tamimi, Thanx for your help....but sorry it did not work instead it gives some error...the error is.... Source Error: Line 11: debugging ASP.NET files. Line 12: --> Line 13: Line 14: Line 15:
-
Web site hosting on local networkHi all, i have a web application developed in vb.net 2005.... now i want the clients on LAN to use it....i'm unable to do so please tell me how do i do that. Thanks and Regards..
-
The Login control in vb.net 2005Hi there, can anybody help me.....how to use the login control in vb.net 2005.....i mean dragging and dropping how to code it. Thanks and Regards.
-
print, assign and logonThanx Chris for your valuable sugesstion of how to assign value to textbox but the question here was to get only one record from a list of records in database. ne ways i solved the problem. i think you are right that everyone should learn on their own. Thanks and Regards Manik
-
print, assign and logonHi Chris, Thanks For your advice. But the first Problem i'm still not able to figure out how assign value to textbox. a bit of code will help. If possible please help me. Manik
-
print, assign and logonhi ppl, i'm facing three problems can anyone guide me. it will be of great help. i'm using vb.net and ms access as database. the problems are as follows:- 1). I have a database with one table named project name with only one field. what i need is to get any particular record from that table to be displayed in a textbox named txtproject. 2). another problem is that i have a web form with 3 textboxes, 3 labels and 1 button named print. what i need is to get is that on click of button only the text fields of labels and textboxes to print on paper. 3). The problem is that i want to create a logon page. i have a database in access which has one table and two coulmns username and password. how do i do it. Thanks and Regards Manik
-
last recordsorry to bother you again dave. but the code works fine and gets me the data on to a datagrid. only one single LastProjectName data is returned. but when i try to get the data to a dropdownlist it does not work. how do i do this. also if there is a way by which i can get the data on a datagrid to a textbox. i mean that the datagrid displays the LastProjectName but can i get this value into a textbox. thanx and regards manik
-
last recordthanx dave, it works. regards manik nath
-
last recordHi ppl, i have a database with only one table named project_name. what i want is that on the page load event the last record of this database should be displayed in a textbox on my web form. how doi do this. i'm using access as my database. please help me. thanks and regards manik
-
populate dropdownlisthi ppl, i have a database with three columns namely first_name, second_name and third_name. and i want only the contents of first column i.e contents of first_name column to be displayed in a dropdownlist how do i do this. thanks and regards
-
Syntax error in INSERT INTO statement.ii checked everything dave twice and thrice. but the webform on which the code doesn't work and gives the error. also doesn't work with a code as simple as this. strsqlinsert = "INSERT INTO Chec (first)" + " VALUES (" + TextBox1.Text + ")" if there is something wrong with it i don't know about it.
-
Syntax error in INSERT INTO statement.but dave if that is the case then it should give error in both the cases. in one form the syntax is working fine and in another form it's giving error. i have also double checked everything.
-
urgent help on book systemthanx dave, anyways i'm a newbie at web applications that's y askin for help. buthave to do somethin to save my job.
-
Syntax error in INSERT INTO statement.thanx dave, the problem is solved by ur code. but the this method is working fine on one application. but on another it again gives the same syntax error. what to do?:( also what do you mean by parametrised query. or what is the better method can you tell me.
-
urgent help on book systemhi, thanx guys for the advices. but tell you christian it'snot that easy to resign and look for another job. but i'll try to do something. and hope things are allright. but even if you guys find something to help please do so.