Click here to Skip to main content
15,887,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: session is cleared Pin
JustWorking10-Feb-10 21:46
JustWorking10-Feb-10 21:46 
GeneralRe: session is cleared Pin
R22k10-Feb-10 21:54
R22k10-Feb-10 21:54 
AnswerRe: session is cleared Pin
joelle@scope10-Feb-10 22:38
joelle@scope10-Feb-10 22:38 
GeneralRe: session is cleared Pin
R22k10-Feb-10 23:54
R22k10-Feb-10 23:54 
GeneralRe: session is cleared Pin
joelle@scope10-Feb-10 23:57
joelle@scope10-Feb-10 23:57 
GeneralRe: session is cleared Pin
R22k10-Feb-10 23:59
R22k10-Feb-10 23:59 
QuestionHow to open excel in asp.net??? Pin
JC.KaNNaN10-Feb-10 21:07
JC.KaNNaN10-Feb-10 21:07 
AnswerRe: How to open excel in asp.net??? Pin
saini arun10-Feb-10 21:49
saini arun10-Feb-10 21:49 
You can read excel into a dataset and then can dispay it easily using grid view of whatever control you prefer.

int workSheetNumber = 0;

OleDbConnection ExcelConnection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + FilePathWithName + ";Extended Properties=Excel 8.0;");

                OleDbCommand ExcelCommand = new OleDbCommand();
                ExcelCommand.Connection = ExcelConnection;
                OleDbDataAdapter ExcelAdapter = new OleDbDataAdapter(ExcelCommand);

                ExcelConnection.Open();
                System.Data.DataTable ExcelSheets = ExcelConnection.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables, new object[] { null, null, null, "TABLE" });
                string SpreadSheetName = "[" + ExcelSheets.Rows[workSheetNumber]["TABLE_NAME"].ToString() + "]";

                DataSet ExcelDataSet = new DataSet();
                ExcelCommand.CommandText = @"SELECT * FROM " + SpreadSheetName;
                ExcelAdapter.Fill(ExcelDataSet);

QuestionI want to add, edit and delete data from table using gridview in Asp.net? Pin
mdrizwan_110-Feb-10 20:03
mdrizwan_110-Feb-10 20:03 
AnswerRe: I want to add, edit and delete data from table using gridview in Asp.net? Pin
i gr810-Feb-10 20:26
i gr810-Feb-10 20:26 
GeneralRe: I want to add, edit and delete data from table using gridview in Asp.net? Pin
mdrizwan_111-Feb-10 4:05
mdrizwan_111-Feb-10 4:05 
GeneralI need Help with FTP browser ! Pin
mgexpression10-Feb-10 20:01
mgexpression10-Feb-10 20:01 
Questionhow to use menu control using database... Pin
hi_everybody10-Feb-10 19:42
hi_everybody10-Feb-10 19:42 
QuestionModalPopupExtender confirmation not working in <asp:CommandFiel in grid view Pin
Vishnu Narayan Mishra10-Feb-10 18:59
Vishnu Narayan Mishra10-Feb-10 18:59 
QuestionHow to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 18:53
JC.KaNNaN10-Feb-10 18:53 
AnswerRe: How to refresh Parent particular griview? Pin
Gaurav Dudeja India10-Feb-10 18:56
Gaurav Dudeja India10-Feb-10 18:56 
GeneralRe: How to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 19:50
JC.KaNNaN10-Feb-10 19:50 
QuestionHow to assign the total value of a column to the footer? Pin
TeiUKei10-Feb-10 18:34
TeiUKei10-Feb-10 18:34 
AnswerRe: How to assign the total value of a column to the footer? Pin
Gaurav Dudeja India10-Feb-10 18:54
Gaurav Dudeja India10-Feb-10 18:54 
NewsGoogle API - graph Pin
Member 395625710-Feb-10 18:17
Member 395625710-Feb-10 18:17 
GeneralRe: Google API - graph Pin
nainakarri10-Feb-10 18:58
nainakarri10-Feb-10 18:58 
GeneralRe: Google API - graph Pin
Member 395625710-Feb-10 19:36
Member 395625710-Feb-10 19:36 
GeneralRe: Google API - graph Pin
Anurag Gandhi10-Feb-10 20:42
professionalAnurag Gandhi10-Feb-10 20:42 
QuestionFind How many Enter Key Press Pin
sjs4u10-Feb-10 17:55
sjs4u10-Feb-10 17:55 
AnswerRe: Find How many Enter Key Press Pin
Anurag Gandhi10-Feb-10 18:19
professionalAnurag Gandhi10-Feb-10 18:19 

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.