dummy data
-
hai every body !!! i got a small doubt . how can i insert dummy data into gridview manually not bind from database.
try and try untill reach success..
-
hai every body !!! i got a small doubt . how can i insert dummy data into gridview manually not bind from database.
try and try untill reach success..
With code. Why do you want to do that ? Any collection is a valid data source for a grid view.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
With code. Why do you want to do that ? Any collection is a valid data source for a grid view.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Actually i m doing designing part i need to show my form with data to my boss
try and try untill reach success..
-
Actually i m doing designing part i need to show my form with data to my boss
try and try untill reach success..
Your best bet is to put dummy data in your DB, so you can show him the actual working code, not write code just for the sake of showing him a demo
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Your best bet is to put dummy data in your DB, so you can show him the actual working code, not write code just for the sake of showing him a demo
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
the thing is i m not creating my db at this moment .. just i need look and field ..
try and try untill reach success..
-
the thing is i m not creating my db at this moment .. just i need look and field ..
try and try untill reach success..
Then create a struct, and a list of that struct, and bind to that
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Then create a struct, and a list of that struct, and bind to that
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
ok thanks. dude.
try and try untill reach success..
-
ok thanks. dude.
try and try untill reach success..
Actually the thing is . ineed dummy data bcos of i took one gridview and i declare boundfield names and i put autogenerationcolunm =False , so when i m going compile in browser the gridview not showns rest of thiing ll be appears.
try and try untill reach success..
-
Actually the thing is . ineed dummy data bcos of i took one gridview and i declare boundfield names and i put autogenerationcolunm =False , so when i m going compile in browser the gridview not showns rest of thiing ll be appears.
try and try untill reach success..
Add BoundFields on GridView.
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com
-
Actually the thing is . ineed dummy data bcos of i took one gridview and i declare boundfield names and i put autogenerationcolunm =False , so when i m going compile in browser the gridview not showns rest of thiing ll be appears.
try and try untill reach success..
Create DataTable with rows and Column in code behind. then Bind it to GridView.
-
Then create a struct, and a list of that struct, and bind to that
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
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