如何在Sql Database 2008 R2中插入数学和化学作用?在C#中 [英] How Do I Insert Mathematical And Chemestry Equetion In Sql Database 2008 R2? In C#
本文介绍了如何在Sql Database 2008 R2中插入数学和化学作用?在C#中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我开发了一个与asp.net相关的学校网站,所以我想在纸套中添加数学和化学公式那我该怎么办呢?
请帮帮我!!
Hello every one ,
I have develop one website which is about school related in asp.net, so i want to add mathematical and chemistry formula in paper set so how can i do it?
please help me !!
推荐答案
你好,
您的问题分为两部分,首先将数据存储在SQL服务器中,然后再将其表示在网页中。
1)存储数据。
您可以使用LaTeX表达式,它们是将数学表达式格式化为字符串的一种方法。您需要做的就是将字符串字段中的LaText表达式存储在SQL服务器中。
http://en.wikipedia.org/wiki/LaTeX [ ^ ]
例如,这就是你如何表示Lorenz方程:
Hello,
There are two parts in your question, first storing the data in SQL server, secondly representing it in a web page.
1) storing the data.
You could use LaTeX expressions, they are a way to format mathematical expression as strings. All you need to do is to store the LaText expression in SQL server in a string field.
http://en.wikipedia.org/wiki/LaTeX[^]
For example this is how you represent the Lorenz equations:
\begin{aligned}
\dot{x} & = \sigma(y-x) \\
\dot{y} & = \rho x - y - xz \\
\dot{z} & = -\beta z + xy
\end{aligned}
你会发现大量的LaText文献网页。
2)在网页上显示等式。
显示等式使用名为MathJax的javaScript产品,它使用起来非常简单并且理解Latext语法。
http://www.mathjax.org/ [ ^ ]
Valery
You will find plenty of LaText literature on the web.
2) displaying an equation on a web page.
To display an equation you could use a javaScript product called MathJax, it is very simple to use and understands Latext syntax.
http://www.mathjax.org/[^]
Valery
这篇关于如何在Sql Database 2008 R2中插入数学和化学作用?在C#中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文