|
I want to design gridview inside another gridview with insert update and delete
I design database with tables are
1) tbl_Show(ShowID{P},ShowTime,Silver,Gold, Platinum,ShowTimeId) 2) tbl_STime(ShowTimeId{P},TheatreId,MovieId,FromDate,ToDate) 3) tbl_Theatre(TheatreId{P}, TName, Taddress)
I want to design same in asp.net C# like this visit http://www.codeproject.com/Articles/14293/Gridview-Inside-a-GridView-in-ASP-NET-2-0
|
|
|
|
|
Ok so what is stopping you, you have made lots of statements but have not asked a question. As you have already found an example of what you want why not try adapting that to your need?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
you have got your answer. just follow your given example and try to make your requirement. Don't worry
|
|
|
|
|
I am working on new project and i want to make a backup for my database and restore it again using c# but i don`t want to install SQL server on pc`s client.
So, i need to work on two points:
1- How to protect this database file ".mdf" with password.
2- Backup and Restore for this single file ".mdf"
Can any one help me?
NOTE: I DON`T WANT TO INSTALL SQL SERVER FULL Version, Just lite one to UNDERSTAND .mdf FILE
eng. Awad A. Bekhet
BSc. of Computer Engineering
Embedded Systems Engineer
htttp://about.me/AwadBekhet
modified 3-Aug-13 12:01pm.
|
|
|
|
|
for password protection you can use MEDIAPASSWORD option
e.g. backup database abc to disk='c:\abc.bak' with MEDIAPASSWORD='1234'
and for you other question have to check..
|
|
|
|
|
thanks for reply
but i am using smo class not sql query
|
|
|
|
|
|
Thanks
I had already did it, backup and restore, but there is must be a server (installed sql sever) , can i do this with no server....
|
|
|
|
|
I am curious how you are managing to use SQL Server without installing SQL Server?
|
|
|
|
|
I mean NO SQl SERVER MANAGEMENT STUDIO(FULL Version), off course, lite version will be installed to understand .mdf file
|
|
|
|
|
Make your mind up. Here you state it's just Management Studio you don't want to install, yet you state above that you don't want to install any Sql Server.
|
|
|
|
|
awad bekhet wrote: NOTE: I DON`T WANT TO INSTALL SQL SERVER You can't use Sql Server without installing it. Try Microsoft Access.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I mean NO SQl SERVER MANAGEMENT STUDIO(FULL Version), off course, lite version will be installed to understand .mdf file
|
|
|
|
|
There is no Sql Server Lite. Sql Server needs a full database-server to operate. SQLite is a different database-format altogether.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
That version which was been installed with visual studio, whats its name ? I mean it.
|
|
|
|
|
Awad Bekhet wrote: That version which was been installed with visual studio, whats its name Sql Server Express[^]; a free version of the server-software. It's limited to 4Gb, which is still a lot. Take note that a lot of installers can install this on your behalf.
Awad Bekhet wrote: I mean it. Are you sure? (Abort, Retry, Fail)?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
Hi, i need a solution for my datagridview to recognise html codes. It is a winform datagridview, not an asp one.
|
|
|
|
|
You're going to have to provide a bit more detail than that to get any kind of a useful answer. What do you mean by "recognize HTML code"??
|
|
|
|
|
Html tags are not being interpreted by datagridview. And tags appear in the datagridview.
|
|
|
|
|
Of course not, it's not an HTML control and doesn't understand HTML at all.
Frankly, you'd have to build your own HTML rendering engine to get the DGV to support HTML tags. NOT EASY!
Why do you want to do this? What's are the requirements driving this?
|
|
|
|
|
still now its not clear to me perfectly. Can you tell your requirement little bit more elaborately?
|
|
|
|
|
ok. the problem is that i have some data in my db. But they are in html format. So what control do you advise to show them in winform applications.(data depends on sql query.)
|
|
|
|
|
The only control that will render HTML is the WebBrowser control. You'll, of course, have to generate an HTML page with the data in it for the WebBrowser to render.
|
|
|
|
|
But in windows you cannot render html code. So you have to convert that code into a simple string to show the data in windows.
|
|
|
|