Click here to Skip to main content
15,901,205 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: dummy data Pin
Christian Graus5-Aug-09 1:08
protectorChristian Graus5-Aug-09 1:08 
GeneralRe: dummy data Pin
Rajeshwar Code- Developer5-Aug-09 1:12
Rajeshwar Code- Developer5-Aug-09 1:12 
GeneralRe: dummy data Pin
Christian Graus5-Aug-09 1:16
protectorChristian Graus5-Aug-09 1:16 
GeneralRe: dummy data Pin
Rajeshwar Code- Developer5-Aug-09 1:17
Rajeshwar Code- Developer5-Aug-09 1:17 
GeneralRe: dummy data Pin
Rajeshwar Code- Developer5-Aug-09 1:47
Rajeshwar Code- Developer5-Aug-09 1:47 
GeneralRe: dummy data Pin
Blue_Boy5-Aug-09 1:49
Blue_Boy5-Aug-09 1:49 
GeneralRe: dummy data Pin
Zafar A khan 5-Aug-09 1:54
professionalZafar A khan 5-Aug-09 1:54 
GeneralRe: dummy data [modified] Pin
Oakman5-Aug-09 4:48
Oakman5-Aug-09 4:48 
Christian Graus wrote:
Then create a struct, and a list of that struct, and bind to that


I would've used an xml doc. Not because it's better than your solution, but just because it's the way I think.

' mypath is derived from something like Server.MapPath("App_Data\XMLFile1.xml")

Public Function GetXMLTable(ByVal mypath As String) As DataTable

        Dim myDS As DataSet = New DataSet()
        Try
            myDS.ReadXml(mypath)

        Catch ex As Exception
            dim exc as Exception = new Exception("Cannot read file " + mypath + " in GetXMLTable. " + ex.Message)  
            Throw exc
        End Try

        Return myDS.Tables(0)
   
 End Function


Jon

"One loves to possess arms, though they hope never to have occasion for them." --Thomas Jefferson to George Washington, 1796.

Soap Box 1.0: the first, the original, reborn troll-less

modified on Wednesday, August 5, 2009 11:00 AM

QuestionSystem.Net.Mail Help Pin
mdazeemuddin5-Aug-09 0:59
mdazeemuddin5-Aug-09 0:59 
AnswerRe: System.Net.Mail Help Pin
Christian Graus5-Aug-09 1:06
protectorChristian Graus5-Aug-09 1:06 
GeneralRe: System.Net.Mail Help Pin
mdazeemuddin5-Aug-09 1:20
mdazeemuddin5-Aug-09 1:20 
QuestionJS Date Validation Pin
janani134-Aug-09 23:32
janani134-Aug-09 23:32 
AnswerRe: JS Date Validation Pin
Jay Royall4-Aug-09 23:39
Jay Royall4-Aug-09 23:39 
AnswerRe: JS Date Validation Pin
Arun Jacob4-Aug-09 23:42
Arun Jacob4-Aug-09 23:42 
QuestionHow to determine whether a session is running on worker process or not? Pin
Raheem MA4-Aug-09 23:06
Raheem MA4-Aug-09 23:06 
AnswerRe: How to determine whether a session is running on worker process or not? Pin
Christian Graus4-Aug-09 23:18
protectorChristian Graus4-Aug-09 23:18 
GeneralRe: How to determine whether a session is running on worker process or not? Pin
Raheem MA5-Aug-09 0:00
Raheem MA5-Aug-09 0:00 
GeneralRe: How to determine whether a session is running on worker process or not? Pin
Christian Graus5-Aug-09 0:16
protectorChristian Graus5-Aug-09 0:16 
AnswerRe: How to determine whether a session is running on worker process or not? Pin
333soori4-Aug-09 23:31
333soori4-Aug-09 23:31 
GeneralRe: How to determine whether a session is running on worker process or not? Pin
Christian Graus4-Aug-09 23:32
protectorChristian Graus4-Aug-09 23:32 
Questionhow to add progress bar control in asp.net and C# Pin
Saif-ur-Rehman Tanoli4-Aug-09 22:41
Saif-ur-Rehman Tanoli4-Aug-09 22:41 
AnswerRe: how to add progress bar control in asp.net Pin
Arun Jacob4-Aug-09 22:47
Arun Jacob4-Aug-09 22:47 
QuestionConnecting gridview from different table Pin
Srikanth19874-Aug-09 22:40
Srikanth19874-Aug-09 22:40 
AnswerRe: Connecting gridview from different table Pin
Arun Jacob4-Aug-09 22:58
Arun Jacob4-Aug-09 22:58 
AnswerRe: Connecting gridview from different table Pin
Saif-ur-Rehman Tanoli4-Aug-09 23:05
Saif-ur-Rehman Tanoli4-Aug-09 23:05 

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.