Click here to Skip to main content
15,924,581 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP .NET on server Pin
StianSandberg23-Mar-07 2:27
StianSandberg23-Mar-07 2:27 
QuestionDelete Row of GridView Pin
varshavmane22-Mar-07 22:15
varshavmane22-Mar-07 22:15 
AnswerRe: Delete Row of GridView Pin
_AK_22-Mar-07 22:28
_AK_22-Mar-07 22:28 
GeneralRe: Delete Row of GridView Pin
varshavmane22-Mar-07 23:18
varshavmane22-Mar-07 23:18 
GeneralRe: Delete Row of GridView Pin
_AK_22-Mar-07 23:34
_AK_22-Mar-07 23:34 
Questionread write text file Pin
VaibhavTiparadi22-Mar-07 22:03
VaibhavTiparadi22-Mar-07 22:03 
AnswerRe: read write text file Pin
joon vh.23-Mar-07 3:39
joon vh.23-Mar-07 3:39 
AnswerRe: read write text file Pin
Sunny__Singh2-Feb-13 0:11
Sunny__Singh2-Feb-13 0:11 
For this, you need to know 3 things.
1. How to read a text file.
2. How to replace a string with a new string
3. How to write a text file.

Steps: 1. Read text file and get all the content in a string variable let's say str.
2. Replace the specific text from the string's value, so that the string should represent the new data that you want in the textfile. You can use str = String.Replace("Old String","New String");
3. Write the string variable's value into the text file.

The following link explains how to read data from a text file and how to write data into a text file:
http://www.freedotnetapps.com/asp-net/how-to-read-data-from-and-write-data-to-text-file-in-asp-net
QuestionHow to send /recieve mails in local network Pin
yang__lee22-Mar-07 21:15
yang__lee22-Mar-07 21:15 
AnswerRe: How to send /recieve mails in local network Pin
danidanidani23-Mar-07 5:52
danidanidani23-Mar-07 5:52 
QuestionDrop downList Pin
Mkanchha22-Mar-07 20:49
Mkanchha22-Mar-07 20:49 
AnswerRe: Drop downList Pin
theScorp22-Mar-07 21:14
theScorp22-Mar-07 21:14 
GeneralRe: Drop downList Pin
Mkanchha23-Mar-07 3:04
Mkanchha23-Mar-07 3:04 
QuestionJavaScript function in onload event Pin
gauthee22-Mar-07 20:47
gauthee22-Mar-07 20:47 
AnswerRe: JavaScript function in onload event Pin
Sandeep Akhare22-Mar-07 20:52
Sandeep Akhare22-Mar-07 20:52 
GeneralRe: JavaScript function in onload event Pin
gauthee22-Mar-07 21:23
gauthee22-Mar-07 21:23 
GeneralRe: JavaScript function in onload event Pin
Sandeep Akhare22-Mar-07 21:39
Sandeep Akhare22-Mar-07 21:39 
GeneralRe: JavaScript function in onload event Pin
gauthee22-Mar-07 22:21
gauthee22-Mar-07 22:21 
AnswerRe: JavaScript function in onload event Pin
Kschuler23-Mar-07 4:28
Kschuler23-Mar-07 4:28 
Questioni need name of the month Pin
sooreeagt22-Mar-07 20:44
sooreeagt22-Mar-07 20:44 
AnswerRe: i need name of the month Pin
Kunal P22-Mar-07 21:15
Kunal P22-Mar-07 21:15 
AnswerRe: i need name of the month Pin
Sandeep Akhare22-Mar-07 22:00
Sandeep Akhare22-Mar-07 22:00 
AnswerRe: i need name of the month Pin
joon vh.23-Mar-07 3:47
joon vh.23-Mar-07 3:47 
QuestionPositioning data from sql database on multiple pages Pin
Dragoslav Zaric22-Mar-07 20:30
Dragoslav Zaric22-Mar-07 20:30 
AnswerRe: Positioning data from sql database on multiple pages Pin
Naveed Kamboh26-Mar-07 4:40
Naveed Kamboh26-Mar-07 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.