473,396 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

one Question from all dot net programmers

if anybody will help me, its a great help,

The datagridview column types allow only
textbox,Combobox,checkbox,button,linkbutton and image button.
but
i want adding DateTimeColumn into my datagridview,
i am using vb.net 2005

thanks in advance
uuurrrgggeeennnttt.
Sep 7 '07 #1
9 1116
*edit
I should have asked first
Win App or Web App?


if your only viewing it in the grid, this is what you would use.

Expand|Select|Wrap|Line Numbers
  1. <asp:BoundField DataField="YourColumnHere" HeaderText="Listed Date" DataFormatString="{0:M-dd-yyyy}" HtmlEncode="False" />
You can also insert other controls into the gridview

<Columns>
<asp:TemplateField>
<ItemTemplate>

</ItemTemplate>
</asp:TemplateField>
</Columns>
Sep 7 '07 #2
if anybody will help me, its a great help,

The datagridview column types allow only
textbox,Combobox,checkbox,button,linkbutton and image button.
but
i want adding DateTimeColumn into my datagridview,
i am using vb.net 2005

thanks in advance
uuurrrgggeeennnttt.
Since Data grid follows a restrict format you cant add this control to datagrid view.
Try making custom control for this purpose.
Sep 8 '07 #3
thanks for your reply,
but actually i am using windows application,
So i want any Custom control for add the datetimecolumn into my datagridview. because i am not familiar with creating custom control ,,
if u give any custom control(user developed control), it will help a big,,
thanks in advance

*edit
I should have asked first
Win App or Web App?


if your only viewing it in the grid, this is what you would use.

Expand|Select|Wrap|Line Numbers
  1. <asp:BoundField DataField="YourColumnHere" HeaderText="Listed Date" DataFormatString="{0:M-dd-yyyy}" HtmlEncode="False" />
You can also insert other controls into the gridview

<Columns>
<asp:TemplateField>
<ItemTemplate>

</ItemTemplate>
</asp:TemplateField>
</Columns>
Sep 10 '07 #4
thanks for your reply,
but actually i am using windows application,
So i want any Custom control for add the datetimecolumn into my datagridview. because i am not familiar with creating custom control ,,
if u give any custom control(user developed control), it will help a big,,
thanks in advance




Since Data grid follows a restrict format you cant add this control to datagrid view.
Try making custom control for this purpose.
Sep 10 '07 #5
parthi
1
i want To Read the data in particular TAG in XML and i bind the same to my datagrid, actually iam using asp.net with vb coding.
i am not familiar with XML
your answer is to make a big help

thanks in advance
Sep 10 '07 #6
Check the below link it will help you
http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx
Sep 11 '07 #7
Check the below link it will help you
http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx

Dear vishwanathan

thanks for your help,
the website you given is very useful one.
it will help a big to me.
more and more thankkkkkkkks for u
Sep 15 '07 #8
i am using vb.net 2005
i have one datagridview in my form. it has some columns like

EmployeeId, EmployeeName,BasicSalary,Allowences,TotalAmount.

my problem is the above said datagridview columns realigned automatically, like

(EmployeeName,TotalAmount,Allowences,EmployeeId,Ba sicSalary.)

at design time and also run time.
this problem occur in other forms in my project also.

What is the Problem Here?
How to Solve this?
Sep 20 '07 #9
Hello Friends,

I have used in XML and ASP.NET. i can read and write data from XML Files through ASP.Net. it worked on Localhost. but i cannot worked in server. In Server side it readed but it cannot write in server side.

Its very urgent.

regards,
Prabhu
Oct 5 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
253
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
22
by: Cylix | last post by:
I have a 4row x 1col table, I would like to drop all the content of row three. Since Mac IE5.2 does not suppport deleteRow method, I have also try to set the innerHTML=''; but it does not work. ...
11
by: Mark Braswell | last post by:
Hello, I would like to hear people's thoughts and opinions on the best way for a VB.NET developer to move into C#. This is specifically from a job perspective, and specifically from a UK based...
11
by: Mark Braswell | last post by:
Hello, I would like to hear people's thoughts and opinions on the best way for a VB.NET developer to move into C#. This is specifically from a job perspective, and specifically from a UK based...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.