|
The only other way that I'm aware of to execute a query in ASP.NET is using the data source controls[^]. If you've built the CRUD operations using drag-and-drop in Visual Studio, that's almost certainly what you're using.
The data source controls will cover most basic scenarios, but once you run into their limitations, you'll need to start using ADO.NET or an ORM for data access.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
Although not needed, but you can very well use Kendo UI for such stuffs.
Better to look for Kendo UI forum for help.
Life is a computer program and everyone is the programmer of his own life.
|
|
|
|
|
Hello Experts,
Can anyone please help me in solving the problem I am having with Gridview.
Append row to Gridview is the Quick question . Please look that from Quick questions and help me
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
But you have reposted. That is highly frowned upon here. Look at the top of the page. Over 11M members and currently over 65K online. There are plenty of people that will see your question and if it is worded well, you'll get an answer quickly.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Please do not post messages asking people to read your question posted elsewhere. If someone knows the answer to your problem they will answer in their own time.
|
|
|
|
|
My apologies
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
My web application is deployed in US server. I have a start date field which is defaulted to current day. Is using date, time. Now to show the current date. But I want to display the client's machine date. How to achieve this. Any help would be appreciated.
|
|
|
|
|
Member 11353820 wrote: But I want to display the client's machine date. You'll need to use JavaScript to access the client's time.
See http://www.w3schools.com/jsref/jsref_obj_date.asp[^] for examples.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Ryan is correct.
I would like to add an extra point, I know it is out of topic.
Though you are displaying the start date from the local machine date/time (which is absolutely correct), you need to convert the date/time to a standard date/time(can be the server date/time or GMT) when you are storing the start date in your database. And when you retrieve this start date later to display, you will have to convert it back to the local machine time. This functionality is very important when you application is accessed across different time zones.
|
|
|
|
|
Swinkaran wrote: can be the server date/time or GMT No, datetimes should always be stored as absolute UTC values. That allows them to be rendered anywhere anytime as a correct local time.
|
|
|
|
|
5ed
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
|
Sorry, forgot to mention that this app is in mvc4.
|
|
|
|
|
Is it possible to create a table with one row having 8 td(s) second row having 12 td(s)?
I know about Bootstrap. But I have requirement where I should use only classic ASP.NET.
I know its silly question for all the experts in here. But it definitely helps people like me.
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
Sure. You'll need to use colspan="2" or something like that on some of the tds in the first row so that things will line up.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
can you elaborate it Ryan? or Can you provide any example for it.
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
|
That explains, thanks. It may be Simple. But I don't know anything in DotNet Learning new things everyday. And I thank all the experts who are helping me in understanding it. The links provided by you helps me. Thank you
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
sudevsu wrote: But I don't know anything in DotNet Not a problem. td is actually html and not .net.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
See I didn't even about that...
Yeah thanks for the correction
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
Ryan, If you find some time Please check the code which I pasted in the reply of this thread and help me out in alignments of controls with colspan option.
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
How do you need help? It's up to you how the table ends up looking. Refer back to the link I posted with the example, http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_td_colspan[^]. You could remove the colspan="2" on the last row but it just looks weird, to me at least. You are in control of how you want the 2 rows to look.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Well, If you look at the code I posted in the thread. there are couple of this that is bothering me. Vehicle Identification label and its Textbox are somehow not in place and Credit disallowed radio buttons scrap and return collect are just going out td. Rest all are in proper alignment. So I need help in arranging those properly. I tried multiple ways but nothing has worked for me and so I need expert help.
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
I would suggest removing the width on the tds and let them autosize, for starters at least, until you can get it lined up properly.
It's really hard to read in that format but you don't need expert help. This should be relatively simple since you just have 2 rows.
Think of an excel spreadsheet. if things are lining up just count how many tds there are and make them match however you want.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|