Click here to Skip to main content
15,892,965 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: vbs in c# web application Pin
Sandeep Singh Negi1-May-13 22:49
Sandeep Singh Negi1-May-13 22:49 
GeneralRe: vbs in c# web application Pin
jkirkerx2-May-13 7:21
professionaljkirkerx2-May-13 7:21 
QuestionVersioning MVC WebAPI Pin
Jeremy Hutchinson30-Apr-13 6:40
professionalJeremy Hutchinson30-Apr-13 6:40 
QuestionImage Comparison Pin
coder_ski30-Apr-13 4:27
coder_ski30-Apr-13 4:27 
AnswerRe: Image Comparison Pin
David Mujica30-Apr-13 5:07
David Mujica30-Apr-13 5:07 
QuestionMessage Closed Pin
30-Apr-13 0:21
Rajiv Kumar patel 201130-Apr-13 0:21 
QuestionRe: My Question Related to Technology Pin
Richard MacCutchan30-Apr-13 0:54
mveRichard MacCutchan30-Apr-13 0:54 
QuestionAccording to the order of the files in the directory database insert Pin
choisunny29-Apr-13 21:45
choisunny29-Apr-13 21:45 
Before (c# code)
string[] directory = Directory.GetFiles(@"C:\test");

foreach (string dir in directory)
{
FileStream fs = new FileStream(dir.ToString(), FileMode.Open, FileAccess.Read);
StreamReader reader = new StreamReader(fs, System.Text.Encoding.Default);

Response.Write(dir);

GV_Value = (reader.ReadToEnd());
Save();
reader.Close();
reader.Dispose();
}
(directory)
1.txt, 3.txt, 5.txt, 6.txt, 7.txt

(SQL INSERT Shape)
create table test
(
idx int identity(1,1),
file text null
)
idx file
1 1.txt
2 3.txt
3 5.txt
4 6.txt
5 7.txt
6 NULL
7 NULL


----------------------------------------------------------------------
after

(directory)
1.txt, 3.txt, 5.txt, 6.txt, 7.txt

idx file
1 1.txt
2 NULL
3 3.txt
4 NULL
5 5.txt
6 6.txt
7 7.txt

(How-to) questions
Questionupdate VS2010 to VS2010 SP1 Pin
Member 870181328-Apr-13 3:20
Member 870181328-Apr-13 3:20 
AnswerRe: update VS2010 to VS2010 SP1 Pin
jkirkerx28-Apr-13 15:54
professionaljkirkerx28-Apr-13 15:54 
GeneralRe: update VS2010 to VS2010 SP1 Pin
Member 870181329-Apr-13 21:24
Member 870181329-Apr-13 21:24 
GeneralRe: update VS2010 to VS2010 SP1 Pin
jkirkerx30-Apr-13 6:31
professionaljkirkerx30-Apr-13 6:31 
GeneralRe: update VS2010 to VS2010 SP1 Pin
ramrakshamishra1-May-13 21:10
ramrakshamishra1-May-13 21:10 
Questionto Cookie or not to Cookie? Pin
Jassim Rahma28-Apr-13 2:56
Jassim Rahma28-Apr-13 2:56 
AnswerRe: to Cookie or not to Cookie? Pin
Sunil Gupta(Gopalganj)30-Apr-13 1:20
Sunil Gupta(Gopalganj)30-Apr-13 1:20 
AnswerRe: to Cookie or not to Cookie? Pin
Bikash Prakash Dash8-May-13 4:46
Bikash Prakash Dash8-May-13 4:46 
Questiontextbox style change at runtime Pin
praveen iThesisArt27-Apr-13 21:22
praveen iThesisArt27-Apr-13 21:22 
AnswerRe: textbox style change at runtime Pin
Joezer BH27-Apr-13 23:02
professionalJoezer BH27-Apr-13 23:02 
AnswerRe: textbox style change at runtime Pin
gashkori30-Apr-13 2:36
gashkori30-Apr-13 2:36 
AnswerRe: textbox style change at runtime Pin
ramrakshamishra1-May-13 21:12
ramrakshamishra1-May-13 21:12 
AnswerRe: textbox style change at runtime Pin
Bikash Prakash Dash8-May-13 4:50
Bikash Prakash Dash8-May-13 4:50 
QuestionHOW TO Display a text when mouseover on datalist HELP Pin
Michael†Cheong27-Apr-13 6:10
Michael†Cheong27-Apr-13 6:10 
AnswerRe: HOW TO Display a text when mouseover on datalist HELP Pin
MaulikDusara28-Apr-13 21:18
MaulikDusara28-Apr-13 21:18 
AnswerRe: HOW TO Display a text when mouseover on datalist HELP Pin
Jasmine25011-May-13 8:21
Jasmine25011-May-13 8:21 
QuestionHow To Show Binary Image To ImageButton On PageLoad Pin
Member 965499626-Apr-13 20:15
Member 965499626-Apr-13 20:15 

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.